docs: def markCurrentChanged(self):
          """
          Marks that the current widget has changed.
          """
          view = self.currentView()
          if view:
              view.setCurrent()
              self.setFocus()
              view.setFocus()
              self._hintLabel.hide()
          else:
              self._hintLabel.show()
              self._hintLabel.setText(self.hint())
  
          if not self.count():
              self.tabBar().clear()
  
          self.adjustSizeConstraint()