code: def set_elapsed_time_visible(self, state):
          
          self.show_elapsed_time = state
          if self.time_label is not None:
              self.time_label.setVisible(state)
docs: Slot to show/hide elapsed time label.