|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the QRegularExpression wizard dialog. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#QRegularExpressionWizardDialog">QRegularExpressionWizardDialog</a></td> |
|
25 <td>Class for the dialog variant.</td> |
|
26 </tr> |
|
27 <tr> |
|
28 <td><a href="#QRegularExpressionWizardWidget">QRegularExpressionWizardWidget</a></td> |
|
29 <td>Class implementing the QRegularExpression wizard dialog.</td> |
|
30 </tr> |
|
31 <tr> |
|
32 <td><a href="#QRegularExpressionWizardWindow">QRegularExpressionWizardWindow</a></td> |
|
33 <td>Main window class for the standalone dialog.</td> |
|
34 </tr> |
|
35 </table> |
|
36 <h3>Functions</h3> |
|
37 |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /> |
|
42 <hr /> |
|
43 <a NAME="QRegularExpressionWizardDialog" ID="QRegularExpressionWizardDialog"></a> |
|
44 <h2>QRegularExpressionWizardDialog</h2> |
|
45 |
|
46 <p> |
|
47 Class for the dialog variant. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QDialog |
|
51 <h3>Class Attributes</h3> |
|
52 |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 |
|
58 <table> |
|
59 <tr><td>None</td></tr> |
|
60 </table> |
|
61 <h3>Methods</h3> |
|
62 |
|
63 <table> |
|
64 |
|
65 <tr> |
|
66 <td><a href="#QRegularExpressionWizardDialog.__init__">QRegularExpressionWizardDialog</a></td> |
|
67 <td>Constructor</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#QRegularExpressionWizardDialog.accept">accept</a></td> |
|
71 <td>Public slot to hide the dialog and set the result code to Accepted.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#QRegularExpressionWizardDialog.getCode">getCode</a></td> |
|
75 <td>Public method to get the source code.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#QRegularExpressionWizardDialog.reject">reject</a></td> |
|
79 <td>Public slot to hide the dialog and set the result code to Rejected.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 |
|
88 <a NAME="QRegularExpressionWizardDialog.__init__" ID="QRegularExpressionWizardDialog.__init__"></a> |
|
89 <h4>QRegularExpressionWizardDialog (Constructor)</h4> |
|
90 <b>QRegularExpressionWizardDialog</b>(<i>parent=None, fromEric=True</i>) |
|
91 |
|
92 <p> |
|
93 Constructor |
|
94 </p> |
|
95 <dl> |
|
96 |
|
97 <dt><i>parent</i></dt> |
|
98 <dd> |
|
99 parent widget (QWidget) |
|
100 </dd> |
|
101 <dt><i>fromEric</i></dt> |
|
102 <dd> |
|
103 flag indicating a call from within eric |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="QRegularExpressionWizardDialog.accept" ID="QRegularExpressionWizardDialog.accept"></a> |
|
107 <h4>QRegularExpressionWizardDialog.accept</h4> |
|
108 <b>accept</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Public slot to hide the dialog and set the result code to Accepted. |
|
112 </p> |
|
113 <a NAME="QRegularExpressionWizardDialog.getCode" ID="QRegularExpressionWizardDialog.getCode"></a> |
|
114 <h4>QRegularExpressionWizardDialog.getCode</h4> |
|
115 <b>getCode</b>(<i>indLevel, indString</i>) |
|
116 |
|
117 <p> |
|
118 Public method to get the source code. |
|
119 </p> |
|
120 <dl> |
|
121 |
|
122 <dt><i>indLevel</i></dt> |
|
123 <dd> |
|
124 indentation level (int) |
|
125 </dd> |
|
126 <dt><i>indString</i></dt> |
|
127 <dd> |
|
128 string used for indentation (space or tab) (string) |
|
129 </dd> |
|
130 </dl> |
|
131 <dl> |
|
132 <dt>Return:</dt> |
|
133 <dd> |
|
134 generated code (string) |
|
135 </dd> |
|
136 </dl> |
|
137 <a NAME="QRegularExpressionWizardDialog.reject" ID="QRegularExpressionWizardDialog.reject"></a> |
|
138 <h4>QRegularExpressionWizardDialog.reject</h4> |
|
139 <b>reject</b>(<i></i>) |
|
140 |
|
141 <p> |
|
142 Public slot to hide the dialog and set the result code to Rejected. |
|
143 </p> |
|
144 <div align="right"><a href="#top">Up</a></div> |
|
145 <hr /> |
|
146 <hr /> |
|
147 <a NAME="QRegularExpressionWizardWidget" ID="QRegularExpressionWizardWidget"></a> |
|
148 <h2>QRegularExpressionWizardWidget</h2> |
|
149 |
|
150 <p> |
|
151 Class implementing the QRegularExpression wizard dialog. |
|
152 </p> |
|
153 <h3>Derived from</h3> |
|
154 QWidget, Ui_QRegularExpressionWizardDialog |
|
155 <h3>Class Attributes</h3> |
|
156 |
|
157 <table> |
|
158 <tr><td>None</td></tr> |
|
159 </table> |
|
160 <h3>Class Methods</h3> |
|
161 |
|
162 <table> |
|
163 <tr><td>None</td></tr> |
|
164 </table> |
|
165 <h3>Methods</h3> |
|
166 |
|
167 <table> |
|
168 |
|
169 <tr> |
|
170 <td><a href="#QRegularExpressionWizardWidget.__init__">QRegularExpressionWizardWidget</a></td> |
|
171 <td>Constructor</td> |
|
172 </tr> |
|
173 <tr> |
|
174 <td><a href="#QRegularExpressionWizardWidget.__insertString">__insertString</a></td> |
|
175 <td>Private method to insert a string into line edit and move cursor.</td> |
|
176 </tr> |
|
177 <tr> |
|
178 <td><a href="#QRegularExpressionWizardWidget.__receiveResponse">__receiveResponse</a></td> |
|
179 <td>Private method to receive a response from the server.</td> |
|
180 </tr> |
|
181 <tr> |
|
182 <td><a href="#QRegularExpressionWizardWidget.__sendCommand">__sendCommand</a></td> |
|
183 <td>Private method to send a command to the server.</td> |
|
184 </tr> |
|
185 <tr> |
|
186 <td><a href="#QRegularExpressionWizardWidget.getCode">getCode</a></td> |
|
187 <td>Public method to get the source code.</td> |
|
188 </tr> |
|
189 <tr> |
|
190 <td><a href="#QRegularExpressionWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td> |
|
191 <td>Private slot to handle the alternatives toolbutton.</td> |
|
192 </tr> |
|
193 <tr> |
|
194 <td><a href="#QRegularExpressionWizardWidget.on_anycharButton_clicked">on_anycharButton_clicked</a></td> |
|
195 <td>Private slot to handle the any character toolbutton.</td> |
|
196 </tr> |
|
197 <tr> |
|
198 <td><a href="#QRegularExpressionWizardWidget.on_atomicGroupButton_clicked">on_atomicGroupButton_clicked</a></td> |
|
199 <td>Private slot to handle the atomic non group toolbutton.</td> |
|
200 </tr> |
|
201 <tr> |
|
202 <td><a href="#QRegularExpressionWizardWidget.on_beglineButton_clicked">on_beglineButton_clicked</a></td> |
|
203 <td>Private slot to handle the begin line toolbutton.</td> |
|
204 </tr> |
|
205 <tr> |
|
206 <td><a href="#QRegularExpressionWizardWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
207 <td>Private slot called by a button of the button box clicked.</td> |
|
208 </tr> |
|
209 <tr> |
|
210 <td><a href="#QRegularExpressionWizardWidget.on_charButton_clicked">on_charButton_clicked</a></td> |
|
211 <td>Private slot to handle the characters toolbutton.</td> |
|
212 </tr> |
|
213 <tr> |
|
214 <td><a href="#QRegularExpressionWizardWidget.on_commentButton_clicked">on_commentButton_clicked</a></td> |
|
215 <td>Private slot to handle the comment toolbutton.</td> |
|
216 </tr> |
|
217 <tr> |
|
218 <td><a href="#QRegularExpressionWizardWidget.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
219 <td>Private slot to copy the QRegularExpression string into the clipboard.</td> |
|
220 </tr> |
|
221 <tr> |
|
222 <td><a href="#QRegularExpressionWizardWidget.on_endlineButton_clicked">on_endlineButton_clicked</a></td> |
|
223 <td>Private slot to handle the end line toolbutton.</td> |
|
224 </tr> |
|
225 <tr> |
|
226 <td><a href="#QRegularExpressionWizardWidget.on_executeButton_clicked">on_executeButton_clicked</a></td> |
|
227 <td>Private slot to execute the entered QRegularExpression on the test text.</td> |
|
228 </tr> |
|
229 <tr> |
|
230 <td><a href="#QRegularExpressionWizardWidget.on_groupButton_clicked">on_groupButton_clicked</a></td> |
|
231 <td>Private slot to handle the group toolbutton.</td> |
|
232 </tr> |
|
233 <tr> |
|
234 <td><a href="#QRegularExpressionWizardWidget.on_loadButton_clicked">on_loadButton_clicked</a></td> |
|
235 <td>Private slot to load a QRegularExpression from a file.</td> |
|
236 </tr> |
|
237 <tr> |
|
238 <td><a href="#QRegularExpressionWizardWidget.on_namedGroupButton_clicked">on_namedGroupButton_clicked</a></td> |
|
239 <td>Private slot to handle the named group toolbutton.</td> |
|
240 </tr> |
|
241 <tr> |
|
242 <td><a href="#QRegularExpressionWizardWidget.on_namedReferenceButton_clicked">on_namedReferenceButton_clicked</a></td> |
|
243 <td>Private slot to handle the named reference toolbutton.</td> |
|
244 </tr> |
|
245 <tr> |
|
246 <td><a href="#QRegularExpressionWizardWidget.on_neglookaheadButton_clicked">on_neglookaheadButton_clicked</a></td> |
|
247 <td>Private slot to handle the negative lookahead toolbutton.</td> |
|
248 </tr> |
|
249 <tr> |
|
250 <td><a href="#QRegularExpressionWizardWidget.on_neglookbehindButton_clicked">on_neglookbehindButton_clicked</a></td> |
|
251 <td>Private slot to handle the negative lookbehind toolbutton.</td> |
|
252 </tr> |
|
253 <tr> |
|
254 <td><a href="#QRegularExpressionWizardWidget.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
255 <td>Private slot to find the next match.</td> |
|
256 </tr> |
|
257 <tr> |
|
258 <td><a href="#QRegularExpressionWizardWidget.on_nonGroupButton_clicked">on_nonGroupButton_clicked</a></td> |
|
259 <td>Private slot to handle the non group toolbutton.</td> |
|
260 </tr> |
|
261 <tr> |
|
262 <td><a href="#QRegularExpressionWizardWidget.on_nonwordboundButton_clicked">on_nonwordboundButton_clicked</a></td> |
|
263 <td>Private slot to handle the non word boundary toolbutton.</td> |
|
264 </tr> |
|
265 <tr> |
|
266 <td><a href="#QRegularExpressionWizardWidget.on_poslookaheadButton_clicked">on_poslookaheadButton_clicked</a></td> |
|
267 <td>Private slot to handle the positive lookahead toolbutton.</td> |
|
268 </tr> |
|
269 <tr> |
|
270 <td><a href="#QRegularExpressionWizardWidget.on_poslookbehindButton_clicked">on_poslookbehindButton_clicked</a></td> |
|
271 <td>Private slot to handle the positive lookbehind toolbutton.</td> |
|
272 </tr> |
|
273 <tr> |
|
274 <td><a href="#QRegularExpressionWizardWidget.on_redoButton_clicked">on_redoButton_clicked</a></td> |
|
275 <td>Private slot to handle the redo action.</td> |
|
276 </tr> |
|
277 <tr> |
|
278 <td><a href="#QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged">on_regexpTextEdit_textChanged</a></td> |
|
279 <td>Private slot called when the regexp changes.</td> |
|
280 </tr> |
|
281 <tr> |
|
282 <td><a href="#QRegularExpressionWizardWidget.on_repeatButton_clicked">on_repeatButton_clicked</a></td> |
|
283 <td>Private slot to handle the repeat toolbutton.</td> |
|
284 </tr> |
|
285 <tr> |
|
286 <td><a href="#QRegularExpressionWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> |
|
287 <td>Private slot to save the QRegularExpression to a file.</td> |
|
288 </tr> |
|
289 <tr> |
|
290 <td><a href="#QRegularExpressionWizardWidget.on_undoButton_clicked">on_undoButton_clicked</a></td> |
|
291 <td>Private slot to handle the undo action.</td> |
|
292 </tr> |
|
293 <tr> |
|
294 <td><a href="#QRegularExpressionWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> |
|
295 <td>Private slot to validate the entered QRegularExpression.</td> |
|
296 </tr> |
|
297 <tr> |
|
298 <td><a href="#QRegularExpressionWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> |
|
299 <td>Private slot to handle the word boundary toolbutton.</td> |
|
300 </tr> |
|
301 <tr> |
|
302 <td><a href="#QRegularExpressionWizardWidget.shutdown">shutdown</a></td> |
|
303 <td>Public method to shut down the server part.</td> |
|
304 </tr> |
|
305 </table> |
|
306 <h3>Static Methods</h3> |
|
307 |
|
308 <table> |
|
309 <tr><td>None</td></tr> |
|
310 </table> |
|
311 |
|
312 <a NAME="QRegularExpressionWizardWidget.__init__" ID="QRegularExpressionWizardWidget.__init__"></a> |
|
313 <h4>QRegularExpressionWizardWidget (Constructor)</h4> |
|
314 <b>QRegularExpressionWizardWidget</b>(<i>parent=None, fromEric=True</i>) |
|
315 |
|
316 <p> |
|
317 Constructor |
|
318 </p> |
|
319 <dl> |
|
320 |
|
321 <dt><i>parent</i></dt> |
|
322 <dd> |
|
323 parent widget (QWidget) |
|
324 </dd> |
|
325 <dt><i>fromEric</i></dt> |
|
326 <dd> |
|
327 flag indicating a call from within eric |
|
328 </dd> |
|
329 </dl> |
|
330 <a NAME="QRegularExpressionWizardWidget.__insertString" ID="QRegularExpressionWizardWidget.__insertString"></a> |
|
331 <h4>QRegularExpressionWizardWidget.__insertString</h4> |
|
332 <b>__insertString</b>(<i>s, steps=0</i>) |
|
333 |
|
334 <p> |
|
335 Private method to insert a string into line edit and move cursor. |
|
336 </p> |
|
337 <dl> |
|
338 |
|
339 <dt><i>s</i></dt> |
|
340 <dd> |
|
341 string to be inserted into the regexp line edit |
|
342 (string) |
|
343 </dd> |
|
344 <dt><i>steps</i></dt> |
|
345 <dd> |
|
346 number of characters to move the cursor (integer). |
|
347 Negative steps moves cursor back, positives forward. |
|
348 </dd> |
|
349 </dl> |
|
350 <a NAME="QRegularExpressionWizardWidget.__receiveResponse" ID="QRegularExpressionWizardWidget.__receiveResponse"></a> |
|
351 <h4>QRegularExpressionWizardWidget.__receiveResponse</h4> |
|
352 <b>__receiveResponse</b>(<i></i>) |
|
353 |
|
354 <p> |
|
355 Private method to receive a response from the server. |
|
356 </p> |
|
357 <dl> |
|
358 <dt>Return:</dt> |
|
359 <dd> |
|
360 response dictionary (dict) |
|
361 </dd> |
|
362 </dl> |
|
363 <a NAME="QRegularExpressionWizardWidget.__sendCommand" ID="QRegularExpressionWizardWidget.__sendCommand"></a> |
|
364 <h4>QRegularExpressionWizardWidget.__sendCommand</h4> |
|
365 <b>__sendCommand</b>(<i>command, **kw</i>) |
|
366 |
|
367 <p> |
|
368 Private method to send a command to the server. |
|
369 </p> |
|
370 <dl> |
|
371 |
|
372 <dt><i>command</i></dt> |
|
373 <dd> |
|
374 dictionary with command string and related |
|
375 data (dict) |
|
376 </dd> |
|
377 <dt><i>kw=</i></dt> |
|
378 <dd> |
|
379 parameters for the command |
|
380 </dd> |
|
381 </dl> |
|
382 <dl> |
|
383 <dt>Return:</dt> |
|
384 <dd> |
|
385 flag indicating a successful transmission (boolean) |
|
386 </dd> |
|
387 </dl> |
|
388 <a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a> |
|
389 <h4>QRegularExpressionWizardWidget.getCode</h4> |
|
390 <b>getCode</b>(<i>indLevel, indString</i>) |
|
391 |
|
392 <p> |
|
393 Public method to get the source code. |
|
394 </p> |
|
395 <dl> |
|
396 |
|
397 <dt><i>indLevel</i></dt> |
|
398 <dd> |
|
399 indentation level (int) |
|
400 </dd> |
|
401 <dt><i>indString</i></dt> |
|
402 <dd> |
|
403 string used for indentation (space or tab) (string) |
|
404 </dd> |
|
405 </dl> |
|
406 <dl> |
|
407 <dt>Return:</dt> |
|
408 <dd> |
|
409 generated code (string) |
|
410 </dd> |
|
411 </dl> |
|
412 <a NAME="QRegularExpressionWizardWidget.on_altnButton_clicked" ID="QRegularExpressionWizardWidget.on_altnButton_clicked"></a> |
|
413 <h4>QRegularExpressionWizardWidget.on_altnButton_clicked</h4> |
|
414 <b>on_altnButton_clicked</b>(<i></i>) |
|
415 |
|
416 <p> |
|
417 Private slot to handle the alternatives toolbutton. |
|
418 </p> |
|
419 <a NAME="QRegularExpressionWizardWidget.on_anycharButton_clicked" ID="QRegularExpressionWizardWidget.on_anycharButton_clicked"></a> |
|
420 <h4>QRegularExpressionWizardWidget.on_anycharButton_clicked</h4> |
|
421 <b>on_anycharButton_clicked</b>(<i></i>) |
|
422 |
|
423 <p> |
|
424 Private slot to handle the any character toolbutton. |
|
425 </p> |
|
426 <a NAME="QRegularExpressionWizardWidget.on_atomicGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_atomicGroupButton_clicked"></a> |
|
427 <h4>QRegularExpressionWizardWidget.on_atomicGroupButton_clicked</h4> |
|
428 <b>on_atomicGroupButton_clicked</b>(<i></i>) |
|
429 |
|
430 <p> |
|
431 Private slot to handle the atomic non group toolbutton. |
|
432 </p> |
|
433 <a NAME="QRegularExpressionWizardWidget.on_beglineButton_clicked" ID="QRegularExpressionWizardWidget.on_beglineButton_clicked"></a> |
|
434 <h4>QRegularExpressionWizardWidget.on_beglineButton_clicked</h4> |
|
435 <b>on_beglineButton_clicked</b>(<i></i>) |
|
436 |
|
437 <p> |
|
438 Private slot to handle the begin line toolbutton. |
|
439 </p> |
|
440 <a NAME="QRegularExpressionWizardWidget.on_buttonBox_clicked" ID="QRegularExpressionWizardWidget.on_buttonBox_clicked"></a> |
|
441 <h4>QRegularExpressionWizardWidget.on_buttonBox_clicked</h4> |
|
442 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
443 |
|
444 <p> |
|
445 Private slot called by a button of the button box clicked. |
|
446 </p> |
|
447 <dl> |
|
448 |
|
449 <dt><i>button</i></dt> |
|
450 <dd> |
|
451 button that was clicked (QAbstractButton) |
|
452 </dd> |
|
453 </dl> |
|
454 <a NAME="QRegularExpressionWizardWidget.on_charButton_clicked" ID="QRegularExpressionWizardWidget.on_charButton_clicked"></a> |
|
455 <h4>QRegularExpressionWizardWidget.on_charButton_clicked</h4> |
|
456 <b>on_charButton_clicked</b>(<i></i>) |
|
457 |
|
458 <p> |
|
459 Private slot to handle the characters toolbutton. |
|
460 </p> |
|
461 <a NAME="QRegularExpressionWizardWidget.on_commentButton_clicked" ID="QRegularExpressionWizardWidget.on_commentButton_clicked"></a> |
|
462 <h4>QRegularExpressionWizardWidget.on_commentButton_clicked</h4> |
|
463 <b>on_commentButton_clicked</b>(<i></i>) |
|
464 |
|
465 <p> |
|
466 Private slot to handle the comment toolbutton. |
|
467 </p> |
|
468 <a NAME="QRegularExpressionWizardWidget.on_copyButton_clicked" ID="QRegularExpressionWizardWidget.on_copyButton_clicked"></a> |
|
469 <h4>QRegularExpressionWizardWidget.on_copyButton_clicked</h4> |
|
470 <b>on_copyButton_clicked</b>(<i></i>) |
|
471 |
|
472 <p> |
|
473 Private slot to copy the QRegularExpression string into the clipboard. |
|
474 </p> |
|
475 <p> |
|
476 This slot is only available, if not called from within eric. |
|
477 </p> |
|
478 <a NAME="QRegularExpressionWizardWidget.on_endlineButton_clicked" ID="QRegularExpressionWizardWidget.on_endlineButton_clicked"></a> |
|
479 <h4>QRegularExpressionWizardWidget.on_endlineButton_clicked</h4> |
|
480 <b>on_endlineButton_clicked</b>(<i></i>) |
|
481 |
|
482 <p> |
|
483 Private slot to handle the end line toolbutton. |
|
484 </p> |
|
485 <a NAME="QRegularExpressionWizardWidget.on_executeButton_clicked" ID="QRegularExpressionWizardWidget.on_executeButton_clicked"></a> |
|
486 <h4>QRegularExpressionWizardWidget.on_executeButton_clicked</h4> |
|
487 <b>on_executeButton_clicked</b>(<i>startpos=0</i>) |
|
488 |
|
489 <p> |
|
490 Private slot to execute the entered QRegularExpression on the test |
|
491 text. |
|
492 </p> |
|
493 <p> |
|
494 This slot will execute the entered QRegularExpression on the entered |
|
495 test data and will display the result in the table part of the dialog. |
|
496 </p> |
|
497 <dl> |
|
498 |
|
499 <dt><i>startpos</i></dt> |
|
500 <dd> |
|
501 starting position for the QRegularExpression matching |
|
502 </dd> |
|
503 </dl> |
|
504 <a NAME="QRegularExpressionWizardWidget.on_groupButton_clicked" ID="QRegularExpressionWizardWidget.on_groupButton_clicked"></a> |
|
505 <h4>QRegularExpressionWizardWidget.on_groupButton_clicked</h4> |
|
506 <b>on_groupButton_clicked</b>(<i></i>) |
|
507 |
|
508 <p> |
|
509 Private slot to handle the group toolbutton. |
|
510 </p> |
|
511 <a NAME="QRegularExpressionWizardWidget.on_loadButton_clicked" ID="QRegularExpressionWizardWidget.on_loadButton_clicked"></a> |
|
512 <h4>QRegularExpressionWizardWidget.on_loadButton_clicked</h4> |
|
513 <b>on_loadButton_clicked</b>(<i></i>) |
|
514 |
|
515 <p> |
|
516 Private slot to load a QRegularExpression from a file. |
|
517 </p> |
|
518 <a NAME="QRegularExpressionWizardWidget.on_namedGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_namedGroupButton_clicked"></a> |
|
519 <h4>QRegularExpressionWizardWidget.on_namedGroupButton_clicked</h4> |
|
520 <b>on_namedGroupButton_clicked</b>(<i></i>) |
|
521 |
|
522 <p> |
|
523 Private slot to handle the named group toolbutton. |
|
524 </p> |
|
525 <a NAME="QRegularExpressionWizardWidget.on_namedReferenceButton_clicked" ID="QRegularExpressionWizardWidget.on_namedReferenceButton_clicked"></a> |
|
526 <h4>QRegularExpressionWizardWidget.on_namedReferenceButton_clicked</h4> |
|
527 <b>on_namedReferenceButton_clicked</b>(<i></i>) |
|
528 |
|
529 <p> |
|
530 Private slot to handle the named reference toolbutton. |
|
531 </p> |
|
532 <a NAME="QRegularExpressionWizardWidget.on_neglookaheadButton_clicked" ID="QRegularExpressionWizardWidget.on_neglookaheadButton_clicked"></a> |
|
533 <h4>QRegularExpressionWizardWidget.on_neglookaheadButton_clicked</h4> |
|
534 <b>on_neglookaheadButton_clicked</b>(<i></i>) |
|
535 |
|
536 <p> |
|
537 Private slot to handle the negative lookahead toolbutton. |
|
538 </p> |
|
539 <a NAME="QRegularExpressionWizardWidget.on_neglookbehindButton_clicked" ID="QRegularExpressionWizardWidget.on_neglookbehindButton_clicked"></a> |
|
540 <h4>QRegularExpressionWizardWidget.on_neglookbehindButton_clicked</h4> |
|
541 <b>on_neglookbehindButton_clicked</b>(<i></i>) |
|
542 |
|
543 <p> |
|
544 Private slot to handle the negative lookbehind toolbutton. |
|
545 </p> |
|
546 <a NAME="QRegularExpressionWizardWidget.on_nextButton_clicked" ID="QRegularExpressionWizardWidget.on_nextButton_clicked"></a> |
|
547 <h4>QRegularExpressionWizardWidget.on_nextButton_clicked</h4> |
|
548 <b>on_nextButton_clicked</b>(<i></i>) |
|
549 |
|
550 <p> |
|
551 Private slot to find the next match. |
|
552 </p> |
|
553 <a NAME="QRegularExpressionWizardWidget.on_nonGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_nonGroupButton_clicked"></a> |
|
554 <h4>QRegularExpressionWizardWidget.on_nonGroupButton_clicked</h4> |
|
555 <b>on_nonGroupButton_clicked</b>(<i></i>) |
|
556 |
|
557 <p> |
|
558 Private slot to handle the non group toolbutton. |
|
559 </p> |
|
560 <a NAME="QRegularExpressionWizardWidget.on_nonwordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_nonwordboundButton_clicked"></a> |
|
561 <h4>QRegularExpressionWizardWidget.on_nonwordboundButton_clicked</h4> |
|
562 <b>on_nonwordboundButton_clicked</b>(<i></i>) |
|
563 |
|
564 <p> |
|
565 Private slot to handle the non word boundary toolbutton. |
|
566 </p> |
|
567 <a NAME="QRegularExpressionWizardWidget.on_poslookaheadButton_clicked" ID="QRegularExpressionWizardWidget.on_poslookaheadButton_clicked"></a> |
|
568 <h4>QRegularExpressionWizardWidget.on_poslookaheadButton_clicked</h4> |
|
569 <b>on_poslookaheadButton_clicked</b>(<i></i>) |
|
570 |
|
571 <p> |
|
572 Private slot to handle the positive lookahead toolbutton. |
|
573 </p> |
|
574 <a NAME="QRegularExpressionWizardWidget.on_poslookbehindButton_clicked" ID="QRegularExpressionWizardWidget.on_poslookbehindButton_clicked"></a> |
|
575 <h4>QRegularExpressionWizardWidget.on_poslookbehindButton_clicked</h4> |
|
576 <b>on_poslookbehindButton_clicked</b>(<i></i>) |
|
577 |
|
578 <p> |
|
579 Private slot to handle the positive lookbehind toolbutton. |
|
580 </p> |
|
581 <a NAME="QRegularExpressionWizardWidget.on_redoButton_clicked" ID="QRegularExpressionWizardWidget.on_redoButton_clicked"></a> |
|
582 <h4>QRegularExpressionWizardWidget.on_redoButton_clicked</h4> |
|
583 <b>on_redoButton_clicked</b>(<i></i>) |
|
584 |
|
585 <p> |
|
586 Private slot to handle the redo action. |
|
587 </p> |
|
588 <a NAME="QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged" ID="QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged"></a> |
|
589 <h4>QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged</h4> |
|
590 <b>on_regexpTextEdit_textChanged</b>(<i></i>) |
|
591 |
|
592 <p> |
|
593 Private slot called when the regexp changes. |
|
594 </p> |
|
595 <a NAME="QRegularExpressionWizardWidget.on_repeatButton_clicked" ID="QRegularExpressionWizardWidget.on_repeatButton_clicked"></a> |
|
596 <h4>QRegularExpressionWizardWidget.on_repeatButton_clicked</h4> |
|
597 <b>on_repeatButton_clicked</b>(<i></i>) |
|
598 |
|
599 <p> |
|
600 Private slot to handle the repeat toolbutton. |
|
601 </p> |
|
602 <a NAME="QRegularExpressionWizardWidget.on_saveButton_clicked" ID="QRegularExpressionWizardWidget.on_saveButton_clicked"></a> |
|
603 <h4>QRegularExpressionWizardWidget.on_saveButton_clicked</h4> |
|
604 <b>on_saveButton_clicked</b>(<i></i>) |
|
605 |
|
606 <p> |
|
607 Private slot to save the QRegularExpression to a file. |
|
608 </p> |
|
609 <a NAME="QRegularExpressionWizardWidget.on_undoButton_clicked" ID="QRegularExpressionWizardWidget.on_undoButton_clicked"></a> |
|
610 <h4>QRegularExpressionWizardWidget.on_undoButton_clicked</h4> |
|
611 <b>on_undoButton_clicked</b>(<i></i>) |
|
612 |
|
613 <p> |
|
614 Private slot to handle the undo action. |
|
615 </p> |
|
616 <a NAME="QRegularExpressionWizardWidget.on_validateButton_clicked" ID="QRegularExpressionWizardWidget.on_validateButton_clicked"></a> |
|
617 <h4>QRegularExpressionWizardWidget.on_validateButton_clicked</h4> |
|
618 <b>on_validateButton_clicked</b>(<i></i>) |
|
619 |
|
620 <p> |
|
621 Private slot to validate the entered QRegularExpression. |
|
622 </p> |
|
623 <a NAME="QRegularExpressionWizardWidget.on_wordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_wordboundButton_clicked"></a> |
|
624 <h4>QRegularExpressionWizardWidget.on_wordboundButton_clicked</h4> |
|
625 <b>on_wordboundButton_clicked</b>(<i></i>) |
|
626 |
|
627 <p> |
|
628 Private slot to handle the word boundary toolbutton. |
|
629 </p> |
|
630 <a NAME="QRegularExpressionWizardWidget.shutdown" ID="QRegularExpressionWizardWidget.shutdown"></a> |
|
631 <h4>QRegularExpressionWizardWidget.shutdown</h4> |
|
632 <b>shutdown</b>(<i></i>) |
|
633 |
|
634 <p> |
|
635 Public method to shut down the server part. |
|
636 </p> |
|
637 <div align="right"><a href="#top">Up</a></div> |
|
638 <hr /> |
|
639 <hr /> |
|
640 <a NAME="QRegularExpressionWizardWindow" ID="QRegularExpressionWizardWindow"></a> |
|
641 <h2>QRegularExpressionWizardWindow</h2> |
|
642 |
|
643 <p> |
|
644 Main window class for the standalone dialog. |
|
645 </p> |
|
646 <h3>Derived from</h3> |
|
647 EricMainWindow |
|
648 <h3>Class Attributes</h3> |
|
649 |
|
650 <table> |
|
651 <tr><td>None</td></tr> |
|
652 </table> |
|
653 <h3>Class Methods</h3> |
|
654 |
|
655 <table> |
|
656 <tr><td>None</td></tr> |
|
657 </table> |
|
658 <h3>Methods</h3> |
|
659 |
|
660 <table> |
|
661 |
|
662 <tr> |
|
663 <td><a href="#QRegularExpressionWizardWindow.__init__">QRegularExpressionWizardWindow</a></td> |
|
664 <td>Constructor</td> |
|
665 </tr> |
|
666 <tr> |
|
667 <td><a href="#QRegularExpressionWizardWindow.closeEvent">closeEvent</a></td> |
|
668 <td>Protected method handling the close event.</td> |
|
669 </tr> |
|
670 </table> |
|
671 <h3>Static Methods</h3> |
|
672 |
|
673 <table> |
|
674 <tr><td>None</td></tr> |
|
675 </table> |
|
676 |
|
677 <a NAME="QRegularExpressionWizardWindow.__init__" ID="QRegularExpressionWizardWindow.__init__"></a> |
|
678 <h4>QRegularExpressionWizardWindow (Constructor)</h4> |
|
679 <b>QRegularExpressionWizardWindow</b>(<i>parent=None</i>) |
|
680 |
|
681 <p> |
|
682 Constructor |
|
683 </p> |
|
684 <dl> |
|
685 |
|
686 <dt><i>parent</i></dt> |
|
687 <dd> |
|
688 reference to the parent widget (QWidget) |
|
689 </dd> |
|
690 </dl> |
|
691 <a NAME="QRegularExpressionWizardWindow.closeEvent" ID="QRegularExpressionWizardWindow.closeEvent"></a> |
|
692 <h4>QRegularExpressionWizardWindow.closeEvent</h4> |
|
693 <b>closeEvent</b>(<i>evt</i>) |
|
694 |
|
695 <p> |
|
696 Protected method handling the close event. |
|
697 </p> |
|
698 <dl> |
|
699 |
|
700 <dt><i>evt</i></dt> |
|
701 <dd> |
|
702 close event (QCloseEvent) |
|
703 </dd> |
|
704 </dl> |
|
705 <div align="right"><a href="#top">Up</a></div> |
|
706 <hr /> |
|
707 </body></html> |