Fixed an issue in the new widget scroller.

Sat, 26 Jan 2013 14:53:59 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Jan 2013 14:53:59 +0100
changeset 2375
22e547cab2da
parent 2371
72e2f353f34b
child 2376
a0409e65bd81

Fixed an issue in the new widget scroller.

APIs/Python3/eric5.api 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.QScintilla.SearchReplaceWidget.html file | annotate | diff | comparison | revisions
Documentation/Source/index-eric5.html file | annotate | diff | comparison | revisions
Documentation/Source/index.html file | annotate | diff | comparison | revisions
QScintilla/SearchReplaceWidget.py file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric5.api	Sat Jan 26 12:41:53 2013 +0100
+++ b/APIs/Python3/eric5.api	Sat Jan 26 14:53:59 2013 +0100
@@ -7002,6 +7002,7 @@
 eric5.QScintilla.QsciScintillaCompat.QsciScintillaCompat?1(parent=None)
 eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.findNext?4()
 eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.findPrev?4()
+eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.resizeEvent?4(evt)
 eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.searchListChanged?7
 eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.selectionChanged?4()
 eric5.QScintilla.SearchReplaceWidget.SearchReplaceSlidingWidget.show?4(text='')
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Sat Jan 26 12:41:53 2013 +0100
+++ b/Documentation/Help/source.qhp	Sat Jan 26 14:53:59 2013 +0100
@@ -9141,6 +9141,7 @@
       <keyword name="SearchReplaceSlidingWidget.__slideRight" id="SearchReplaceSlidingWidget.__slideRight" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.__slideRight" />
       <keyword name="SearchReplaceSlidingWidget.findNext" id="SearchReplaceSlidingWidget.findNext" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.findNext" />
       <keyword name="SearchReplaceSlidingWidget.findPrev" id="SearchReplaceSlidingWidget.findPrev" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.findPrev" />
+      <keyword name="SearchReplaceSlidingWidget.resizeEvent" id="SearchReplaceSlidingWidget.resizeEvent" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.resizeEvent" />
       <keyword name="SearchReplaceSlidingWidget.selectionChanged" id="SearchReplaceSlidingWidget.selectionChanged" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.selectionChanged" />
       <keyword name="SearchReplaceSlidingWidget.show" id="SearchReplaceSlidingWidget.show" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.show" />
       <keyword name="SearchReplaceSlidingWidget.updateSelectionCheckBox" id="SearchReplaceSlidingWidget.updateSelectionCheckBox" ref="eric5.QScintilla.SearchReplaceWidget.html#SearchReplaceSlidingWidget.updateSelectionCheckBox" />
--- a/Documentation/Source/eric5.QScintilla.SearchReplaceWidget.html	Sat Jan 26 12:41:53 2013 +0100
+++ b/Documentation/Source/eric5.QScintilla.SearchReplaceWidget.html	Sat Jan 26 14:53:59 2013 +0100
@@ -87,6 +87,9 @@
 <td><a href="#SearchReplaceSlidingWidget.findPrev">findPrev</a></td>
 <td>Public slot to find the next previous of text.</td>
 </tr><tr>
+<td><a href="#SearchReplaceSlidingWidget.resizeEvent">resizeEvent</a></td>
+<td>Protected method to handle resize events.</td>
+</tr><tr>
 <td><a href="#SearchReplaceSlidingWidget.selectionChanged">selectionChanged</a></td>
 <td>Public slot tracking changes of selected text.</td>
 </tr><tr>
@@ -152,7 +155,17 @@
 <b>findPrev</b>(<i></i>)
 <p>
         Public slot to find the next previous of text.
-</p><a NAME="SearchReplaceSlidingWidget.selectionChanged" ID="SearchReplaceSlidingWidget.selectionChanged"></a>
+</p><a NAME="SearchReplaceSlidingWidget.resizeEvent" ID="SearchReplaceSlidingWidget.resizeEvent"></a>
+<h4>SearchReplaceSlidingWidget.resizeEvent</h4>
+<b>resizeEvent</b>(<i>evt</i>)
+<p>
+        Protected method to handle resize events.
+</p><dl>
+<dt><i>evt</i></dt>
+<dd>
+reference to the resize event (QResizeEvent)
+</dd>
+</dl><a NAME="SearchReplaceSlidingWidget.selectionChanged" ID="SearchReplaceSlidingWidget.selectionChanged"></a>
 <h4>SearchReplaceSlidingWidget.selectionChanged</h4>
 <b>selectionChanged</b>(<i></i>)
 <p>
--- a/Documentation/Source/index-eric5.html	Sat Jan 26 12:41:53 2013 +0100
+++ b/Documentation/Source/index-eric5.html	Sat Jan 26 14:53:59 2013 +0100
@@ -21,7 +21,7 @@
 <body>
 <h1>eric5</h1>
 <p>
-Package implementing the eric5 Python IDE (version 5.3).
+Package implementing the eric5 Python IDE (version 5.4).
 </p><p>
 To get more information about eric5 please see the
 <a href="http://eric-ide.python-projects.org/index.html">eric web site</a>.
--- a/Documentation/Source/index.html	Sat Jan 26 12:41:53 2013 +0100
+++ b/Documentation/Source/index.html	Sat Jan 26 14:53:59 2013 +0100
@@ -26,7 +26,7 @@
 <table>
 <tr>
 <td><a href="index-eric5.html">eric5</a></td>
-<td>Package implementing the eric5 Python IDE (version 5.3).</td>
+<td>Package implementing the eric5 Python IDE (version 5.4).</td>
 </tr>
 </table>
 
--- a/QScintilla/SearchReplaceWidget.py	Sat Jan 26 12:41:53 2013 +0100
+++ b/QScintilla/SearchReplaceWidget.py	Sat Jan 26 14:53:59 2013 +0100
@@ -818,3 +818,13 @@
         scrollBar = self.__scroller.horizontalScrollBar()
         self.__leftButton.setEnabled(scrollBar.value() > 0)
         self.__rightButton.setEnabled(scrollBar.value() < scrollBar.maximum())
+    
+    def resizeEvent(self, evt):
+        """
+        Protected method to handle resize events.
+        
+        @param evt reference to the resize event (QResizeEvent)
+        """
+        self.__enableScrollerButtons()
+        
+        super().resizeEvent(evt)

eric ide

mercurial