code: def setVisible(self, value):
          
          if self.timer is not None:
              if value:
                  self.timer.start(self._interval)
              else:
                  self.timer.stop()
          super(BaseTimerStatus, self).setVisible(value)
docs: Override Qt method to stops timers if widget is not visible.