|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardDialog</h1> |
|
23 <p> |
|
24 Module implementing the Python re wizard dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#PyRegExpWizardDialog">PyRegExpWizardDialog</a></td> |
|
34 <td>Class for the dialog variant.</td> |
|
35 </tr><tr> |
|
36 <td><a href="#PyRegExpWizardWidget">PyRegExpWizardWidget</a></td> |
|
37 <td>Class implementing the Python re wizard dialog.</td> |
|
38 </tr><tr> |
|
39 <td><a href="#PyRegExpWizardWindow">PyRegExpWizardWindow</a></td> |
|
40 <td>Main window class for the standalone dialog.</td> |
|
41 </tr> |
|
42 </table> |
|
43 <h3>Functions</h3> |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /><hr /> |
|
48 <a NAME="PyRegExpWizardDialog" ID="PyRegExpWizardDialog"></a> |
|
49 <h2>PyRegExpWizardDialog</h2> |
|
50 <p> |
|
51 Class for the dialog variant. |
|
52 </p> |
|
53 <h3>Derived from</h3> |
|
54 QDialog |
|
55 <h3>Class Attributes</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Class Methods</h3> |
|
60 <table> |
|
61 <tr><td>None</td></tr> |
|
62 </table> |
|
63 <h3>Methods</h3> |
|
64 <table> |
|
65 <tr> |
|
66 <td><a href="#PyRegExpWizardDialog.__init__">PyRegExpWizardDialog</a></td> |
|
67 <td>Constructor</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PyRegExpWizardDialog.getCode">getCode</a></td> |
|
70 <td>Public method to get the source code.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="PyRegExpWizardDialog.__init__" ID="PyRegExpWizardDialog.__init__"></a> |
|
78 <h4>PyRegExpWizardDialog (Constructor)</h4> |
|
79 <b>PyRegExpWizardDialog</b>(<i>parent=None, fromEric=True</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>parent</i></dt> |
|
84 <dd> |
|
85 parent widget (QWidget) |
|
86 </dd><dt><i>fromEric</i></dt> |
|
87 <dd> |
|
88 flag indicating a call from within eric6 |
|
89 </dd> |
|
90 </dl><a NAME="PyRegExpWizardDialog.getCode" ID="PyRegExpWizardDialog.getCode"></a> |
|
91 <h4>PyRegExpWizardDialog.getCode</h4> |
|
92 <b>getCode</b>(<i>indLevel, indString</i>) |
|
93 <p> |
|
94 Public method to get the source code. |
|
95 </p><dl> |
|
96 <dt><i>indLevel</i></dt> |
|
97 <dd> |
|
98 indentation level (int) |
|
99 </dd><dt><i>indString</i></dt> |
|
100 <dd> |
|
101 string used for indentation (space or tab) (string) |
|
102 </dd> |
|
103 </dl><dl> |
|
104 <dt>Returns:</dt> |
|
105 <dd> |
|
106 generated code (string) |
|
107 </dd> |
|
108 </dl> |
|
109 <div align="right"><a href="#top">Up</a></div> |
|
110 <hr /><hr /> |
|
111 <a NAME="PyRegExpWizardWidget" ID="PyRegExpWizardWidget"></a> |
|
112 <h2>PyRegExpWizardWidget</h2> |
|
113 <p> |
|
114 Class implementing the Python re wizard dialog. |
|
115 </p> |
|
116 <h3>Derived from</h3> |
|
117 QWidget, Ui_PyRegExpWizardDialog |
|
118 <h3>Class Attributes</h3> |
|
119 <table> |
|
120 <tr><td>None</td></tr> |
|
121 </table> |
|
122 <h3>Class Methods</h3> |
|
123 <table> |
|
124 <tr><td>None</td></tr> |
|
125 </table> |
|
126 <h3>Methods</h3> |
|
127 <table> |
|
128 <tr> |
|
129 <td><a href="#PyRegExpWizardWidget.__init__">PyRegExpWizardWidget</a></td> |
|
130 <td>Constructor</td> |
|
131 </tr><tr> |
|
132 <td><a href="#PyRegExpWizardWidget.__insertString">__insertString</a></td> |
|
133 <td>Private method to insert a string into line edit and move cursor.</td> |
|
134 </tr><tr> |
|
135 <td><a href="#PyRegExpWizardWidget.getCode">getCode</a></td> |
|
136 <td>Public method to get the source code.</td> |
|
137 </tr><tr> |
|
138 <td><a href="#PyRegExpWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td> |
|
139 <td>Private slot to handle the alternatives toolbutton.</td> |
|
140 </tr><tr> |
|
141 <td><a href="#PyRegExpWizardWidget.on_anycharButton_clicked">on_anycharButton_clicked</a></td> |
|
142 <td>Private slot to handle the any character toolbutton.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#PyRegExpWizardWidget.on_beglineButton_clicked">on_beglineButton_clicked</a></td> |
|
145 <td>Private slot to handle the begin line toolbutton.</td> |
|
146 </tr><tr> |
|
147 <td><a href="#PyRegExpWizardWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
148 <td>Private slot called by a button of the button box clicked.</td> |
|
149 </tr><tr> |
|
150 <td><a href="#PyRegExpWizardWidget.on_charButton_clicked">on_charButton_clicked</a></td> |
|
151 <td>Private slot to handle the characters toolbutton.</td> |
|
152 </tr><tr> |
|
153 <td><a href="#PyRegExpWizardWidget.on_commentButton_clicked">on_commentButton_clicked</a></td> |
|
154 <td>Private slot to handle the comment toolbutton.</td> |
|
155 </tr><tr> |
|
156 <td><a href="#PyRegExpWizardWidget.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
157 <td>Private slot to copy the regexp string into the clipboard.</td> |
|
158 </tr><tr> |
|
159 <td><a href="#PyRegExpWizardWidget.on_endlineButton_clicked">on_endlineButton_clicked</a></td> |
|
160 <td>Private slot to handle the end line toolbutton.</td> |
|
161 </tr><tr> |
|
162 <td><a href="#PyRegExpWizardWidget.on_executeButton_clicked">on_executeButton_clicked</a></td> |
|
163 <td>Private slot to execute the entered regexp on the test text.</td> |
|
164 </tr><tr> |
|
165 <td><a href="#PyRegExpWizardWidget.on_groupButton_clicked">on_groupButton_clicked</a></td> |
|
166 <td>Private slot to handle the group toolbutton.</td> |
|
167 </tr><tr> |
|
168 <td><a href="#PyRegExpWizardWidget.on_loadButton_clicked">on_loadButton_clicked</a></td> |
|
169 <td>Private slot to load a regexp from a file.</td> |
|
170 </tr><tr> |
|
171 <td><a href="#PyRegExpWizardWidget.on_namedGroupButton_clicked">on_namedGroupButton_clicked</a></td> |
|
172 <td>Private slot to handle the named group toolbutton.</td> |
|
173 </tr><tr> |
|
174 <td><a href="#PyRegExpWizardWidget.on_namedReferenceButton_clicked">on_namedReferenceButton_clicked</a></td> |
|
175 <td>Private slot to handle the named reference toolbutton.</td> |
|
176 </tr><tr> |
|
177 <td><a href="#PyRegExpWizardWidget.on_neglookaheadButton_clicked">on_neglookaheadButton_clicked</a></td> |
|
178 <td>Private slot to handle the negative lookahead toolbutton.</td> |
|
179 </tr><tr> |
|
180 <td><a href="#PyRegExpWizardWidget.on_neglookbehindButton_clicked">on_neglookbehindButton_clicked</a></td> |
|
181 <td>Private slot to handle the negative lookbehind toolbutton.</td> |
|
182 </tr><tr> |
|
183 <td><a href="#PyRegExpWizardWidget.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
184 <td>Private slot to find the next match.</td> |
|
185 </tr><tr> |
|
186 <td><a href="#PyRegExpWizardWidget.on_nonGroupButton_clicked">on_nonGroupButton_clicked</a></td> |
|
187 <td>Private slot to handle the non group toolbutton.</td> |
|
188 </tr><tr> |
|
189 <td><a href="#PyRegExpWizardWidget.on_nonwordboundButton_clicked">on_nonwordboundButton_clicked</a></td> |
|
190 <td>Private slot to handle the non word boundary toolbutton.</td> |
|
191 </tr><tr> |
|
192 <td><a href="#PyRegExpWizardWidget.on_poslookaheadButton_clicked">on_poslookaheadButton_clicked</a></td> |
|
193 <td>Private slot to handle the positive lookahead toolbutton.</td> |
|
194 </tr><tr> |
|
195 <td><a href="#PyRegExpWizardWidget.on_poslookbehindButton_clicked">on_poslookbehindButton_clicked</a></td> |
|
196 <td>Private slot to handle the positive lookbehind toolbutton.</td> |
|
197 </tr><tr> |
|
198 <td><a href="#PyRegExpWizardWidget.on_py2Button_toggled">on_py2Button_toggled</a></td> |
|
199 <td>Private slot called when the Python version was selected.</td> |
|
200 </tr><tr> |
|
201 <td><a href="#PyRegExpWizardWidget.on_redoButton_clicked">on_redoButton_clicked</a></td> |
|
202 <td>Private slot to handle the redo action.</td> |
|
203 </tr><tr> |
|
204 <td><a href="#PyRegExpWizardWidget.on_regexpTextEdit_textChanged">on_regexpTextEdit_textChanged</a></td> |
|
205 <td>Private slot called when the regexp changes.</td> |
|
206 </tr><tr> |
|
207 <td><a href="#PyRegExpWizardWidget.on_repeatButton_clicked">on_repeatButton_clicked</a></td> |
|
208 <td>Private slot to handle the repeat toolbutton.</td> |
|
209 </tr><tr> |
|
210 <td><a href="#PyRegExpWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> |
|
211 <td>Private slot to save the regexp to a file.</td> |
|
212 </tr><tr> |
|
213 <td><a href="#PyRegExpWizardWidget.on_undoButton_clicked">on_undoButton_clicked</a></td> |
|
214 <td>Private slot to handle the undo action.</td> |
|
215 </tr><tr> |
|
216 <td><a href="#PyRegExpWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> |
|
217 <td>Private slot to validate the entered regexp.</td> |
|
218 </tr><tr> |
|
219 <td><a href="#PyRegExpWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> |
|
220 <td>Private slot to handle the word boundary toolbutton.</td> |
|
221 </tr> |
|
222 </table> |
|
223 <h3>Static Methods</h3> |
|
224 <table> |
|
225 <tr><td>None</td></tr> |
|
226 </table> |
|
227 <a NAME="PyRegExpWizardWidget.__init__" ID="PyRegExpWizardWidget.__init__"></a> |
|
228 <h4>PyRegExpWizardWidget (Constructor)</h4> |
|
229 <b>PyRegExpWizardWidget</b>(<i>parent=None, fromEric=True</i>) |
|
230 <p> |
|
231 Constructor |
|
232 </p><dl> |
|
233 <dt><i>parent</i></dt> |
|
234 <dd> |
|
235 parent widget (QWidget) |
|
236 </dd><dt><i>fromEric</i></dt> |
|
237 <dd> |
|
238 flag indicating a call from within eric6 |
|
239 </dd> |
|
240 </dl><a NAME="PyRegExpWizardWidget.__insertString" ID="PyRegExpWizardWidget.__insertString"></a> |
|
241 <h4>PyRegExpWizardWidget.__insertString</h4> |
|
242 <b>__insertString</b>(<i>s, steps=0</i>) |
|
243 <p> |
|
244 Private method to insert a string into line edit and move cursor. |
|
245 </p><dl> |
|
246 <dt><i>s</i></dt> |
|
247 <dd> |
|
248 string to be inserted into the regexp line edit |
|
249 (string) |
|
250 </dd><dt><i>steps</i></dt> |
|
251 <dd> |
|
252 number of characters to move the cursor (integer). |
|
253 Negative steps moves cursor back, positives forward. |
|
254 </dd> |
|
255 </dl><a NAME="PyRegExpWizardWidget.getCode" ID="PyRegExpWizardWidget.getCode"></a> |
|
256 <h4>PyRegExpWizardWidget.getCode</h4> |
|
257 <b>getCode</b>(<i>indLevel, indString</i>) |
|
258 <p> |
|
259 Public method to get the source code. |
|
260 </p><dl> |
|
261 <dt><i>indLevel</i></dt> |
|
262 <dd> |
|
263 indentation level (int) |
|
264 </dd><dt><i>indString</i></dt> |
|
265 <dd> |
|
266 string used for indentation (space or tab) (string) |
|
267 </dd> |
|
268 </dl><dl> |
|
269 <dt>Returns:</dt> |
|
270 <dd> |
|
271 generated code (string) |
|
272 </dd> |
|
273 </dl><a NAME="PyRegExpWizardWidget.on_altnButton_clicked" ID="PyRegExpWizardWidget.on_altnButton_clicked"></a> |
|
274 <h4>PyRegExpWizardWidget.on_altnButton_clicked</h4> |
|
275 <b>on_altnButton_clicked</b>(<i></i>) |
|
276 <p> |
|
277 Private slot to handle the alternatives toolbutton. |
|
278 </p><a NAME="PyRegExpWizardWidget.on_anycharButton_clicked" ID="PyRegExpWizardWidget.on_anycharButton_clicked"></a> |
|
279 <h4>PyRegExpWizardWidget.on_anycharButton_clicked</h4> |
|
280 <b>on_anycharButton_clicked</b>(<i></i>) |
|
281 <p> |
|
282 Private slot to handle the any character toolbutton. |
|
283 </p><a NAME="PyRegExpWizardWidget.on_beglineButton_clicked" ID="PyRegExpWizardWidget.on_beglineButton_clicked"></a> |
|
284 <h4>PyRegExpWizardWidget.on_beglineButton_clicked</h4> |
|
285 <b>on_beglineButton_clicked</b>(<i></i>) |
|
286 <p> |
|
287 Private slot to handle the begin line toolbutton. |
|
288 </p><a NAME="PyRegExpWizardWidget.on_buttonBox_clicked" ID="PyRegExpWizardWidget.on_buttonBox_clicked"></a> |
|
289 <h4>PyRegExpWizardWidget.on_buttonBox_clicked</h4> |
|
290 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
291 <p> |
|
292 Private slot called by a button of the button box clicked. |
|
293 </p><dl> |
|
294 <dt><i>button</i></dt> |
|
295 <dd> |
|
296 button that was clicked (QAbstractButton) |
|
297 </dd> |
|
298 </dl><a NAME="PyRegExpWizardWidget.on_charButton_clicked" ID="PyRegExpWizardWidget.on_charButton_clicked"></a> |
|
299 <h4>PyRegExpWizardWidget.on_charButton_clicked</h4> |
|
300 <b>on_charButton_clicked</b>(<i></i>) |
|
301 <p> |
|
302 Private slot to handle the characters toolbutton. |
|
303 </p><a NAME="PyRegExpWizardWidget.on_commentButton_clicked" ID="PyRegExpWizardWidget.on_commentButton_clicked"></a> |
|
304 <h4>PyRegExpWizardWidget.on_commentButton_clicked</h4> |
|
305 <b>on_commentButton_clicked</b>(<i></i>) |
|
306 <p> |
|
307 Private slot to handle the comment toolbutton. |
|
308 </p><a NAME="PyRegExpWizardWidget.on_copyButton_clicked" ID="PyRegExpWizardWidget.on_copyButton_clicked"></a> |
|
309 <h4>PyRegExpWizardWidget.on_copyButton_clicked</h4> |
|
310 <b>on_copyButton_clicked</b>(<i></i>) |
|
311 <p> |
|
312 Private slot to copy the regexp string into the clipboard. |
|
313 </p><p> |
|
314 This slot is only available, if not called from within eric6. |
|
315 </p><a NAME="PyRegExpWizardWidget.on_endlineButton_clicked" ID="PyRegExpWizardWidget.on_endlineButton_clicked"></a> |
|
316 <h4>PyRegExpWizardWidget.on_endlineButton_clicked</h4> |
|
317 <b>on_endlineButton_clicked</b>(<i></i>) |
|
318 <p> |
|
319 Private slot to handle the end line toolbutton. |
|
320 </p><a NAME="PyRegExpWizardWidget.on_executeButton_clicked" ID="PyRegExpWizardWidget.on_executeButton_clicked"></a> |
|
321 <h4>PyRegExpWizardWidget.on_executeButton_clicked</h4> |
|
322 <b>on_executeButton_clicked</b>(<i>startpos=0</i>) |
|
323 <p> |
|
324 Private slot to execute the entered regexp on the test text. |
|
325 </p><p> |
|
326 This slot will execute the entered regexp on the entered test |
|
327 data and will display the result in the table part of the dialog. |
|
328 </p><dl> |
|
329 <dt><i>startpos</i></dt> |
|
330 <dd> |
|
331 starting position for the regexp matching |
|
332 </dd> |
|
333 </dl><a NAME="PyRegExpWizardWidget.on_groupButton_clicked" ID="PyRegExpWizardWidget.on_groupButton_clicked"></a> |
|
334 <h4>PyRegExpWizardWidget.on_groupButton_clicked</h4> |
|
335 <b>on_groupButton_clicked</b>(<i></i>) |
|
336 <p> |
|
337 Private slot to handle the group toolbutton. |
|
338 </p><a NAME="PyRegExpWizardWidget.on_loadButton_clicked" ID="PyRegExpWizardWidget.on_loadButton_clicked"></a> |
|
339 <h4>PyRegExpWizardWidget.on_loadButton_clicked</h4> |
|
340 <b>on_loadButton_clicked</b>(<i></i>) |
|
341 <p> |
|
342 Private slot to load a regexp from a file. |
|
343 </p><a NAME="PyRegExpWizardWidget.on_namedGroupButton_clicked" ID="PyRegExpWizardWidget.on_namedGroupButton_clicked"></a> |
|
344 <h4>PyRegExpWizardWidget.on_namedGroupButton_clicked</h4> |
|
345 <b>on_namedGroupButton_clicked</b>(<i></i>) |
|
346 <p> |
|
347 Private slot to handle the named group toolbutton. |
|
348 </p><a NAME="PyRegExpWizardWidget.on_namedReferenceButton_clicked" ID="PyRegExpWizardWidget.on_namedReferenceButton_clicked"></a> |
|
349 <h4>PyRegExpWizardWidget.on_namedReferenceButton_clicked</h4> |
|
350 <b>on_namedReferenceButton_clicked</b>(<i></i>) |
|
351 <p> |
|
352 Private slot to handle the named reference toolbutton. |
|
353 </p><a NAME="PyRegExpWizardWidget.on_neglookaheadButton_clicked" ID="PyRegExpWizardWidget.on_neglookaheadButton_clicked"></a> |
|
354 <h4>PyRegExpWizardWidget.on_neglookaheadButton_clicked</h4> |
|
355 <b>on_neglookaheadButton_clicked</b>(<i></i>) |
|
356 <p> |
|
357 Private slot to handle the negative lookahead toolbutton. |
|
358 </p><a NAME="PyRegExpWizardWidget.on_neglookbehindButton_clicked" ID="PyRegExpWizardWidget.on_neglookbehindButton_clicked"></a> |
|
359 <h4>PyRegExpWizardWidget.on_neglookbehindButton_clicked</h4> |
|
360 <b>on_neglookbehindButton_clicked</b>(<i></i>) |
|
361 <p> |
|
362 Private slot to handle the negative lookbehind toolbutton. |
|
363 </p><a NAME="PyRegExpWizardWidget.on_nextButton_clicked" ID="PyRegExpWizardWidget.on_nextButton_clicked"></a> |
|
364 <h4>PyRegExpWizardWidget.on_nextButton_clicked</h4> |
|
365 <b>on_nextButton_clicked</b>(<i></i>) |
|
366 <p> |
|
367 Private slot to find the next match. |
|
368 </p><a NAME="PyRegExpWizardWidget.on_nonGroupButton_clicked" ID="PyRegExpWizardWidget.on_nonGroupButton_clicked"></a> |
|
369 <h4>PyRegExpWizardWidget.on_nonGroupButton_clicked</h4> |
|
370 <b>on_nonGroupButton_clicked</b>(<i></i>) |
|
371 <p> |
|
372 Private slot to handle the non group toolbutton. |
|
373 </p><a NAME="PyRegExpWizardWidget.on_nonwordboundButton_clicked" ID="PyRegExpWizardWidget.on_nonwordboundButton_clicked"></a> |
|
374 <h4>PyRegExpWizardWidget.on_nonwordboundButton_clicked</h4> |
|
375 <b>on_nonwordboundButton_clicked</b>(<i></i>) |
|
376 <p> |
|
377 Private slot to handle the non word boundary toolbutton. |
|
378 </p><a NAME="PyRegExpWizardWidget.on_poslookaheadButton_clicked" ID="PyRegExpWizardWidget.on_poslookaheadButton_clicked"></a> |
|
379 <h4>PyRegExpWizardWidget.on_poslookaheadButton_clicked</h4> |
|
380 <b>on_poslookaheadButton_clicked</b>(<i></i>) |
|
381 <p> |
|
382 Private slot to handle the positive lookahead toolbutton. |
|
383 </p><a NAME="PyRegExpWizardWidget.on_poslookbehindButton_clicked" ID="PyRegExpWizardWidget.on_poslookbehindButton_clicked"></a> |
|
384 <h4>PyRegExpWizardWidget.on_poslookbehindButton_clicked</h4> |
|
385 <b>on_poslookbehindButton_clicked</b>(<i></i>) |
|
386 <p> |
|
387 Private slot to handle the positive lookbehind toolbutton. |
|
388 </p><a NAME="PyRegExpWizardWidget.on_py2Button_toggled" ID="PyRegExpWizardWidget.on_py2Button_toggled"></a> |
|
389 <h4>PyRegExpWizardWidget.on_py2Button_toggled</h4> |
|
390 <b>on_py2Button_toggled</b>(<i>checked</i>) |
|
391 <p> |
|
392 Private slot called when the Python version was selected. |
|
393 </p><dl> |
|
394 <dt><i>checked</i></dt> |
|
395 <dd> |
|
396 state of the Python 2 button (boolean) |
|
397 </dd> |
|
398 </dl><a NAME="PyRegExpWizardWidget.on_redoButton_clicked" ID="PyRegExpWizardWidget.on_redoButton_clicked"></a> |
|
399 <h4>PyRegExpWizardWidget.on_redoButton_clicked</h4> |
|
400 <b>on_redoButton_clicked</b>(<i></i>) |
|
401 <p> |
|
402 Private slot to handle the redo action. |
|
403 </p><a NAME="PyRegExpWizardWidget.on_regexpTextEdit_textChanged" ID="PyRegExpWizardWidget.on_regexpTextEdit_textChanged"></a> |
|
404 <h4>PyRegExpWizardWidget.on_regexpTextEdit_textChanged</h4> |
|
405 <b>on_regexpTextEdit_textChanged</b>(<i></i>) |
|
406 <p> |
|
407 Private slot called when the regexp changes. |
|
408 </p><a NAME="PyRegExpWizardWidget.on_repeatButton_clicked" ID="PyRegExpWizardWidget.on_repeatButton_clicked"></a> |
|
409 <h4>PyRegExpWizardWidget.on_repeatButton_clicked</h4> |
|
410 <b>on_repeatButton_clicked</b>(<i></i>) |
|
411 <p> |
|
412 Private slot to handle the repeat toolbutton. |
|
413 </p><a NAME="PyRegExpWizardWidget.on_saveButton_clicked" ID="PyRegExpWizardWidget.on_saveButton_clicked"></a> |
|
414 <h4>PyRegExpWizardWidget.on_saveButton_clicked</h4> |
|
415 <b>on_saveButton_clicked</b>(<i></i>) |
|
416 <p> |
|
417 Private slot to save the regexp to a file. |
|
418 </p><a NAME="PyRegExpWizardWidget.on_undoButton_clicked" ID="PyRegExpWizardWidget.on_undoButton_clicked"></a> |
|
419 <h4>PyRegExpWizardWidget.on_undoButton_clicked</h4> |
|
420 <b>on_undoButton_clicked</b>(<i></i>) |
|
421 <p> |
|
422 Private slot to handle the undo action. |
|
423 </p><a NAME="PyRegExpWizardWidget.on_validateButton_clicked" ID="PyRegExpWizardWidget.on_validateButton_clicked"></a> |
|
424 <h4>PyRegExpWizardWidget.on_validateButton_clicked</h4> |
|
425 <b>on_validateButton_clicked</b>(<i></i>) |
|
426 <p> |
|
427 Private slot to validate the entered regexp. |
|
428 </p><a NAME="PyRegExpWizardWidget.on_wordboundButton_clicked" ID="PyRegExpWizardWidget.on_wordboundButton_clicked"></a> |
|
429 <h4>PyRegExpWizardWidget.on_wordboundButton_clicked</h4> |
|
430 <b>on_wordboundButton_clicked</b>(<i></i>) |
|
431 <p> |
|
432 Private slot to handle the word boundary toolbutton. |
|
433 </p> |
|
434 <div align="right"><a href="#top">Up</a></div> |
|
435 <hr /><hr /> |
|
436 <a NAME="PyRegExpWizardWindow" ID="PyRegExpWizardWindow"></a> |
|
437 <h2>PyRegExpWizardWindow</h2> |
|
438 <p> |
|
439 Main window class for the standalone dialog. |
|
440 </p> |
|
441 <h3>Derived from</h3> |
|
442 E5MainWindow |
|
443 <h3>Class Attributes</h3> |
|
444 <table> |
|
445 <tr><td>None</td></tr> |
|
446 </table> |
|
447 <h3>Class Methods</h3> |
|
448 <table> |
|
449 <tr><td>None</td></tr> |
|
450 </table> |
|
451 <h3>Methods</h3> |
|
452 <table> |
|
453 <tr> |
|
454 <td><a href="#PyRegExpWizardWindow.__init__">PyRegExpWizardWindow</a></td> |
|
455 <td>Constructor</td> |
|
456 </tr> |
|
457 </table> |
|
458 <h3>Static Methods</h3> |
|
459 <table> |
|
460 <tr><td>None</td></tr> |
|
461 </table> |
|
462 <a NAME="PyRegExpWizardWindow.__init__" ID="PyRegExpWizardWindow.__init__"></a> |
|
463 <h4>PyRegExpWizardWindow (Constructor)</h4> |
|
464 <b>PyRegExpWizardWindow</b>(<i>parent=None</i>) |
|
465 <p> |
|
466 Constructor |
|
467 </p><dl> |
|
468 <dt><i>parent</i></dt> |
|
469 <dd> |
|
470 reference to the parent widget (QWidget) |
|
471 </dd> |
|
472 </dl> |
|
473 <div align="right"><a href="#top">Up</a></div> |
|
474 <hr /> |
|
475 </body></html> |