Documentation/Source/eric6.E5Gui.E5TextEditSearchWidget.html

changeset 5926
69482290dbdd
parent 4039
661167a99aef
child 5959
4c716b02e10d
--- a/Documentation/Source/eric6.E5Gui.E5TextEditSearchWidget.html	Mon Oct 23 19:41:35 2017 +0200
+++ b/Documentation/Source/eric6.E5Gui.E5TextEditSearchWidget.html	Mon Oct 23 19:42:17 2017 +0200
@@ -66,6 +66,21 @@
 <td><a href="#E5TextEditSearchWidget.__findByReturnPressed">__findByReturnPressed</a></td>
 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td>
 </tr><tr>
+<td><a href="#E5TextEditSearchWidget.__findNextPrevCallback">__findNextPrevCallback</a></td>
+<td>Private method to process the result of the last search.</td>
+</tr><tr>
+<td><a href="#E5TextEditSearchWidget.__findPrevNextQTextEdit">__findPrevNextQTextEdit</a></td>
+<td>Private method to to search the associated edit widget of type QTextEdit.</td>
+</tr><tr>
+<td><a href="#E5TextEditSearchWidget.__findPrevNextQWebEngineView">__findPrevNextQWebEngineView</a></td>
+<td>Private method to to search the associated edit widget of type QWebEngineView.</td>
+</tr><tr>
+<td><a href="#E5TextEditSearchWidget.__findPrevNextQWebView">__findPrevNextQWebView</a></td>
+<td>Private method to to search the associated edit widget of type QWebView.</td>
+</tr><tr>
+<td><a href="#E5TextEditSearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td>
+<td>Private slot to change the findtext combo background to indicate errors.</td>
+</tr><tr>
 <td><a href="#E5TextEditSearchWidget.__setSearchButtons">__setSearchButtons</a></td>
 <td>Private slot to set the state of the search buttons.</td>
 </tr><tr>
@@ -115,7 +130,81 @@
 <p>
         Private slot to handle the returnPressed signal of the findtext
         combobox.
-</p><a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a>
+</p><a NAME="E5TextEditSearchWidget.__findNextPrevCallback" ID="E5TextEditSearchWidget.__findNextPrevCallback"></a>
+<h4>E5TextEditSearchWidget.__findNextPrevCallback</h4>
+<b>__findNextPrevCallback</b>(<i>found</i>)
+<p>
+        Private method to process the result of the last search.
+</p><dl>
+<dt><i>found</i> (bool)</dt>
+<dd>
+flag indicating if the last search succeeded
+</dd>
+</dl><a NAME="E5TextEditSearchWidget.__findPrevNextQTextEdit" ID="E5TextEditSearchWidget.__findPrevNextQTextEdit"></a>
+<h4>E5TextEditSearchWidget.__findPrevNextQTextEdit</h4>
+<b>__findPrevNextQTextEdit</b>(<i>backwards</i>)
+<p>
+        Private method to to search the associated edit widget of
+        type QTextEdit.
+</p><dl>
+<dt><i>backwards</i> (bool)</dt>
+<dd>
+flag indicating a backwards search
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating the search result
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl><a NAME="E5TextEditSearchWidget.__findPrevNextQWebEngineView" ID="E5TextEditSearchWidget.__findPrevNextQWebEngineView"></a>
+<h4>E5TextEditSearchWidget.__findPrevNextQWebEngineView</h4>
+<b>__findPrevNextQWebEngineView</b>(<i>backwards</i>)
+<p>
+        Private method to to search the associated edit widget of
+        type QWebEngineView.
+</p><dl>
+<dt><i>backwards</i> (bool)</dt>
+<dd>
+flag indicating a backwards search
+</dd>
+</dl><a NAME="E5TextEditSearchWidget.__findPrevNextQWebView" ID="E5TextEditSearchWidget.__findPrevNextQWebView"></a>
+<h4>E5TextEditSearchWidget.__findPrevNextQWebView</h4>
+<b>__findPrevNextQWebView</b>(<i>backwards</i>)
+<p>
+        Private method to to search the associated edit widget of
+        type QWebView.
+</p><dl>
+<dt><i>backwards</i> (bool)</dt>
+<dd>
+flag indicating a backwards search
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating the search result
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl><a NAME="E5TextEditSearchWidget.__setFindtextComboBackground" ID="E5TextEditSearchWidget.__setFindtextComboBackground"></a>
+<h4>E5TextEditSearchWidget.__setFindtextComboBackground</h4>
+<b>__setFindtextComboBackground</b>(<i>error</i>)
+<p>
+        Private slot to change the findtext combo background to indicate
+        errors.
+</p><dl>
+<dt><i>error</i></dt>
+<dd>
+flag indicating an error condition (boolean)
+</dd>
+</dl><a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a>
 <h4>E5TextEditSearchWidget.__setSearchButtons</h4>
 <b>__setSearchButtons</b>(<i>enabled</i>)
 <p>
@@ -127,13 +216,16 @@
 </dd>
 </dl><a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a>
 <h4>E5TextEditSearchWidget.attachTextEdit</h4>
-<b>attachTextEdit</b>(<i>textedit</i>)
+<b>attachTextEdit</b>(<i>textedit, editType="QTextEdit"</i>)
 <p>
         Public method to attach a QTextEdit widget.
 </p><dl>
-<dt><i>textedit</i></dt>
+<dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt>
 <dd>
-reference to the QTextEdit to be attached (QTextEdit)
+reference to the edit widget to be attached
+</dd><dt><i>editType</i> (str (one of "QTextEdit", "QWebEngineView" or "QWebView"))</dt>
+<dd>
+type of the attached edit widget
 </dd>
 </dl><a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a>
 <h4>E5TextEditSearchWidget.keyPressEvent</h4>

eric ide

mercurial