1463 """<b>Activate Debug-Viewer</b>""" |
1463 """<b>Activate Debug-Viewer</b>""" |
1464 """<p>This switches the input focus to the Debug-Viewer""" |
1464 """<p>This switches the input focus to the Debug-Viewer""" |
1465 """ window.</p>""" |
1465 """ window.</p>""" |
1466 )) |
1466 )) |
1467 self.debugViewerActivateAct.triggered.connect( |
1467 self.debugViewerActivateAct.triggered.connect( |
1468 self.__activateDebugViewer) |
1468 self.activateDebugViewer) |
1469 self.actions.append(self.debugViewerActivateAct) |
1469 self.actions.append(self.debugViewerActivateAct) |
1470 self.addAction(self.debugViewerActivateAct) |
1470 self.addAction(self.debugViewerActivateAct) |
1471 |
1471 |
1472 self.shellActivateAct = E5Action( |
1472 self.shellActivateAct = E5Action( |
1473 self.tr('Shell'), |
1473 self.tr('Shell'), |
3957 self.leftSidebar.setCurrentWidget(self.multiProjectBrowser) |
3957 self.leftSidebar.setCurrentWidget(self.multiProjectBrowser) |
3958 else: |
3958 else: |
3959 self.multiProjectBrowser.show() |
3959 self.multiProjectBrowser.show() |
3960 self.multiProjectBrowser.setFocus(Qt.ActiveWindowFocusReason) |
3960 self.multiProjectBrowser.setFocus(Qt.ActiveWindowFocusReason) |
3961 |
3961 |
3962 def __activateDebugViewer(self): |
3962 def activateDebugViewer(self): |
3963 """ |
3963 """ |
3964 Private slot to handle the activation of the debug viewer. |
3964 Public slot to handle the activation of the debug viewer. |
3965 """ |
3965 """ |
3966 if self.layoutType == "Toolboxes": |
3966 if self.layoutType == "Toolboxes": |
3967 self.rToolboxDock.show() |
3967 self.rToolboxDock.show() |
3968 self.rToolbox.setCurrentWidget(self.debugViewer) |
3968 self.rToolbox.setCurrentWidget(self.debugViewer) |
3969 elif self.layoutType == "Sidebars": |
3969 elif self.layoutType == "Sidebars": |