16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.E5Gui.E5TextEditSearchWidget</h1> |
23 <h1>eric6.E5Gui.E5TextEditSearchWidget</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a horizontal search widget for QTextEdit. |
26 Module implementing a horizontal search widget for QTextEdit. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#E5TextEditSearchWidget">E5TextEditSearchWidget</a></td> |
38 <td><a href="#E5TextEditSearchWidget">E5TextEditSearchWidget</a></td> |
34 <td>Class implementing a horizontal search widget for QTextEdit.</td> |
39 <td>Class implementing a horizontal search widget for QTextEdit.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="E5TextEditSearchWidget" ID="E5TextEditSearchWidget"></a> |
49 <a NAME="E5TextEditSearchWidget" ID="E5TextEditSearchWidget"></a> |
43 <h2>E5TextEditSearchWidget</h2> |
50 <h2>E5TextEditSearchWidget</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a horizontal search widget for QTextEdit. |
53 Class implementing a horizontal search widget for QTextEdit. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QWidget |
56 QWidget |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#E5TextEditSearchWidget.__init__">E5TextEditSearchWidget</a></td> |
72 <td><a href="#E5TextEditSearchWidget.__init__">E5TextEditSearchWidget</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#E5TextEditSearchWidget.__addWidthForHeightLayout">__addWidthForHeightLayout</a></td> |
76 <td><a href="#E5TextEditSearchWidget.__addWidthForHeightLayout">__addWidthForHeightLayout</a></td> |
64 <td>Private method to set the middle part of the layout.</td> |
77 <td>Private method to set the middle part of the layout.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#E5TextEditSearchWidget.__find">__find</a></td> |
80 <td><a href="#E5TextEditSearchWidget.__find">__find</a></td> |
67 <td>Private method to search the associated text edit.</td> |
81 <td>Private method to search the associated text edit.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#E5TextEditSearchWidget.__findByReturnPressed">__findByReturnPressed</a></td> |
84 <td><a href="#E5TextEditSearchWidget.__findByReturnPressed">__findByReturnPressed</a></td> |
70 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td> |
85 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#E5TextEditSearchWidget.__findNextPrevCallback">__findNextPrevCallback</a></td> |
88 <td><a href="#E5TextEditSearchWidget.__findNextPrevCallback">__findNextPrevCallback</a></td> |
73 <td>Private method to process the result of the last search.</td> |
89 <td>Private method to process the result of the last search.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#E5TextEditSearchWidget.__findPrevNextQTextEdit">__findPrevNextQTextEdit</a></td> |
92 <td><a href="#E5TextEditSearchWidget.__findPrevNextQTextEdit">__findPrevNextQTextEdit</a></td> |
76 <td>Private method to to search the associated edit widget of type QTextEdit.</td> |
93 <td>Private method to to search the associated edit widget of type QTextEdit.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#E5TextEditSearchWidget.__findPrevNextQWebEngineView">__findPrevNextQWebEngineView</a></td> |
96 <td><a href="#E5TextEditSearchWidget.__findPrevNextQWebEngineView">__findPrevNextQWebEngineView</a></td> |
79 <td>Private method to to search the associated edit widget of type QWebEngineView.</td> |
97 <td>Private method to to search the associated edit widget of type QWebEngineView.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#E5TextEditSearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td> |
100 <td><a href="#E5TextEditSearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td> |
82 <td>Private slot to change the findtext combo background to indicate errors.</td> |
101 <td>Private slot to change the findtext combo background to indicate errors.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#E5TextEditSearchWidget.__setSearchButtons">__setSearchButtons</a></td> |
104 <td><a href="#E5TextEditSearchWidget.__setSearchButtons">__setSearchButtons</a></td> |
85 <td>Private slot to set the state of the search buttons.</td> |
105 <td>Private slot to set the state of the search buttons.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#E5TextEditSearchWidget.__setupUi">__setupUi</a></td> |
108 <td><a href="#E5TextEditSearchWidget.__setupUi">__setupUi</a></td> |
88 <td>Private method to generate the UI.</td> |
109 <td>Private method to generate the UI.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#E5TextEditSearchWidget.attachTextEdit">attachTextEdit</a></td> |
112 <td><a href="#E5TextEditSearchWidget.attachTextEdit">attachTextEdit</a></td> |
91 <td>Public method to attach a QTextEdit widget.</td> |
113 <td>Public method to attach a QTextEdit widget.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#E5TextEditSearchWidget.keyPressEvent">keyPressEvent</a></td> |
116 <td><a href="#E5TextEditSearchWidget.keyPressEvent">keyPressEvent</a></td> |
94 <td>Protected slot to handle key press events.</td> |
117 <td>Protected slot to handle key press events.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#E5TextEditSearchWidget.on_findNextButton_clicked">on_findNextButton_clicked</a></td> |
120 <td><a href="#E5TextEditSearchWidget.on_findNextButton_clicked">on_findNextButton_clicked</a></td> |
97 <td>Private slot to find the next occurrence.</td> |
121 <td>Private slot to find the next occurrence.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#E5TextEditSearchWidget.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td> |
124 <td><a href="#E5TextEditSearchWidget.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td> |
100 <td>Private slot to find the previous occurrence.</td> |
125 <td>Private slot to find the previous occurrence.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#E5TextEditSearchWidget.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td> |
128 <td><a href="#E5TextEditSearchWidget.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td> |
103 <td>Private slot to enable/disable the find buttons.</td> |
129 <td>Private slot to enable/disable the find buttons.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#E5TextEditSearchWidget.setWidthForHeight">setWidthForHeight</a></td> |
132 <td><a href="#E5TextEditSearchWidget.setWidthForHeight">setWidthForHeight</a></td> |
106 <td>Public method to set the 'width for height'.</td> |
133 <td>Public method to set the 'width for height'.</td> |
107 </tr> |
134 </tr> |
108 </table> |
135 </table> |
109 <h3>Static Methods</h3> |
136 <h3>Static Methods</h3> |
110 <table> |
137 |
111 <tr><td>None</td></tr> |
138 <table> |
112 </table> |
139 <tr><td>None</td></tr> |
|
140 </table> |
|
141 |
113 <a NAME="E5TextEditSearchWidget.__init__" ID="E5TextEditSearchWidget.__init__"></a> |
142 <a NAME="E5TextEditSearchWidget.__init__" ID="E5TextEditSearchWidget.__init__"></a> |
114 <h4>E5TextEditSearchWidget (Constructor)</h4> |
143 <h4>E5TextEditSearchWidget (Constructor)</h4> |
115 <b>E5TextEditSearchWidget</b>(<i>parent=None, widthForHeight=True</i>) |
144 <b>E5TextEditSearchWidget</b>(<i>parent=None, widthForHeight=True</i>) |
|
145 |
116 <p> |
146 <p> |
117 Constructor |
147 Constructor |
118 </p><dl> |
148 </p> |
|
149 <dl> |
|
150 |
119 <dt><i>parent</i> (QWidget)</dt> |
151 <dt><i>parent</i> (QWidget)</dt> |
120 <dd> |
152 <dd> |
121 reference to the parent widget |
153 reference to the parent widget |
122 </dd><dt><i>widthForHeight</i> (bool)</dt> |
154 </dd> |
|
155 <dt><i>widthForHeight</i> (bool)</dt> |
123 <dd> |
156 <dd> |
124 flag indicating to prefer width for height. |
157 flag indicating to prefer width for height. |
125 If this parameter is False, some widgets are shown in a third |
158 If this parameter is False, some widgets are shown in a third |
126 line. |
159 line. |
127 </dd> |
160 </dd> |
128 </dl><a NAME="E5TextEditSearchWidget.__addWidthForHeightLayout" ID="E5TextEditSearchWidget.__addWidthForHeightLayout"></a> |
161 </dl> |
|
162 <a NAME="E5TextEditSearchWidget.__addWidthForHeightLayout" ID="E5TextEditSearchWidget.__addWidthForHeightLayout"></a> |
129 <h4>E5TextEditSearchWidget.__addWidthForHeightLayout</h4> |
163 <h4>E5TextEditSearchWidget.__addWidthForHeightLayout</h4> |
130 <b>__addWidthForHeightLayout</b>(<i>widthForHeight</i>) |
164 <b>__addWidthForHeightLayout</b>(<i>widthForHeight</i>) |
|
165 |
131 <p> |
166 <p> |
132 Private method to set the middle part of the layout. |
167 Private method to set the middle part of the layout. |
133 </p><dl> |
168 </p> |
|
169 <dl> |
|
170 |
134 <dt><i>widthForHeight</i> (bool)</dt> |
171 <dt><i>widthForHeight</i> (bool)</dt> |
135 <dd> |
172 <dd> |
136 flag indicating to prefer width |
173 flag indicating to prefer width |
137 </dd> |
174 </dd> |
138 </dl><a NAME="E5TextEditSearchWidget.__find" ID="E5TextEditSearchWidget.__find"></a> |
175 </dl> |
|
176 <a NAME="E5TextEditSearchWidget.__find" ID="E5TextEditSearchWidget.__find"></a> |
139 <h4>E5TextEditSearchWidget.__find</h4> |
177 <h4>E5TextEditSearchWidget.__find</h4> |
140 <b>__find</b>(<i>backwards</i>) |
178 <b>__find</b>(<i>backwards</i>) |
|
179 |
141 <p> |
180 <p> |
142 Private method to search the associated text edit. |
181 Private method to search the associated text edit. |
143 </p><dl> |
182 </p> |
|
183 <dl> |
|
184 |
144 <dt><i>backwards</i></dt> |
185 <dt><i>backwards</i></dt> |
145 <dd> |
186 <dd> |
146 flag indicating a backwards search (boolean) |
187 flag indicating a backwards search (boolean) |
147 </dd> |
188 </dd> |
148 </dl><a NAME="E5TextEditSearchWidget.__findByReturnPressed" ID="E5TextEditSearchWidget.__findByReturnPressed"></a> |
189 </dl> |
|
190 <a NAME="E5TextEditSearchWidget.__findByReturnPressed" ID="E5TextEditSearchWidget.__findByReturnPressed"></a> |
149 <h4>E5TextEditSearchWidget.__findByReturnPressed</h4> |
191 <h4>E5TextEditSearchWidget.__findByReturnPressed</h4> |
150 <b>__findByReturnPressed</b>(<i></i>) |
192 <b>__findByReturnPressed</b>(<i></i>) |
|
193 |
151 <p> |
194 <p> |
152 Private slot to handle the returnPressed signal of the findtext |
195 Private slot to handle the returnPressed signal of the findtext |
153 combobox. |
196 combobox. |
154 </p><a NAME="E5TextEditSearchWidget.__findNextPrevCallback" ID="E5TextEditSearchWidget.__findNextPrevCallback"></a> |
197 </p> |
|
198 <a NAME="E5TextEditSearchWidget.__findNextPrevCallback" ID="E5TextEditSearchWidget.__findNextPrevCallback"></a> |
155 <h4>E5TextEditSearchWidget.__findNextPrevCallback</h4> |
199 <h4>E5TextEditSearchWidget.__findNextPrevCallback</h4> |
156 <b>__findNextPrevCallback</b>(<i>found</i>) |
200 <b>__findNextPrevCallback</b>(<i>found</i>) |
|
201 |
157 <p> |
202 <p> |
158 Private method to process the result of the last search. |
203 Private method to process the result of the last search. |
159 </p><dl> |
204 </p> |
|
205 <dl> |
|
206 |
160 <dt><i>found</i> (bool)</dt> |
207 <dt><i>found</i> (bool)</dt> |
161 <dd> |
208 <dd> |
162 flag indicating if the last search succeeded |
209 flag indicating if the last search succeeded |
163 </dd> |
210 </dd> |
164 </dl><a NAME="E5TextEditSearchWidget.__findPrevNextQTextEdit" ID="E5TextEditSearchWidget.__findPrevNextQTextEdit"></a> |
211 </dl> |
|
212 <a NAME="E5TextEditSearchWidget.__findPrevNextQTextEdit" ID="E5TextEditSearchWidget.__findPrevNextQTextEdit"></a> |
165 <h4>E5TextEditSearchWidget.__findPrevNextQTextEdit</h4> |
213 <h4>E5TextEditSearchWidget.__findPrevNextQTextEdit</h4> |
166 <b>__findPrevNextQTextEdit</b>(<i>backwards</i>) |
214 <b>__findPrevNextQTextEdit</b>(<i>backwards</i>) |
|
215 |
167 <p> |
216 <p> |
168 Private method to to search the associated edit widget of |
217 Private method to to search the associated edit widget of |
169 type QTextEdit. |
218 type QTextEdit. |
170 </p><dl> |
219 </p> |
|
220 <dl> |
|
221 |
171 <dt><i>backwards</i> (bool)</dt> |
222 <dt><i>backwards</i> (bool)</dt> |
172 <dd> |
223 <dd> |
173 flag indicating a backwards search |
224 flag indicating a backwards search |
174 </dd> |
225 </dd> |
175 </dl><dl> |
226 </dl> |
|
227 <dl> |
176 <dt>Returns:</dt> |
228 <dt>Returns:</dt> |
177 <dd> |
229 <dd> |
178 flag indicating the search result |
230 flag indicating the search result |
179 </dd> |
231 </dd> |
180 </dl><dl> |
232 </dl> |
|
233 <dl> |
181 <dt>Return Type:</dt> |
234 <dt>Return Type:</dt> |
182 <dd> |
235 <dd> |
183 bool |
236 bool |
184 </dd> |
237 </dd> |
185 </dl><a NAME="E5TextEditSearchWidget.__findPrevNextQWebEngineView" ID="E5TextEditSearchWidget.__findPrevNextQWebEngineView"></a> |
238 </dl> |
|
239 <a NAME="E5TextEditSearchWidget.__findPrevNextQWebEngineView" ID="E5TextEditSearchWidget.__findPrevNextQWebEngineView"></a> |
186 <h4>E5TextEditSearchWidget.__findPrevNextQWebEngineView</h4> |
240 <h4>E5TextEditSearchWidget.__findPrevNextQWebEngineView</h4> |
187 <b>__findPrevNextQWebEngineView</b>(<i>backwards</i>) |
241 <b>__findPrevNextQWebEngineView</b>(<i>backwards</i>) |
|
242 |
188 <p> |
243 <p> |
189 Private method to to search the associated edit widget of |
244 Private method to to search the associated edit widget of |
190 type QWebEngineView. |
245 type QWebEngineView. |
191 </p><dl> |
246 </p> |
|
247 <dl> |
|
248 |
192 <dt><i>backwards</i> (bool)</dt> |
249 <dt><i>backwards</i> (bool)</dt> |
193 <dd> |
250 <dd> |
194 flag indicating a backwards search |
251 flag indicating a backwards search |
195 </dd> |
252 </dd> |
196 </dl><a NAME="E5TextEditSearchWidget.__setFindtextComboBackground" ID="E5TextEditSearchWidget.__setFindtextComboBackground"></a> |
253 </dl> |
|
254 <a NAME="E5TextEditSearchWidget.__setFindtextComboBackground" ID="E5TextEditSearchWidget.__setFindtextComboBackground"></a> |
197 <h4>E5TextEditSearchWidget.__setFindtextComboBackground</h4> |
255 <h4>E5TextEditSearchWidget.__setFindtextComboBackground</h4> |
198 <b>__setFindtextComboBackground</b>(<i>error</i>) |
256 <b>__setFindtextComboBackground</b>(<i>error</i>) |
|
257 |
199 <p> |
258 <p> |
200 Private slot to change the findtext combo background to indicate |
259 Private slot to change the findtext combo background to indicate |
201 errors. |
260 errors. |
202 </p><dl> |
261 </p> |
|
262 <dl> |
|
263 |
203 <dt><i>error</i></dt> |
264 <dt><i>error</i></dt> |
204 <dd> |
265 <dd> |
205 flag indicating an error condition (boolean) |
266 flag indicating an error condition (boolean) |
206 </dd> |
267 </dd> |
207 </dl><a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a> |
268 </dl> |
|
269 <a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a> |
208 <h4>E5TextEditSearchWidget.__setSearchButtons</h4> |
270 <h4>E5TextEditSearchWidget.__setSearchButtons</h4> |
209 <b>__setSearchButtons</b>(<i>enabled</i>) |
271 <b>__setSearchButtons</b>(<i>enabled</i>) |
|
272 |
210 <p> |
273 <p> |
211 Private slot to set the state of the search buttons. |
274 Private slot to set the state of the search buttons. |
212 </p><dl> |
275 </p> |
|
276 <dl> |
|
277 |
213 <dt><i>enabled</i></dt> |
278 <dt><i>enabled</i></dt> |
214 <dd> |
279 <dd> |
215 flag indicating the state (boolean) |
280 flag indicating the state (boolean) |
216 </dd> |
281 </dd> |
217 </dl><a NAME="E5TextEditSearchWidget.__setupUi" ID="E5TextEditSearchWidget.__setupUi"></a> |
282 </dl> |
|
283 <a NAME="E5TextEditSearchWidget.__setupUi" ID="E5TextEditSearchWidget.__setupUi"></a> |
218 <h4>E5TextEditSearchWidget.__setupUi</h4> |
284 <h4>E5TextEditSearchWidget.__setupUi</h4> |
219 <b>__setupUi</b>(<i>widthForHeight</i>) |
285 <b>__setupUi</b>(<i>widthForHeight</i>) |
|
286 |
220 <p> |
287 <p> |
221 Private method to generate the UI. |
288 Private method to generate the UI. |
222 </p><dl> |
289 </p> |
|
290 <dl> |
|
291 |
223 <dt><i>widthForHeight</i> (bool)</dt> |
292 <dt><i>widthForHeight</i> (bool)</dt> |
224 <dd> |
293 <dd> |
225 flag indicating to prefer width for height |
294 flag indicating to prefer width for height |
226 </dd> |
295 </dd> |
227 </dl><a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a> |
296 </dl> |
|
297 <a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a> |
228 <h4>E5TextEditSearchWidget.attachTextEdit</h4> |
298 <h4>E5TextEditSearchWidget.attachTextEdit</h4> |
229 <b>attachTextEdit</b>(<i>textedit, editType="QTextEdit"</i>) |
299 <b>attachTextEdit</b>(<i>textedit, editType="QTextEdit"</i>) |
|
300 |
230 <p> |
301 <p> |
231 Public method to attach a QTextEdit widget. |
302 Public method to attach a QTextEdit widget. |
232 </p><dl> |
303 </p> |
|
304 <dl> |
|
305 |
233 <dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt> |
306 <dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt> |
234 <dd> |
307 <dd> |
235 reference to the edit widget to be attached |
308 reference to the edit widget to be attached |
236 </dd><dt><i>editType</i> (str (one of "QTextEdit", "QWebEngineView" or "QWebView"))</dt> |
309 </dd> |
|
310 <dt><i>editType</i> (str (one of "QTextEdit", "QWebEngineView" or "QWebView"))</dt> |
237 <dd> |
311 <dd> |
238 type of the attached edit widget |
312 type of the attached edit widget |
239 </dd> |
313 </dd> |
240 </dl><a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a> |
314 </dl> |
|
315 <a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a> |
241 <h4>E5TextEditSearchWidget.keyPressEvent</h4> |
316 <h4>E5TextEditSearchWidget.keyPressEvent</h4> |
242 <b>keyPressEvent</b>(<i>event</i>) |
317 <b>keyPressEvent</b>(<i>event</i>) |
|
318 |
243 <p> |
319 <p> |
244 Protected slot to handle key press events. |
320 Protected slot to handle key press events. |
245 </p><dl> |
321 </p> |
|
322 <dl> |
|
323 |
246 <dt><i>event</i></dt> |
324 <dt><i>event</i></dt> |
247 <dd> |
325 <dd> |
248 reference to the key press event (QKeyEvent) |
326 reference to the key press event (QKeyEvent) |
249 </dd> |
327 </dd> |
250 </dl><a NAME="E5TextEditSearchWidget.on_findNextButton_clicked" ID="E5TextEditSearchWidget.on_findNextButton_clicked"></a> |
328 </dl> |
|
329 <a NAME="E5TextEditSearchWidget.on_findNextButton_clicked" ID="E5TextEditSearchWidget.on_findNextButton_clicked"></a> |
251 <h4>E5TextEditSearchWidget.on_findNextButton_clicked</h4> |
330 <h4>E5TextEditSearchWidget.on_findNextButton_clicked</h4> |
252 <b>on_findNextButton_clicked</b>(<i></i>) |
331 <b>on_findNextButton_clicked</b>(<i></i>) |
|
332 |
253 <p> |
333 <p> |
254 Private slot to find the next occurrence. |
334 Private slot to find the next occurrence. |
255 </p><a NAME="E5TextEditSearchWidget.on_findPrevButton_clicked" ID="E5TextEditSearchWidget.on_findPrevButton_clicked"></a> |
335 </p> |
|
336 <a NAME="E5TextEditSearchWidget.on_findPrevButton_clicked" ID="E5TextEditSearchWidget.on_findPrevButton_clicked"></a> |
256 <h4>E5TextEditSearchWidget.on_findPrevButton_clicked</h4> |
337 <h4>E5TextEditSearchWidget.on_findPrevButton_clicked</h4> |
257 <b>on_findPrevButton_clicked</b>(<i></i>) |
338 <b>on_findPrevButton_clicked</b>(<i></i>) |
|
339 |
258 <p> |
340 <p> |
259 Private slot to find the previous occurrence. |
341 Private slot to find the previous occurrence. |
260 </p><a NAME="E5TextEditSearchWidget.on_findtextCombo_editTextChanged" ID="E5TextEditSearchWidget.on_findtextCombo_editTextChanged"></a> |
342 </p> |
|
343 <a NAME="E5TextEditSearchWidget.on_findtextCombo_editTextChanged" ID="E5TextEditSearchWidget.on_findtextCombo_editTextChanged"></a> |
261 <h4>E5TextEditSearchWidget.on_findtextCombo_editTextChanged</h4> |
344 <h4>E5TextEditSearchWidget.on_findtextCombo_editTextChanged</h4> |
262 <b>on_findtextCombo_editTextChanged</b>(<i>txt</i>) |
345 <b>on_findtextCombo_editTextChanged</b>(<i>txt</i>) |
|
346 |
263 <p> |
347 <p> |
264 Private slot to enable/disable the find buttons. |
348 Private slot to enable/disable the find buttons. |
265 </p><dl> |
349 </p> |
|
350 <dl> |
|
351 |
266 <dt><i>txt</i></dt> |
352 <dt><i>txt</i></dt> |
267 <dd> |
353 <dd> |
268 text of the combobox (string) |
354 text of the combobox (string) |
269 </dd> |
355 </dd> |
270 </dl><a NAME="E5TextEditSearchWidget.setWidthForHeight" ID="E5TextEditSearchWidget.setWidthForHeight"></a> |
356 </dl> |
|
357 <a NAME="E5TextEditSearchWidget.setWidthForHeight" ID="E5TextEditSearchWidget.setWidthForHeight"></a> |
271 <h4>E5TextEditSearchWidget.setWidthForHeight</h4> |
358 <h4>E5TextEditSearchWidget.setWidthForHeight</h4> |
272 <b>setWidthForHeight</b>(<i>widthForHeight</i>) |
359 <b>setWidthForHeight</b>(<i>widthForHeight</i>) |
|
360 |
273 <p> |
361 <p> |
274 Public method to set the 'width for height'. |
362 Public method to set the 'width for height'. |
275 </p><dl> |
363 </p> |
|
364 <dl> |
|
365 |
276 <dt><i>widthForHeight</i> (bool)</dt> |
366 <dt><i>widthForHeight</i> (bool)</dt> |
277 <dd> |
367 <dd> |
278 flag indicating to prefer width |
368 flag indicating to prefer width |
279 </dd> |
369 </dd> |
280 </dl> |
370 </dl> |