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) |