3872 self.cooperation.show() |
3872 self.cooperation.show() |
3873 self.cooperation.setFocus(Qt.ActiveWindowFocusReason) |
3873 self.cooperation.setFocus(Qt.ActiveWindowFocusReason) |
3874 |
3874 |
3875 def __activateIRC(self): |
3875 def __activateIRC(self): |
3876 """ |
3876 """ |
3877 Public slot to handle the activation of the IRC window. |
3877 Private slot to handle the activation of the IRC window. |
3878 """ |
3878 """ |
3879 if self.layout == "Toolboxes": |
3879 if self.layout == "Toolboxes": |
3880 self.rToolboxDock.show() |
3880 self.rToolboxDock.show() |
3881 self.rToolbox.setCurrentWidget(self.irc) |
3881 self.rToolbox.setCurrentWidget(self.irc) |
3882 elif self.layout == "Sidebars": |
3882 elif self.layout == "Sidebars": |
5717 ## Below are methods needed for shutting down the IDE |
5717 ## Below are methods needed for shutting down the IDE |
5718 ########################################################## |
5718 ########################################################## |
5719 |
5719 |
5720 def closeEvent(self, event): |
5720 def closeEvent(self, event): |
5721 """ |
5721 """ |
5722 Private event handler for the close event. |
5722 Protected event handler for the close event. |
5723 |
5723 |
5724 This event handler saves the preferences. |
5724 This event handler saves the preferences. |
5725 |
5725 |
5726 @param event close event (QCloseEvent) |
5726 @param event close event (QCloseEvent) |
5727 """ |
5727 """ |