|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.WizardPlugins.QRegExpWizard.QRegExpWizardDialog</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.QRegExpWizard.QRegExpWizardDialog</h1> |
|
23 <p> |
|
24 Module implementing the QRegExp 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="#QRegExpWizardDialog">QRegExpWizardDialog</a></td> |
|
34 <td>Class for the dialog variant.</td> |
|
35 </tr><tr> |
|
36 <td><a href="#QRegExpWizardWidget">QRegExpWizardWidget</a></td> |
|
37 <td>Class implementing the QRegExp wizard dialog.</td> |
|
38 </tr><tr> |
|
39 <td><a href="#QRegExpWizardWindow">QRegExpWizardWindow</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="QRegExpWizardDialog" ID="QRegExpWizardDialog"></a> |
|
49 <h2>QRegExpWizardDialog</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="#QRegExpWizardDialog.__init__">QRegExpWizardDialog</a></td> |
|
67 <td>Constructor</td> |
|
68 </tr><tr> |
|
69 <td><a href="#QRegExpWizardDialog.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="QRegExpWizardDialog.__init__" ID="QRegExpWizardDialog.__init__"></a> |
|
78 <h4>QRegExpWizardDialog (Constructor)</h4> |
|
79 <b>QRegExpWizardDialog</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="QRegExpWizardDialog.getCode" ID="QRegExpWizardDialog.getCode"></a> |
|
91 <h4>QRegExpWizardDialog.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="QRegExpWizardWidget" ID="QRegExpWizardWidget"></a> |
|
112 <h2>QRegExpWizardWidget</h2> |
|
113 <p> |
|
114 Class implementing the QRegExp wizard dialog. |
|
115 </p> |
|
116 <h3>Derived from</h3> |
|
117 QWidget, Ui_QRegExpWizardWidget |
|
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="#QRegExpWizardWidget.__init__">QRegExpWizardWidget</a></td> |
|
130 <td>Constructor</td> |
|
131 </tr><tr> |
|
132 <td><a href="#QRegExpWizardWidget.__getPatternSyntaxCode">__getPatternSyntaxCode</a></td> |
|
133 <td>Private method to convert a pattern syntax value into a pattern syntax string.</td> |
|
134 </tr><tr> |
|
135 <td><a href="#QRegExpWizardWidget.__insertString">__insertString</a></td> |
|
136 <td>Private method to insert a string into line edit and move cursor.</td> |
|
137 </tr><tr> |
|
138 <td><a href="#QRegExpWizardWidget.getCode">getCode</a></td> |
|
139 <td>Public method to get the source code.</td> |
|
140 </tr><tr> |
|
141 <td><a href="#QRegExpWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td> |
|
142 <td>Private slot to handle the alternatives toolbutton.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#QRegExpWizardWidget.on_anycharButton_clicked">on_anycharButton_clicked</a></td> |
|
145 <td>Private slot to handle the any character toolbutton.</td> |
|
146 </tr><tr> |
|
147 <td><a href="#QRegExpWizardWidget.on_beglineButton_clicked">on_beglineButton_clicked</a></td> |
|
148 <td>Private slot to handle the begin line toolbutton.</td> |
|
149 </tr><tr> |
|
150 <td><a href="#QRegExpWizardWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
151 <td>Private slot called by a button of the button box clicked.</td> |
|
152 </tr><tr> |
|
153 <td><a href="#QRegExpWizardWidget.on_charButton_clicked">on_charButton_clicked</a></td> |
|
154 <td>Private slot to handle the characters toolbutton.</td> |
|
155 </tr><tr> |
|
156 <td><a href="#QRegExpWizardWidget.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="#QRegExpWizardWidget.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="#QRegExpWizardWidget.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="#QRegExpWizardWidget.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="#QRegExpWizardWidget.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="#QRegExpWizardWidget.on_neglookaheadButton_clicked">on_neglookaheadButton_clicked</a></td> |
|
172 <td>Private slot to handle the negative lookahead toolbutton.</td> |
|
173 </tr><tr> |
|
174 <td><a href="#QRegExpWizardWidget.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
175 <td>Private slot to find the next match.</td> |
|
176 </tr><tr> |
|
177 <td><a href="#QRegExpWizardWidget.on_nonGroupButton_clicked">on_nonGroupButton_clicked</a></td> |
|
178 <td>Private slot to handle the non group toolbutton.</td> |
|
179 </tr><tr> |
|
180 <td><a href="#QRegExpWizardWidget.on_nonwordboundButton_clicked">on_nonwordboundButton_clicked</a></td> |
|
181 <td>Private slot to handle the non word boundary toolbutton.</td> |
|
182 </tr><tr> |
|
183 <td><a href="#QRegExpWizardWidget.on_poslookaheadButton_clicked">on_poslookaheadButton_clicked</a></td> |
|
184 <td>Private slot to handle the positive lookahead toolbutton.</td> |
|
185 </tr><tr> |
|
186 <td><a href="#QRegExpWizardWidget.on_regexpLineEdit_textChanged">on_regexpLineEdit_textChanged</a></td> |
|
187 <td>Private slot called when the regexp changes.</td> |
|
188 </tr><tr> |
|
189 <td><a href="#QRegExpWizardWidget.on_repeatButton_clicked">on_repeatButton_clicked</a></td> |
|
190 <td>Private slot to handle the repeat toolbutton.</td> |
|
191 </tr><tr> |
|
192 <td><a href="#QRegExpWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> |
|
193 <td>Private slot to save the regexp to a file.</td> |
|
194 </tr><tr> |
|
195 <td><a href="#QRegExpWizardWidget.on_syntaxCombo_currentIndexChanged">on_syntaxCombo_currentIndexChanged</a></td> |
|
196 <td>Private slot handling the selection of a pattern syntax.</td> |
|
197 </tr><tr> |
|
198 <td><a href="#QRegExpWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> |
|
199 <td>Private slot to validate the entered regexp.</td> |
|
200 </tr><tr> |
|
201 <td><a href="#QRegExpWizardWidget.on_w3cAltnButton_clicked">on_w3cAltnButton_clicked</a></td> |
|
202 <td>Private slot to handle the alternatives toolbutton.</td> |
|
203 </tr><tr> |
|
204 <td><a href="#QRegExpWizardWidget.on_w3cAnycharButton_clicked">on_w3cAnycharButton_clicked</a></td> |
|
205 <td>Private slot to handle the W3C any character toolbutton.</td> |
|
206 </tr><tr> |
|
207 <td><a href="#QRegExpWizardWidget.on_w3cCharButton_clicked">on_w3cCharButton_clicked</a></td> |
|
208 <td>Private slot to handle the wildcard characters toolbutton.</td> |
|
209 </tr><tr> |
|
210 <td><a href="#QRegExpWizardWidget.on_w3cGroupButton_clicked">on_w3cGroupButton_clicked</a></td> |
|
211 <td>Private slot to handle the W3C group toolbutton.</td> |
|
212 </tr><tr> |
|
213 <td><a href="#QRegExpWizardWidget.on_w3cRepeatButton_clicked">on_w3cRepeatButton_clicked</a></td> |
|
214 <td>Private slot to handle the W3C repeat toolbutton.</td> |
|
215 </tr><tr> |
|
216 <td><a href="#QRegExpWizardWidget.on_wildcardAnycharButton_clicked">on_wildcardAnycharButton_clicked</a></td> |
|
217 <td>Private slot to handle the wildcard any character toolbutton.</td> |
|
218 </tr><tr> |
|
219 <td><a href="#QRegExpWizardWidget.on_wildcardCharButton_clicked">on_wildcardCharButton_clicked</a></td> |
|
220 <td>Private slot to handle the wildcard characters toolbutton.</td> |
|
221 </tr><tr> |
|
222 <td><a href="#QRegExpWizardWidget.on_wildcardRepeatButton_clicked">on_wildcardRepeatButton_clicked</a></td> |
|
223 <td>Private slot to handle the wildcard multiple characters toolbutton.</td> |
|
224 </tr><tr> |
|
225 <td><a href="#QRegExpWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> |
|
226 <td>Private slot to handle the word boundary toolbutton.</td> |
|
227 </tr> |
|
228 </table> |
|
229 <h3>Static Methods</h3> |
|
230 <table> |
|
231 <tr><td>None</td></tr> |
|
232 </table> |
|
233 <a NAME="QRegExpWizardWidget.__init__" ID="QRegExpWizardWidget.__init__"></a> |
|
234 <h4>QRegExpWizardWidget (Constructor)</h4> |
|
235 <b>QRegExpWizardWidget</b>(<i>parent=None, fromEric=True</i>) |
|
236 <p> |
|
237 Constructor |
|
238 </p><dl> |
|
239 <dt><i>parent</i></dt> |
|
240 <dd> |
|
241 parent widget (QWidget) |
|
242 </dd><dt><i>fromEric</i></dt> |
|
243 <dd> |
|
244 flag indicating a call from within eric6 |
|
245 </dd> |
|
246 </dl><a NAME="QRegExpWizardWidget.__getPatternSyntaxCode" ID="QRegExpWizardWidget.__getPatternSyntaxCode"></a> |
|
247 <h4>QRegExpWizardWidget.__getPatternSyntaxCode</h4> |
|
248 <b>__getPatternSyntaxCode</b>(<i>syntaxValue</i>) |
|
249 <p> |
|
250 Private method to convert a pattern syntax value into a |
|
251 pattern syntax string. |
|
252 </p><dl> |
|
253 <dt><i>syntaxValue</i></dt> |
|
254 <dd> |
|
255 pattern syntax value (integer) |
|
256 </dd> |
|
257 </dl><dl> |
|
258 <dt>Returns:</dt> |
|
259 <dd> |
|
260 pattern syntax string (string) |
|
261 </dd> |
|
262 </dl><a NAME="QRegExpWizardWidget.__insertString" ID="QRegExpWizardWidget.__insertString"></a> |
|
263 <h4>QRegExpWizardWidget.__insertString</h4> |
|
264 <b>__insertString</b>(<i>s, steps=0</i>) |
|
265 <p> |
|
266 Private method to insert a string into line edit and move cursor. |
|
267 </p><dl> |
|
268 <dt><i>s</i></dt> |
|
269 <dd> |
|
270 string to be inserted into the regexp line edit |
|
271 (string) |
|
272 </dd><dt><i>steps</i></dt> |
|
273 <dd> |
|
274 number of characters to move the cursor (integer). |
|
275 Negative steps moves cursor back, positives forward. |
|
276 </dd> |
|
277 </dl><a NAME="QRegExpWizardWidget.getCode" ID="QRegExpWizardWidget.getCode"></a> |
|
278 <h4>QRegExpWizardWidget.getCode</h4> |
|
279 <b>getCode</b>(<i>indLevel, indString</i>) |
|
280 <p> |
|
281 Public method to get the source code. |
|
282 </p><dl> |
|
283 <dt><i>indLevel</i></dt> |
|
284 <dd> |
|
285 indentation level (int) |
|
286 </dd><dt><i>indString</i></dt> |
|
287 <dd> |
|
288 string used for indentation (space or tab) (string) |
|
289 </dd> |
|
290 </dl><dl> |
|
291 <dt>Returns:</dt> |
|
292 <dd> |
|
293 generated code (string) |
|
294 </dd> |
|
295 </dl><a NAME="QRegExpWizardWidget.on_altnButton_clicked" ID="QRegExpWizardWidget.on_altnButton_clicked"></a> |
|
296 <h4>QRegExpWizardWidget.on_altnButton_clicked</h4> |
|
297 <b>on_altnButton_clicked</b>(<i></i>) |
|
298 <p> |
|
299 Private slot to handle the alternatives toolbutton. |
|
300 </p><a NAME="QRegExpWizardWidget.on_anycharButton_clicked" ID="QRegExpWizardWidget.on_anycharButton_clicked"></a> |
|
301 <h4>QRegExpWizardWidget.on_anycharButton_clicked</h4> |
|
302 <b>on_anycharButton_clicked</b>(<i></i>) |
|
303 <p> |
|
304 Private slot to handle the any character toolbutton. |
|
305 </p><a NAME="QRegExpWizardWidget.on_beglineButton_clicked" ID="QRegExpWizardWidget.on_beglineButton_clicked"></a> |
|
306 <h4>QRegExpWizardWidget.on_beglineButton_clicked</h4> |
|
307 <b>on_beglineButton_clicked</b>(<i></i>) |
|
308 <p> |
|
309 Private slot to handle the begin line toolbutton. |
|
310 </p><a NAME="QRegExpWizardWidget.on_buttonBox_clicked" ID="QRegExpWizardWidget.on_buttonBox_clicked"></a> |
|
311 <h4>QRegExpWizardWidget.on_buttonBox_clicked</h4> |
|
312 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
313 <p> |
|
314 Private slot called by a button of the button box clicked. |
|
315 </p><dl> |
|
316 <dt><i>button</i></dt> |
|
317 <dd> |
|
318 button that was clicked (QAbstractButton) |
|
319 </dd> |
|
320 </dl><a NAME="QRegExpWizardWidget.on_charButton_clicked" ID="QRegExpWizardWidget.on_charButton_clicked"></a> |
|
321 <h4>QRegExpWizardWidget.on_charButton_clicked</h4> |
|
322 <b>on_charButton_clicked</b>(<i></i>) |
|
323 <p> |
|
324 Private slot to handle the characters toolbutton. |
|
325 </p><a NAME="QRegExpWizardWidget.on_copyButton_clicked" ID="QRegExpWizardWidget.on_copyButton_clicked"></a> |
|
326 <h4>QRegExpWizardWidget.on_copyButton_clicked</h4> |
|
327 <b>on_copyButton_clicked</b>(<i></i>) |
|
328 <p> |
|
329 Private slot to copy the regexp string into the clipboard. |
|
330 </p><p> |
|
331 This slot is only available, if not called from within eric6. |
|
332 </p><a NAME="QRegExpWizardWidget.on_endlineButton_clicked" ID="QRegExpWizardWidget.on_endlineButton_clicked"></a> |
|
333 <h4>QRegExpWizardWidget.on_endlineButton_clicked</h4> |
|
334 <b>on_endlineButton_clicked</b>(<i></i>) |
|
335 <p> |
|
336 Private slot to handle the end line toolbutton. |
|
337 </p><a NAME="QRegExpWizardWidget.on_executeButton_clicked" ID="QRegExpWizardWidget.on_executeButton_clicked"></a> |
|
338 <h4>QRegExpWizardWidget.on_executeButton_clicked</h4> |
|
339 <b>on_executeButton_clicked</b>(<i>startpos=0</i>) |
|
340 <p> |
|
341 Private slot to execute the entered regexp on the test text. |
|
342 </p><p> |
|
343 This slot will execute the entered regexp on the entered test |
|
344 data and will display the result in the table part of the dialog. |
|
345 </p><dl> |
|
346 <dt><i>startpos</i></dt> |
|
347 <dd> |
|
348 starting position for the regexp matching |
|
349 </dd> |
|
350 </dl><a NAME="QRegExpWizardWidget.on_groupButton_clicked" ID="QRegExpWizardWidget.on_groupButton_clicked"></a> |
|
351 <h4>QRegExpWizardWidget.on_groupButton_clicked</h4> |
|
352 <b>on_groupButton_clicked</b>(<i></i>) |
|
353 <p> |
|
354 Private slot to handle the group toolbutton. |
|
355 </p><a NAME="QRegExpWizardWidget.on_loadButton_clicked" ID="QRegExpWizardWidget.on_loadButton_clicked"></a> |
|
356 <h4>QRegExpWizardWidget.on_loadButton_clicked</h4> |
|
357 <b>on_loadButton_clicked</b>(<i></i>) |
|
358 <p> |
|
359 Private slot to load a regexp from a file. |
|
360 </p><a NAME="QRegExpWizardWidget.on_neglookaheadButton_clicked" ID="QRegExpWizardWidget.on_neglookaheadButton_clicked"></a> |
|
361 <h4>QRegExpWizardWidget.on_neglookaheadButton_clicked</h4> |
|
362 <b>on_neglookaheadButton_clicked</b>(<i></i>) |
|
363 <p> |
|
364 Private slot to handle the negative lookahead toolbutton. |
|
365 </p><a NAME="QRegExpWizardWidget.on_nextButton_clicked" ID="QRegExpWizardWidget.on_nextButton_clicked"></a> |
|
366 <h4>QRegExpWizardWidget.on_nextButton_clicked</h4> |
|
367 <b>on_nextButton_clicked</b>(<i></i>) |
|
368 <p> |
|
369 Private slot to find the next match. |
|
370 </p><a NAME="QRegExpWizardWidget.on_nonGroupButton_clicked" ID="QRegExpWizardWidget.on_nonGroupButton_clicked"></a> |
|
371 <h4>QRegExpWizardWidget.on_nonGroupButton_clicked</h4> |
|
372 <b>on_nonGroupButton_clicked</b>(<i></i>) |
|
373 <p> |
|
374 Private slot to handle the non group toolbutton. |
|
375 </p><a NAME="QRegExpWizardWidget.on_nonwordboundButton_clicked" ID="QRegExpWizardWidget.on_nonwordboundButton_clicked"></a> |
|
376 <h4>QRegExpWizardWidget.on_nonwordboundButton_clicked</h4> |
|
377 <b>on_nonwordboundButton_clicked</b>(<i></i>) |
|
378 <p> |
|
379 Private slot to handle the non word boundary toolbutton. |
|
380 </p><a NAME="QRegExpWizardWidget.on_poslookaheadButton_clicked" ID="QRegExpWizardWidget.on_poslookaheadButton_clicked"></a> |
|
381 <h4>QRegExpWizardWidget.on_poslookaheadButton_clicked</h4> |
|
382 <b>on_poslookaheadButton_clicked</b>(<i></i>) |
|
383 <p> |
|
384 Private slot to handle the positive lookahead toolbutton. |
|
385 </p><a NAME="QRegExpWizardWidget.on_regexpLineEdit_textChanged" ID="QRegExpWizardWidget.on_regexpLineEdit_textChanged"></a> |
|
386 <h4>QRegExpWizardWidget.on_regexpLineEdit_textChanged</h4> |
|
387 <b>on_regexpLineEdit_textChanged</b>(<i>txt</i>) |
|
388 <p> |
|
389 Private slot called when the regexp changes. |
|
390 </p><dl> |
|
391 <dt><i>txt</i></dt> |
|
392 <dd> |
|
393 the new text of the line edit (string) |
|
394 </dd> |
|
395 </dl><a NAME="QRegExpWizardWidget.on_repeatButton_clicked" ID="QRegExpWizardWidget.on_repeatButton_clicked"></a> |
|
396 <h4>QRegExpWizardWidget.on_repeatButton_clicked</h4> |
|
397 <b>on_repeatButton_clicked</b>(<i></i>) |
|
398 <p> |
|
399 Private slot to handle the repeat toolbutton. |
|
400 </p><a NAME="QRegExpWizardWidget.on_saveButton_clicked" ID="QRegExpWizardWidget.on_saveButton_clicked"></a> |
|
401 <h4>QRegExpWizardWidget.on_saveButton_clicked</h4> |
|
402 <b>on_saveButton_clicked</b>(<i></i>) |
|
403 <p> |
|
404 Private slot to save the regexp to a file. |
|
405 </p><a NAME="QRegExpWizardWidget.on_syntaxCombo_currentIndexChanged" ID="QRegExpWizardWidget.on_syntaxCombo_currentIndexChanged"></a> |
|
406 <h4>QRegExpWizardWidget.on_syntaxCombo_currentIndexChanged</h4> |
|
407 <b>on_syntaxCombo_currentIndexChanged</b>(<i>index</i>) |
|
408 <p> |
|
409 Private slot handling the selection of a pattern syntax. |
|
410 </p><dl> |
|
411 <dt><i>index</i></dt> |
|
412 <dd> |
|
413 index of the selected entry (integer) |
|
414 </dd> |
|
415 </dl><a NAME="QRegExpWizardWidget.on_validateButton_clicked" ID="QRegExpWizardWidget.on_validateButton_clicked"></a> |
|
416 <h4>QRegExpWizardWidget.on_validateButton_clicked</h4> |
|
417 <b>on_validateButton_clicked</b>(<i></i>) |
|
418 <p> |
|
419 Private slot to validate the entered regexp. |
|
420 </p><a NAME="QRegExpWizardWidget.on_w3cAltnButton_clicked" ID="QRegExpWizardWidget.on_w3cAltnButton_clicked"></a> |
|
421 <h4>QRegExpWizardWidget.on_w3cAltnButton_clicked</h4> |
|
422 <b>on_w3cAltnButton_clicked</b>(<i></i>) |
|
423 <p> |
|
424 Private slot to handle the alternatives toolbutton. |
|
425 </p><a NAME="QRegExpWizardWidget.on_w3cAnycharButton_clicked" ID="QRegExpWizardWidget.on_w3cAnycharButton_clicked"></a> |
|
426 <h4>QRegExpWizardWidget.on_w3cAnycharButton_clicked</h4> |
|
427 <b>on_w3cAnycharButton_clicked</b>(<i></i>) |
|
428 <p> |
|
429 Private slot to handle the W3C any character toolbutton. |
|
430 </p><a NAME="QRegExpWizardWidget.on_w3cCharButton_clicked" ID="QRegExpWizardWidget.on_w3cCharButton_clicked"></a> |
|
431 <h4>QRegExpWizardWidget.on_w3cCharButton_clicked</h4> |
|
432 <b>on_w3cCharButton_clicked</b>(<i></i>) |
|
433 <p> |
|
434 Private slot to handle the wildcard characters toolbutton. |
|
435 </p><a NAME="QRegExpWizardWidget.on_w3cGroupButton_clicked" ID="QRegExpWizardWidget.on_w3cGroupButton_clicked"></a> |
|
436 <h4>QRegExpWizardWidget.on_w3cGroupButton_clicked</h4> |
|
437 <b>on_w3cGroupButton_clicked</b>(<i></i>) |
|
438 <p> |
|
439 Private slot to handle the W3C group toolbutton. |
|
440 </p><a NAME="QRegExpWizardWidget.on_w3cRepeatButton_clicked" ID="QRegExpWizardWidget.on_w3cRepeatButton_clicked"></a> |
|
441 <h4>QRegExpWizardWidget.on_w3cRepeatButton_clicked</h4> |
|
442 <b>on_w3cRepeatButton_clicked</b>(<i></i>) |
|
443 <p> |
|
444 Private slot to handle the W3C repeat toolbutton. |
|
445 </p><a NAME="QRegExpWizardWidget.on_wildcardAnycharButton_clicked" ID="QRegExpWizardWidget.on_wildcardAnycharButton_clicked"></a> |
|
446 <h4>QRegExpWizardWidget.on_wildcardAnycharButton_clicked</h4> |
|
447 <b>on_wildcardAnycharButton_clicked</b>(<i></i>) |
|
448 <p> |
|
449 Private slot to handle the wildcard any character toolbutton. |
|
450 </p><a NAME="QRegExpWizardWidget.on_wildcardCharButton_clicked" ID="QRegExpWizardWidget.on_wildcardCharButton_clicked"></a> |
|
451 <h4>QRegExpWizardWidget.on_wildcardCharButton_clicked</h4> |
|
452 <b>on_wildcardCharButton_clicked</b>(<i></i>) |
|
453 <p> |
|
454 Private slot to handle the wildcard characters toolbutton. |
|
455 </p><a NAME="QRegExpWizardWidget.on_wildcardRepeatButton_clicked" ID="QRegExpWizardWidget.on_wildcardRepeatButton_clicked"></a> |
|
456 <h4>QRegExpWizardWidget.on_wildcardRepeatButton_clicked</h4> |
|
457 <b>on_wildcardRepeatButton_clicked</b>(<i></i>) |
|
458 <p> |
|
459 Private slot to handle the wildcard multiple characters toolbutton. |
|
460 </p><a NAME="QRegExpWizardWidget.on_wordboundButton_clicked" ID="QRegExpWizardWidget.on_wordboundButton_clicked"></a> |
|
461 <h4>QRegExpWizardWidget.on_wordboundButton_clicked</h4> |
|
462 <b>on_wordboundButton_clicked</b>(<i></i>) |
|
463 <p> |
|
464 Private slot to handle the word boundary toolbutton. |
|
465 </p> |
|
466 <div align="right"><a href="#top">Up</a></div> |
|
467 <hr /><hr /> |
|
468 <a NAME="QRegExpWizardWindow" ID="QRegExpWizardWindow"></a> |
|
469 <h2>QRegExpWizardWindow</h2> |
|
470 <p> |
|
471 Main window class for the standalone dialog. |
|
472 </p> |
|
473 <h3>Derived from</h3> |
|
474 E5MainWindow |
|
475 <h3>Class Attributes</h3> |
|
476 <table> |
|
477 <tr><td>None</td></tr> |
|
478 </table> |
|
479 <h3>Class Methods</h3> |
|
480 <table> |
|
481 <tr><td>None</td></tr> |
|
482 </table> |
|
483 <h3>Methods</h3> |
|
484 <table> |
|
485 <tr> |
|
486 <td><a href="#QRegExpWizardWindow.__init__">QRegExpWizardWindow</a></td> |
|
487 <td>Constructor</td> |
|
488 </tr> |
|
489 </table> |
|
490 <h3>Static Methods</h3> |
|
491 <table> |
|
492 <tr><td>None</td></tr> |
|
493 </table> |
|
494 <a NAME="QRegExpWizardWindow.__init__" ID="QRegExpWizardWindow.__init__"></a> |
|
495 <h4>QRegExpWizardWindow (Constructor)</h4> |
|
496 <b>QRegExpWizardWindow</b>(<i>parent=None</i>) |
|
497 <p> |
|
498 Constructor |
|
499 </p><dl> |
|
500 <dt><i>parent</i></dt> |
|
501 <dd> |
|
502 reference to the parent widget (QWidget) |
|
503 </dd> |
|
504 </dl> |
|
505 <div align="right"><a href="#top">Up</a></div> |
|
506 <hr /> |
|
507 </body></html> |