--- a/Debugger/DebugViewer.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Debugger/DebugViewer.py Fri Nov 01 15:48:48 2013 +0100 @@ -85,7 +85,8 @@ # add the interpreter shell self.shellAssembly = ShellAssembly(debugServer, vm, False) self.shell = self.shellAssembly.shell() - index = self.__tabWidget.addTab(self.shellAssembly, + index = self.__tabWidget.addTab( + self.shellAssembly, UI.PixmapCache.getIcon("shell.png"), '') self.__tabWidget.setTabToolTip(index, self.shell.windowTitle()) @@ -94,7 +95,8 @@ from UI.Browser import Browser # add the browser self.browser = Browser() - index = self.__tabWidget.addTab(self.browser, + index = self.__tabWidget.addTab( + self.browser, UI.PixmapCache.getIcon("browser.png"), '') self.__tabWidget.setTabToolTip(index, self.browser.windowTitle()) @@ -130,7 +132,8 @@ self.glvWidgetHLayout.addWidget(self.setGlobalsFilterButton) self.glvWidgetVLayout.addLayout(self.glvWidgetHLayout) - index = self.__tabWidget.addTab(self.glvWidget, + index = self.__tabWidget.addTab( + self.glvWidget, UI.PixmapCache.getIcon("globalVariables.png"), '') self.__tabWidget.setTabToolTip(index, self.globalsViewer.windowTitle()) @@ -183,7 +186,8 @@ self.lvWidgetHLayout2.addWidget(self.setLocalsFilterButton) self.lvWidgetVLayout.addLayout(self.lvWidgetHLayout2) - index = self.__tabWidget.addTab(self.lvWidget, + index = self.__tabWidget.addTab( + self.lvWidget, UI.PixmapCache.getIcon("localVariables.png"), '') self.__tabWidget.setTabToolTip(index, self.localsViewer.windowTitle()) @@ -196,7 +200,8 @@ from .CallStackViewer import CallStackViewer # add the call stack viewer self.callStackViewer = CallStackViewer(self.debugServer) - index = self.__tabWidget.addTab(self.callStackViewer, + index = self.__tabWidget.addTab( + self.callStackViewer, UI.PixmapCache.getIcon("step.png"), "") self.__tabWidget.setTabToolTip( index, self.callStackViewer.windowTitle()) @@ -207,7 +212,8 @@ from .CallTraceViewer import CallTraceViewer # add the call trace viewer self.callTraceViewer = CallTraceViewer(self.debugServer) - index = self.__tabWidget.addTab(self.callTraceViewer, + index = self.__tabWidget.addTab( + self.callTraceViewer, UI.PixmapCache.getIcon("callTrace.png"), "") self.__tabWidget.setTabToolTip( index, self.callTraceViewer.windowTitle()) @@ -217,7 +223,8 @@ # add the breakpoint viewer self.breakpointViewer = BreakPointViewer() self.breakpointViewer.setModel(self.debugServer.getBreakPointModel()) - index = self.__tabWidget.addTab(self.breakpointViewer, + index = self.__tabWidget.addTab( + self.breakpointViewer, UI.PixmapCache.getIcon("breakpoints.png"), '') self.__tabWidget.setTabToolTip( index, self.breakpointViewer.windowTitle()) @@ -227,7 +234,8 @@ # add the watch expression viewer self.watchpointViewer = WatchPointViewer() self.watchpointViewer.setModel(self.debugServer.getWatchPointModel()) - index = self.__tabWidget.addTab(self.watchpointViewer, + index = self.__tabWidget.addTab( + self.watchpointViewer, UI.PixmapCache.getIcon("watchpoints.png"), '') self.__tabWidget.setTabToolTip( index, self.watchpointViewer.windowTitle()) @@ -235,7 +243,8 @@ from .ExceptionLogger import ExceptionLogger # add the exception logger self.exceptionLogger = ExceptionLogger() - index = self.__tabWidget.addTab(self.exceptionLogger, + index = self.__tabWidget.addTab( + self.exceptionLogger, UI.PixmapCache.getIcon("exceptions.png"), '') self.__tabWidget.setTabToolTip( index, self.exceptionLogger.windowTitle())