--- a/Debugger/DebugViewer.py Thu Jan 06 19:46:18 2011 +0100 +++ b/Debugger/DebugViewer.py Fri Jan 07 10:01:24 2011 +0100 @@ -388,6 +388,14 @@ """ return self.__tabWidget.currentWidget() + def setCurrentWidget(self, widget): + """ + Public slot to set the current page based on the given widget. + + @param widget reference to the widget (QWidget) + """ + self.__tabWidget.setCurrentWidget(widget) + def showThreadList(self, currentID, threadList): """ Public method to show the thread list. @@ -425,4 +433,4 @@ """ if current is not None and self.__doThreadListUpdate: tid = int(current.text(0)) - self.debugServer.remoteSetThread(tid) \ No newline at end of file + self.debugServer.remoteSetThread(tid)