Documentation/Source/eric5.QScintilla.SearchReplaceWidget.html

changeset 2362
68a92d01c1cc
parent 1530
e008f34c245b
child 2365
7e176de4c462
equal deleted inserted replaced
2361:fe8bccb78a8d 2362:68a92d01c1cc
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SearchReplaceSlidingWidget">SearchReplaceSlidingWidget</a></td>
35 <td>Class implementing the search and replace widget with sliding behavior.</td>
36 </tr><tr>
34 <td><a href="#SearchReplaceWidget">SearchReplaceWidget</a></td> 37 <td><a href="#SearchReplaceWidget">SearchReplaceWidget</a></td>
35 <td>Class implementing the search and replace widget.</td> 38 <td>Class implementing the search and replace widget.</td>
36 </tr> 39 </tr>
37 </table> 40 </table>
38 <h3>Functions</h3> 41 <h3>Functions</h3>
39 <table> 42 <table>
40 <tr><td>None</td></tr> 43 <tr><td>None</td></tr>
41 </table> 44 </table>
45 <hr /><hr />
46 <a NAME="SearchReplaceSlidingWidget" ID="SearchReplaceSlidingWidget"></a>
47 <h2>SearchReplaceSlidingWidget</h2>
48 <p>
49 Class implementing the search and replace widget with sliding behavior.
50 </p><h3>Signals</h3>
51 <dl>
52 <dt>searchListChanged()</dt>
53 <dd>
54 emitted to indicate a change of the search list
55 </dd>
56 </dl>
57 <h3>Derived from</h3>
58 QWidget
59 <h3>Class Attributes</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Class Methods</h3>
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68 <table>
69 <tr>
70 <td><a href="#SearchReplaceSlidingWidget.__init__">SearchReplaceSlidingWidget</a></td>
71 <td>Constructor</td>
72 </tr><tr>
73 <td><a href="#SearchReplaceSlidingWidget.__slide">__slide</a></td>
74 <td>Private method to move the sliding widget.</td>
75 </tr><tr>
76 <td><a href="#SearchReplaceSlidingWidget.__slideLeft">__slideLeft</a></td>
77 <td>Private slot to move the widget to the left, i.e.</td>
78 </tr><tr>
79 <td><a href="#SearchReplaceSlidingWidget.__slideRight">__slideRight</a></td>
80 <td>Private slot to move the widget to the right, i.e.</td>
81 </tr><tr>
82 <td><a href="#SearchReplaceSlidingWidget.findNext">findNext</a></td>
83 <td>Public slot to find the next occurrence of text.</td>
84 </tr><tr>
85 <td><a href="#SearchReplaceSlidingWidget.findPrev">findPrev</a></td>
86 <td>Public slot to find the next previous of text.</td>
87 </tr><tr>
88 <td><a href="#SearchReplaceSlidingWidget.selectionChanged">selectionChanged</a></td>
89 <td>Public slot tracking changes of selected text.</td>
90 </tr><tr>
91 <td><a href="#SearchReplaceSlidingWidget.show">show</a></td>
92 <td>Overridden slot from QWidget.</td>
93 </tr><tr>
94 <td><a href="#SearchReplaceSlidingWidget.updateSelectionCheckBox">updateSelectionCheckBox</a></td>
95 <td>Public slot to update the selection check box.</td>
96 </tr>
97 </table>
98 <h3>Static Methods</h3>
99 <table>
100 <tr><td>None</td></tr>
101 </table>
102 <a NAME="SearchReplaceSlidingWidget.__init__" ID="SearchReplaceSlidingWidget.__init__"></a>
103 <h4>SearchReplaceSlidingWidget (Constructor)</h4>
104 <b>SearchReplaceSlidingWidget</b>(<i>replace, vm, parent=None</i>)
105 <p>
106 Constructor
107 </p><dl>
108 <dt><i>replace</i></dt>
109 <dd>
110 flag indicating a replace widget is called
111 </dd><dt><i>vm</i></dt>
112 <dd>
113 reference to the viewmanager object
114 </dd><dt><i>parent</i></dt>
115 <dd>
116 parent widget of this widget (QWidget)
117 </dd>
118 </dl><a NAME="SearchReplaceSlidingWidget.__slide" ID="SearchReplaceSlidingWidget.__slide"></a>
119 <h4>SearchReplaceSlidingWidget.__slide</h4>
120 <b>__slide</b>(<i>toLeft</i>)
121 <p>
122 Private method to move the sliding widget.
123 </p><dl>
124 <dt><i>toLeft</i></dt>
125 <dd>
126 flag indicating to move to the left (boolean)
127 </dd>
128 </dl><a NAME="SearchReplaceSlidingWidget.__slideLeft" ID="SearchReplaceSlidingWidget.__slideLeft"></a>
129 <h4>SearchReplaceSlidingWidget.__slideLeft</h4>
130 <b>__slideLeft</b>(<i></i>)
131 <p>
132 Private slot to move the widget to the left, i.e. show contents to the right.
133 </p><a NAME="SearchReplaceSlidingWidget.__slideRight" ID="SearchReplaceSlidingWidget.__slideRight"></a>
134 <h4>SearchReplaceSlidingWidget.__slideRight</h4>
135 <b>__slideRight</b>(<i></i>)
136 <p>
137 Private slot to move the widget to the right, i.e. show contents to the left.
138 </p><a NAME="SearchReplaceSlidingWidget.findNext" ID="SearchReplaceSlidingWidget.findNext"></a>
139 <h4>SearchReplaceSlidingWidget.findNext</h4>
140 <b>findNext</b>(<i></i>)
141 <p>
142 Public slot to find the next occurrence of text.
143 </p><a NAME="SearchReplaceSlidingWidget.findPrev" ID="SearchReplaceSlidingWidget.findPrev"></a>
144 <h4>SearchReplaceSlidingWidget.findPrev</h4>
145 <b>findPrev</b>(<i></i>)
146 <p>
147 Public slot to find the next previous of text.
148 </p><a NAME="SearchReplaceSlidingWidget.selectionChanged" ID="SearchReplaceSlidingWidget.selectionChanged"></a>
149 <h4>SearchReplaceSlidingWidget.selectionChanged</h4>
150 <b>selectionChanged</b>(<i></i>)
151 <p>
152 Public slot tracking changes of selected text.
153 </p><a NAME="SearchReplaceSlidingWidget.show" ID="SearchReplaceSlidingWidget.show"></a>
154 <h4>SearchReplaceSlidingWidget.show</h4>
155 <b>show</b>(<i>text=''</i>)
156 <p>
157 Overridden slot from QWidget.
158 </p><dl>
159 <dt><i>text</i></dt>
160 <dd>
161 text to be shown in the findtext edit (string)
162 </dd>
163 </dl><a NAME="SearchReplaceSlidingWidget.updateSelectionCheckBox" ID="SearchReplaceSlidingWidget.updateSelectionCheckBox"></a>
164 <h4>SearchReplaceSlidingWidget.updateSelectionCheckBox</h4>
165 <b>updateSelectionCheckBox</b>(<i>editor</i>)
166 <p>
167 Public slot to update the selection check box.
168 </p><dl>
169 <dt><i>editor</i></dt>
170 <dd>
171 reference to the editor (Editor)
172 </dd>
173 </dl>
174 <div align="right"><a href="#top">Up</a></div>
42 <hr /><hr /> 175 <hr /><hr />
43 <a NAME="SearchReplaceWidget" ID="SearchReplaceWidget"></a> 176 <a NAME="SearchReplaceWidget" ID="SearchReplaceWidget"></a>
44 <h2>SearchReplaceWidget</h2> 177 <h2>SearchReplaceWidget</h2>
45 <p> 178 <p>
46 Class implementing the search and replace widget. 179 Class implementing the search and replace widget.
129 <table> 262 <table>
130 <tr><td>None</td></tr> 263 <tr><td>None</td></tr>
131 </table> 264 </table>
132 <a NAME="SearchReplaceWidget.__init__" ID="SearchReplaceWidget.__init__"></a> 265 <a NAME="SearchReplaceWidget.__init__" ID="SearchReplaceWidget.__init__"></a>
133 <h4>SearchReplaceWidget (Constructor)</h4> 266 <h4>SearchReplaceWidget (Constructor)</h4>
134 <b>SearchReplaceWidget</b>(<i>replace, vm, parent=None</i>) 267 <b>SearchReplaceWidget</b>(<i>replace, vm, parent=None, sliding=False</i>)
135 <p> 268 <p>
136 Constructor 269 Constructor
137 </p><dl> 270 </p><dl>
138 <dt><i>replace</i></dt> 271 <dt><i>replace</i></dt>
139 <dd> 272 <dd>
142 <dd> 275 <dd>
143 reference to the viewmanager object 276 reference to the viewmanager object
144 </dd><dt><i>parent</i></dt> 277 </dd><dt><i>parent</i></dt>
145 <dd> 278 <dd>
146 parent widget of this widget (QWidget) 279 parent widget of this widget (QWidget)
280 </dd><dt><i>sliding</i></dt>
281 <dd>
282 flag indicating the widget is embedded in the
283 sliding widget (boolean)
147 </dd> 284 </dd>
148 </dl><a NAME="SearchReplaceWidget.__doReplace" ID="SearchReplaceWidget.__doReplace"></a> 285 </dl><a NAME="SearchReplaceWidget.__doReplace" ID="SearchReplaceWidget.__doReplace"></a>
149 <h4>SearchReplaceWidget.__doReplace</h4> 286 <h4>SearchReplaceWidget.__doReplace</h4>
150 <b>__doReplace</b>(<i>searchNext</i>) 287 <b>__doReplace</b>(<i>searchNext</i>)
151 <p> 288 <p>

eric ide

mercurial