Added the forgotten "setCurrentWidget" slot to the debug viewer. 5_0_x

Fri, 07 Jan 2011 10:02:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 07 Jan 2011 10:02:23 +0100
branch
5_0_x
changeset 822
6a90548b35b1
parent 820
3336024d064a
child 823
64fa9ab70ddd

Added the forgotten "setCurrentWidget" slot to the debug viewer.

APIs/Python3/eric5.api file | annotate | diff | comparison | revisions
Debugger/DebugViewer.py file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.Debugger.DebugViewer.html file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric5.api	Thu Jan 06 19:47:21 2011 +0100
+++ b/APIs/Python3/eric5.api	Fri Jan 07 10:02:23 2011 +0100
@@ -697,6 +697,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:47:21 2011 +0100
+++ b/Debugger/DebugViewer.py	Fri Jan 07 10:02:23 2011 +0100
@@ -395,6 +395,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.
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Thu Jan 06 19:47:21 2011 +0100
+++ b/Documentation/Help/source.qhp	Fri Jan 07 10:02:23 2011 +0100
@@ -2343,6 +2343,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:47:21 2011 +0100
+++ b/Documentation/Source/eric5.Debugger.DebugViewer.html	Fri Jan 07 10:02:23 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>

eric ide

mercurial