E5Gui/E5SideBar.py

changeset 2114
c07f0cb40b18
parent 2095
5bf2d8a73173
child 2302
f29e9405c851
equal deleted inserted replaced
2110:eff6b085ea89 2114:c07f0cb40b18
592 592
593 @param event reference to the event (QEvent) 593 @param event reference to the event (QEvent)
594 """ 594 """
595 if self.__autoHide and not self.__hasFocus and not self.isMinimized(): 595 if self.__autoHide and not self.__hasFocus and not self.isMinimized():
596 self.shrink() 596 self.shrink()
597
598 def shutdown(self):
599 """
600 Public method to shut down the object.
601
602 This method does some preparations so the object can be deleted properly.
603 It disconnects from the focusChanged signal in order to avoid trouble later
604 on.
605 """
606 e5App().focusChanged[QWidget, QWidget].disconnect(self.__appFocusChanged)

eric ide

mercurial