Documentation/Source/eric5.Helpviewer.SearchWidget.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 376
0c4c359c4870
--- a/Documentation/Source/eric5.Helpviewer.SearchWidget.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.SearchWidget.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.SearchWidget</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#98;&#97;&#114; &#102;&#111;&#114; &#116;&#104;&#101; w&#101;&#98; &#98;&#114;&#111;w&#115;&#101;&#114;.
+Module implementing the search bar for the web browser.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#SearchWidget">SearchWidget</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#98;&#97;&#114; &#102;&#111;&#114; &#116;&#104;&#101; w&#101;&#98; &#98;&#114;&#111;w&#115;&#101;&#114;.</td>
+<td>Class implementing the search bar for the web browser.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="SearchWidget" ID="SearchWidget"></a>
 <h2>SearchWidget</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#98;&#97;&#114; &#102;&#111;&#114; &#116;&#104;&#101; w&#101;&#98; &#98;&#114;&#111;w&#115;&#101;&#114;.
+    Class implementing the search bar for the web browser.
 </p>
 <h3>Derived from</h3>
 QWidget, Ui_SearchWidget
@@ -55,125 +55,125 @@
 <table>
 <tr>
 <td><a href="#SearchWidget.__init__">SearchWidget</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#SearchWidget.__findByReturnPressed">__findByReturnPressed</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110;&#80;&#114;&#101;&#115;&#115;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#110;&#100;&#116;&#101;x&#116; &#99;&#111;&#109;&#98;&#111;&#98;&#111;x.</td>
+<td>Private slot to handle the returnPressed signal of the findtext combobox.</td>
 </tr><tr>
 <td><a href="#SearchWidget.__findNextPrev">__findNextPrev</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101; &#111;&#102; &#116;&#101;x&#116;.</td>
+<td>Private slot to find the next occurrence of text.</td>
 </tr><tr>
 <td><a href="#SearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#100;&#116;&#101;x&#116; &#99;&#111;&#109;&#98;&#111; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.</td>
+<td>Private slot to change the findtext combo background to indicate errors.</td>
 </tr><tr>
 <td><a href="#SearchWidget.findNext">findNext</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.</td>
+<td>Public slot to find the next occurrence.</td>
 </tr><tr>
 <td><a href="#SearchWidget.findPrevious">findPrevious</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.</td>
+<td>Public slot to find the previous occurrence.</td>
 </tr><tr>
 <td><a href="#SearchWidget.keyPressEvent">keyPressEvent</a></td>
-<td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;.</td>
+<td>Protected slot to handle key press events.</td>
 </tr><tr>
 <td><a href="#SearchWidget.on_closeButton_clicked">on_closeButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td>
+<td>Private slot to close the widget.</td>
 </tr><tr>
 <td><a href="#SearchWidget.on_findNextButton_clicked">on_findNextButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.</td>
+<td>Private slot to find the next occurrence.</td>
 </tr><tr>
 <td><a href="#SearchWidget.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.</td>
+<td>Private slot to find the previous occurrence.</td>
 </tr><tr>
 <td><a href="#SearchWidget.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101;/&#100;&#105;&#115;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#100; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.</td>
+<td>Private slot to enable/disable the find buttons.</td>
 </tr><tr>
 <td><a href="#SearchWidget.showFind">showFind</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#105;&#115; &#100;&#105;&#97;&#108;&#111;&#103;.</td>
