Fri, 07 Jan 2011 10:01:24 +0100
Added the forgotten "setCurrentWidget" slot to the debug viewer.
--- a/APIs/Python3/eric5.api Thu Jan 06 19:46:18 2011 +0100 +++ b/APIs/Python3/eric5.api Fri Jan 07 10:01:24 2011 +0100 @@ -738,6 +738,7 @@ eric5.Debugger.DebugViewer.DebugViewer.handleResetUI?4() eric5.Debugger.DebugViewer.DebugViewer.restoreCurrentPage?4() eric5.Debugger.DebugViewer.DebugViewer.saveCurrentPage?4() +eric5.Debugger.DebugViewer.DebugViewer.setCurrentWidget?4(widget) eric5.Debugger.DebugViewer.DebugViewer.setDebugger?4(debugUI) eric5.Debugger.DebugViewer.DebugViewer.setVariablesFilter?4(globalsFilter, localsFilter) eric5.Debugger.DebugViewer.DebugViewer.showThreadList?4(currentID, threadList)
--- 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)
--- a/Documentation/Help/source.qhp Thu Jan 06 19:46:18 2011 +0100 +++ b/Documentation/Help/source.qhp Fri Jan 07 10:01:24 2011 +0100 @@ -2209,6 +2209,7 @@ <keyword name="DebugViewer.handleResetUI" id="DebugViewer.handleResetUI" ref="eric5.Debugger.DebugViewer.html#DebugViewer.handleResetUI" /> <keyword name="DebugViewer.restoreCurrentPage" id="DebugViewer.restoreCurrentPage" ref="eric5.Debugger.DebugViewer.html#DebugViewer.restoreCurrentPage" /> <keyword name="DebugViewer.saveCurrentPage" id="DebugViewer.saveCurrentPage" ref="eric5.Debugger.DebugViewer.html#DebugViewer.saveCurrentPage" /> + <keyword name="DebugViewer.setCurrentWidget" id="DebugViewer.setCurrentWidget" ref="eric5.Debugger.DebugViewer.html#DebugViewer.setCurrentWidget" /> <keyword name="DebugViewer.setDebugger" id="DebugViewer.setDebugger" ref="eric5.Debugger.DebugViewer.html#DebugViewer.setDebugger" /> <keyword name="DebugViewer.setVariablesFilter" id="DebugViewer.setVariablesFilter" ref="eric5.Debugger.DebugViewer.html#DebugViewer.setVariablesFilter" /> <keyword name="DebugViewer.showThreadList" id="DebugViewer.showThreadList" ref="eric5.Debugger.DebugViewer.html#DebugViewer.showThreadList" />
--- a/Documentation/Source/eric5.Debugger.DebugViewer.html Thu Jan 06 19:46:18 2011 +0100 +++ b/Documentation/Source/eric5.Debugger.DebugViewer.html Fri Jan 07 10:01:24 2011 +0100 @@ -116,6 +116,9 @@ <td><a href="#DebugViewer.saveCurrentPage">saveCurrentPage</a></td> <td>Public slot to save the current page.</td> </tr><tr> +<td><a href="#DebugViewer.setCurrentWidget">setCurrentWidget</a></td> +<td>Public slot to set the current page based on the given widget.</td> +</tr><tr> <td><a href="#DebugViewer.setDebugger">setDebugger</a></td> <td>Public method to set a reference to the Debug UI.</td> </tr><tr> @@ -245,7 +248,17 @@ <b>saveCurrentPage</b>(<i></i>) <p> Public slot to save the current page. -</p><a NAME="DebugViewer.setDebugger" ID="DebugViewer.setDebugger"></a> +</p><a NAME="DebugViewer.setCurrentWidget" ID="DebugViewer.setCurrentWidget"></a> +<h4>DebugViewer.setCurrentWidget</h4> +<b>setCurrentWidget</b>(<i>widget</i>) +<p> + Public slot to set the current page based on the given widget. +</p><dl> +<dt><i>widget</i></dt> +<dd> +reference to the widget (QWidget) +</dd> +</dl><a NAME="DebugViewer.setDebugger" ID="DebugViewer.setDebugger"></a> <h4>DebugViewer.setDebugger</h4> <b>setDebugger</b>(<i>debugUI</i>) <p>