253 self.__tabWidget.setCurrentWidget(self.shellAssembly) |
253 self.__tabWidget.setCurrentWidget(self.shellAssembly) |
254 else: |
254 else: |
255 if self.embeddedBrowser: |
255 if self.embeddedBrowser: |
256 self.__tabWidget.setCurrentWidget(self.browser) |
256 self.__tabWidget.setCurrentWidget(self.browser) |
257 else: |
257 else: |
258 self.__tabWidget.setCurrentWidget(self.lvWidget) |
258 self.__tabWidget.setCurrentWidget(self.glvWidget) |
259 |
259 |
260 # add the threads viewer |
260 # add the threads viewer |
261 self.__mainLayout.addWidget(QLabel(self.tr("Threads:"))) |
261 self.__mainLayout.addWidget(QLabel(self.tr("Threads:"))) |
262 self.__threadList = QTreeWidget() |
262 self.__threadList = QTreeWidget() |
263 self.__threadList.setHeaderLabels( |
263 self.__threadList.setHeaderLabels( |
303 """ |
303 """ |
304 Public method to reset the SBVviewer. |
304 Public method to reset the SBVviewer. |
305 """ |
305 """ |
306 self.globalsViewer.handleResetUI() |
306 self.globalsViewer.handleResetUI() |
307 self.localsViewer.handleResetUI() |
307 self.localsViewer.handleResetUI() |
|
308 self.__setGlobalsFilter() |
|
309 self.__setLocalsFilter() |
308 self.sourceButton.setEnabled(False) |
310 self.sourceButton.setEnabled(False) |
309 self.currentStack = None |
311 self.currentStack = None |
310 self.stackComboBox.clear() |
312 self.stackComboBox.clear() |
311 self.__threadList.clear() |
313 self.__threadList.clear() |
312 if self.embeddedShell: |
314 if self.embeddedShell: |
313 self.__tabWidget.setCurrentWidget(self.shellAssembly) |
315 self.__tabWidget.setCurrentWidget(self.shellAssembly) |
314 else: |
316 else: |
315 if self.embeddedBrowser: |
317 if self.embeddedBrowser: |
316 self.__tabWidget.setCurrentWidget(self.browser) |
318 self.__tabWidget.setCurrentWidget(self.browser) |
317 else: |
319 else: |
318 self.__tabWidget.setCurrentWidget(self.lvWidget) |
320 self.__tabWidget.setCurrentWidget(self.glvWidget) |
319 self.breakpointViewer.handleResetUI() |
321 self.breakpointViewer.handleResetUI() |
320 |
322 |
321 def handleRawInput(self): |
323 def handleRawInput(self): |
322 """ |
324 """ |
323 Public slot to handle the switch to the shell in raw input mode. |
325 Public slot to handle the switch to the shell in raw input mode. |
463 """ |
465 """ |
464 Private slot to set the global variable filter. |
466 Private slot to set the global variable filter. |
465 """ |
467 """ |
466 filter = self.globalsFilterEdit.text() |
468 filter = self.globalsFilterEdit.text() |
467 self.debugServer.remoteClientSetFilter(1, filter) |
469 self.debugServer.remoteClientSetFilter(1, filter) |
468 if self.currentStack: |
470 self.debugServer.remoteClientVariables(2, self.globalsFilter) |
469 self.debugServer.remoteClientVariables(2, self.globalsFilter) |
|
470 |
471 |
471 def __setLocalsFilter(self): |
472 def __setLocalsFilter(self): |
472 """ |
473 """ |
473 Private slot to set the local variable filter. |
474 Private slot to set the local variable filter. |
474 """ |
475 """ |