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