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