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