+<td>Public method to display this dialog.</td>
 </tr>
 </table>
 <a NAME="SearchWidget.__init__" ID="SearchWidget.__init__"></a>
 <h4>SearchWidget (Constructor)</h4>
 <b>SearchWidget</b>(<i>mainWindow, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>mainWindow</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#97;&#105;&#110; w&#105;&#110;&#100;&#111;w (&#81;&#77;&#97;&#105;&#110;&#87;&#105;&#110;&#100;&#111;w)
+reference to the main window (QMainWindow)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#100;&#105;&#97;&#108;&#111;&#103; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
+parent widget of this dialog (QWidget)
 </dd>
 </dl><a NAME="SearchWidget.__findByReturnPressed" ID="SearchWidget.__findByReturnPressed"></a>
 <h4>SearchWidget.__findByReturnPressed</h4>
 <b>__findByReturnPressed</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110;&#80;&#114;&#101;&#115;&#115;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#110;&#100;&#116;&#101;x&#116; &#99;&#111;&#109;&#98;&#111;&#98;&#111;x.
+        Private slot to handle the returnPressed signal of the findtext combobox.
 </p><a NAME="SearchWidget.__findNextPrev" ID="SearchWidget.__findNextPrev"></a>
 <h4>SearchWidget.__findNextPrev</h4>
 <b>__findNextPrev</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101; &#111;&#102; &#116;&#101;x&#116;.
+        Private slot to find the next occurrence of text.
 </p><a NAME="SearchWidget.__setFindtextComboBackground" ID="SearchWidget.__setFindtextComboBackground"></a>
 <h4>SearchWidget.__setFindtextComboBackground</h4>
 <b>__setFindtextComboBackground</b>(<i>error</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#100;&#116;&#101;x&#116; &#99;&#111;&#109;&#98;&#111; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.
+        Private slot to change the findtext combo background to indicate errors.
 </p><dl>
 <dt><i>error</i></dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#110; &#101;&#114;&#114;&#111;&#114; &#99;&#111;&#110;&#100;&#105;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating an error condition (boolean)
 </dd>
 </dl><a NAME="SearchWidget.findNext" ID="SearchWidget.findNext"></a>
 <h4>SearchWidget.findNext</h4>
 <b>findNext</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.
+        Public slot to find the next occurrence.
 </p><a NAME="SearchWidget.findPrevious" ID="SearchWidget.findPrevious"></a>
 <h4>SearchWidget.findPrevious</h4>
 <b>findPrevious</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.
+        Public slot to find the previous occurrence.
 </p><a NAME="SearchWidget.keyPressEvent" ID="SearchWidget.keyPressEvent"></a>
 <h4>SearchWidget.keyPressEvent</h4>
 <b>keyPressEvent</b>(<i>event</i>)
 <p>
-        &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;.
+        Protected slot to handle key press events.
 </p><dl>
 <dt><i>event</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116; (&#81;&#75;&#101;y&#69;v&#101;&#110;&#116;)
+reference to the key press event (QKeyEvent)
 </dd>
 </dl><a NAME="SearchWidget.on_closeButton_clicked" ID="SearchWidget.on_closeButton_clicked"></a>
 <h4>SearchWidget.on_closeButton_clicked</h4>
 <b>on_closeButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.
+        Private slot to close the widget.
 </p><a NAME="SearchWidget.on_findNextButton_clicked" ID="SearchWidget.on_findNextButton_clicked"></a>
 <h4>SearchWidget.on_findNextButton_clicked</h4>
 <b>on_findNextButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#110;&#101;x&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.
+        Private slot to find the next occurrence.
 </p><a NAME="SearchWidget.on_findPrevButton_clicked" ID="SearchWidget.on_findPrevButton_clicked"></a>
 <h4>SearchWidget.on_findPrevButton_clicked</h4>
 <b>on_findPrevButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#110;&#99;&#101;.
+        Private slot to find the previous occurrence.
 </p><a NAME="SearchWidget.on_findtextCombo_editTextChanged" ID="SearchWidget.on_findtextCombo_editTextChanged"></a>
 <h4>SearchWidget.on_findtextCombo_editTextChanged</h4>
 <b>on_findtextCombo_editTextChanged</b>(<i>txt</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101;/&#100;&#105;&#115;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#100; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.
+        Private slot to enable/disable the find buttons.
 </p><dl>
 <dt><i>txt</i></dt>
 <dd>
-&#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#109;&#98;&#111;&#98;&#111;x (&#115;&#116;&#114;&#105;&#110;&#103;)
+text of the combobox (string)
 </dd>
 </dl><a NAME="SearchWidget.showFind" ID="SearchWidget.showFind"></a>
 <h4>SearchWidget.showFind</h4>
 <b>showFind</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#105;&#115; &#100;&#105;&#97;&#108;&#111;&#103;.
+        Public method to display this dialog.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial