|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardDialog</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.QRegularExpressionWizard.QRegularExpressionWizardDialog</h1> |
|
23 <p> |
|
24 Module implementing the QRegularExpression 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="#QRegularExpressionWizardDialog">QRegularExpressionWizardDialog</a></td> |
|
34 <td>Class for the dialog variant.</td> |
|
35 </tr><tr> |
|
36 <td><a href="#QRegularExpressionWizardWidget">QRegularExpressionWizardWidget</a></td> |
|
37 <td>Class implementing the QRegularExpression wizard dialog.</td> |
|
38 </tr><tr> |
|
39 <td><a href="#QRegularExpressionWizardWindow">QRegularExpressionWizardWindow</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="QRegularExpressionWizardDialog" ID="QRegularExpressionWizardDialog"></a> |
|
49 <h2>QRegularExpressionWizardDialog</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="#QRegularExpressionWizardDialog.__init__">QRegularExpressionWizardDialog</a></td> |
|
67 <td>Constructor</td> |
|
68 </tr><tr> |
|
69 <td><a href="#QRegularExpressionWizardDialog.accept">accept</a></td> |
|
70 <td>Public slot to hide the dialog and set the result code to Accepted.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#QRegularExpressionWizardDialog.getCode">getCode</a></td> |
|
73 <td>Public method to get the source code.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#QRegularExpressionWizardDialog.reject">reject</a></td> |
|
76 <td>Public slot to hide the dialog and set the result code to Rejected.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="QRegularExpressionWizardDialog.__init__" ID="QRegularExpressionWizardDialog.__init__"></a> |
|
84 <h4>QRegularExpressionWizardDialog (Constructor)</h4> |
|
85 <b>QRegularExpressionWizardDialog</b>(<i>parent=None, fromEric=True</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 parent widget (QWidget) |
|
92 </dd><dt><i>fromEric</i></dt> |
|
93 <dd> |
|
94 flag indicating a call from within eric6 |
|
95 </dd> |
|
96 </dl><a NAME="QRegularExpressionWizardDialog.accept" ID="QRegularExpressionWizardDialog.accept"></a> |
|
97 <h4>QRegularExpressionWizardDialog.accept</h4> |
|
98 <b>accept</b>(<i></i>) |
|
99 <p> |
|
100 Public slot to hide the dialog and set the result code to Accepted. |
|
101 </p><a NAME="QRegularExpressionWizardDialog.getCode" ID="QRegularExpressionWizardDialog.getCode"></a> |
|
102 <h4>QRegularExpressionWizardDialog.getCode</h4> |
|
103 <b>getCode</b>(<i>indLevel, indString</i>) |
|
104 <p> |
|
105 Public method to get the source code. |
|
106 </p><dl> |
|
107 <dt><i>indLevel</i></dt> |
|
108 <dd> |
|
109 indentation level (int) |
|
110 </dd><dt><i>indString</i></dt> |
|
111 <dd> |
|
112 string used for indentation (space or tab) (string) |
|
113 </dd> |
|
114 </dl><dl> |
|
115 <dt>Returns:</dt> |
|
116 <dd> |
|
117 generated code (string) |
|
118 </dd> |
|
119 </dl><a NAME="QRegularExpressionWizardDialog.reject" ID="QRegularExpressionWizardDialog.reject"></a> |
|
120 <h4>QRegularExpressionWizardDialog.reject</h4> |
|
121 <b>reject</b>(<i></i>) |
|
122 <p> |
|
123 Public slot to hide the dialog and set the result code to Rejected. |
|
124 </p> |
|
125 <div align="right"><a href="#top">Up</a></div> |
|
126 <hr /><hr /> |
|
127 <a NAME="QRegularExpressionWizardWidget" ID="QRegularExpressionWizardWidget"></a> |
|
128 <h2>QRegularExpressionWizardWidget</h2> |
|
129 <p> |
|
130 Class implementing the QRegularExpression wizard dialog. |
|
131 </p> |
|
132 <h3>Derived from</h3> |
|
133 QWidget, Ui_QRegularExpressionWizardDialog |
|
134 <h3>Class Attributes</h3> |
|
135 <table> |
|
136 <tr><td>None</td></tr> |
|
137 </table> |
|
138 <h3>Class Methods</h3> |
|
139 <table> |
|
140 <tr><td>None</td></tr> |
|
141 </table> |
|
142 <h3>Methods</h3> |
|
143 <table> |
|
144 <tr> |
|
145 <td><a href="#QRegularExpressionWizardWidget.__init__">QRegularExpressionWizardWidget</a></td> |
|
146 <td>Constructor</td> |
|
147 </tr><tr> |
|
148 <td><a href="#QRegularExpressionWizardWidget.__insertString">__insertString</a></td> |
|
149 <td>Private method to insert a string into line edit and move cursor.</td> |
|
150 </tr><tr> |
|
151 <td><a href="#QRegularExpressionWizardWidget.__receiveResponse">__receiveResponse</a></td> |
|
152 <td>Private method to receive a response from the PyQt5 server.</td> |
|
153 </tr><tr> |
|
154 <td><a href="#QRegularExpressionWizardWidget.__sendCommand">__sendCommand</a></td> |
|
155 <td>Private method to send a command to the PyQt5 server.</td> |
|
156 </tr><tr> |
|
157 <td><a href="#QRegularExpressionWizardWidget.getCode">getCode</a></td> |
|
158 <td>Public method to get the source code.</td> |
|
159 </tr><tr> |
|
160 <td><a href="#QRegularExpressionWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td> |
|
161 <td>Private slot to handle the alternatives toolbutton.</td> |
|
162 </tr><tr> |
|
163 <td><a href="#QRegularExpressionWizardWidget.on_anycharButton_clicked">on_anycharButton_clicked</a></td> |
|
164 <td>Private slot to handle the any character toolbutton.</td> |
|
165 </tr><tr> |
|
166 <td><a href="#QRegularExpressionWizardWidget.on_atomicGroupButton_clicked">on_atomicGroupButton_clicked</a></td> |
|
167 <td>Private slot to handle the atomic non group toolbutton.</td> |
|
168 </tr><tr> |
|
169 <td><a href="#QRegularExpressionWizardWidget.on_beglineButton_clicked">on_beglineButton_clicked</a></td> |
|
170 <td>Private slot to handle the begin line toolbutton.</td> |
|
171 </tr><tr> |
|
172 <td><a href="#QRegularExpressionWizardWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
173 <td>Private slot called by a button of the button box clicked.</td> |
|
174 </tr><tr> |
|
175 <td><a href="#QRegularExpressionWizardWidget.on_charButton_clicked">on_charButton_clicked</a></td> |
|
176 <td>Private slot to handle the characters toolbutton.</td> |
|
177 </tr><tr> |
|
178 <td><a href="#QRegularExpressionWizardWidget.on_commentButton_clicked">on_commentButton_clicked</a></td> |
|
179 <td>Private slot to handle the comment toolbutton.</td> |
|
180 </tr><tr> |
|
181 <td><a href="#QRegularExpressionWizardWidget.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
182 <td>Private slot to copy the QRegularExpression string into the clipboard.</td> |
|
183 </tr><tr> |
|
184 <td><a href="#QRegularExpressionWizardWidget.on_endlineButton_clicked">on_endlineButton_clicked</a></td> |
|
185 <td>Private slot to handle the end line toolbutton.</td> |
|
186 </tr><tr> |
|
187 <td><a href="#QRegularExpressionWizardWidget.on_executeButton_clicked">on_executeButton_clicked</a></td> |
|
188 <td>Private slot to execute the entered QRegularExpression on the test text.</td> |
|
189 </tr><tr> |
|
190 <td><a href="#QRegularExpressionWizardWidget.on_groupButton_clicked">on_groupButton_clicked</a></td> |
|
191 <td>Private slot to handle the group toolbutton.</td> |
|
192 </tr><tr> |
|
193 <td><a href="#QRegularExpressionWizardWidget.on_loadButton_clicked">on_loadButton_clicked</a></td> |
|
194 <td>Private slot to load a QRegularExpression from a file.</td> |
|
195 </tr><tr> |
|
196 <td><a href="#QRegularExpressionWizardWidget.on_namedGroupButton_clicked">on_namedGroupButton_clicked</a></td> |
|
197 <td>Private slot to handle the named group toolbutton.</td> |
|
198 </tr><tr> |
|
199 <td><a href="#QRegularExpressionWizardWidget.on_namedReferenceButton_clicked">on_namedReferenceButton_clicked</a></td> |
|
200 <td>Private slot to handle the named reference toolbutton.</td> |
|
201 </tr><tr> |
|
202 <td><a href="#QRegularExpressionWizardWidget.on_neglookaheadButton_clicked">on_neglookaheadButton_clicked</a></td> |
|
203 <td>Private slot to handle the negative lookahead toolbutton.</td> |
|
204 </tr><tr> |
|
205 <td><a href="#QRegularExpressionWizardWidget.on_neglookbehindButton_clicked">on_neglookbehindButton_clicked</a></td> |
|
206 <td>Private slot to handle the negative lookbehind toolbutton.</td> |
|
207 </tr><tr> |
|
208 <td><a href="#QRegularExpressionWizardWidget.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
209 <td>Private slot to find the next match.</td> |
|
210 </tr><tr> |
|
211 <td><a href="#QRegularExpressionWizardWidget.on_nonGroupButton_clicked">on_nonGroupButton_clicked</a></td> |
|
212 <td>Private slot to handle the non group toolbutton.</td> |
|
213 </tr><tr> |
|
214 <td><a href="#QRegularExpressionWizardWidget.on_nonwordboundButton_clicked">on_nonwordboundButton_clicked</a></td> |
|
215 <td>Private slot to handle the non word boundary toolbutton.</td> |
|
216 </tr><tr> |
|
217 <td><a href="#QRegularExpressionWizardWidget.on_poslookaheadButton_clicked">on_poslookaheadButton_clicked</a></td> |
|
218 <td>Private slot to handle the positive lookahead toolbutton.</td> |
|
219 </tr><tr> |
|
220 <td><a href="#QRegularExpressionWizardWidget.on_poslookbehindButton_clicked">on_poslookbehindButton_clicked</a></td> |
|
221 <td>Private slot to handle the positive lookbehind toolbutton.</td> |
|
222 </tr><tr> |
|
223 <td><a href="#QRegularExpressionWizardWidget.on_redoButton_clicked">on_redoButton_clicked</a></td> |
|
224 <td>Private slot to handle the redo action.</td> |
|
225 </tr><tr> |
|
226 <td><a href="#QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged">on_regexpTextEdit_textChanged</a></td> |
|
227 <td>Private slot called when the regexp changes.</td> |
|
228 </tr><tr> |
|
229 <td><a href="#QRegularExpressionWizardWidget.on_repeatButton_clicked">on_repeatButton_clicked</a></td> |
|
230 <td>Private slot to handle the repeat toolbutton.</td> |
|
231 </tr><tr> |
|
232 <td><a href="#QRegularExpressionWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> |
|
233 <td>Private slot to save the QRegularExpression to a file.</td> |
|
234 </tr><tr> |
|
235 <td><a href="#QRegularExpressionWizardWidget.on_undoButton_clicked">on_undoButton_clicked</a></td> |
|
236 <td>Private slot to handle the undo action.</td> |
|
237 </tr><tr> |
|
238 <td><a href="#QRegularExpressionWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> |
|
239 <td>Private slot to validate the entered QRegularExpression.</td> |
|
240 </tr><tr> |
|
241 <td><a href="#QRegularExpressionWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> |
|
242 <td>Private slot to handle the word boundary toolbutton.</td> |
|
243 </tr><tr> |
|
244 <td><a href="#QRegularExpressionWizardWidget.shutdown">shutdown</a></td> |
|
245 <td>Public method to shut down the PyQt5 server part.</td> |
|
246 </tr> |
|
247 </table> |
|
248 <h3>Static Methods</h3> |
|
249 <table> |
|
250 <tr><td>None</td></tr> |
|
251 </table> |
|
252 <a NAME="QRegularExpressionWizardWidget.__init__" ID="QRegularExpressionWizardWidget.__init__"></a> |
|
253 <h4>QRegularExpressionWizardWidget (Constructor)</h4> |
|
254 <b>QRegularExpressionWizardWidget</b>(<i>parent=None, fromEric=True</i>) |
|
255 <p> |
|
256 Constructor |
|
257 </p><dl> |
|
258 <dt><i>parent</i></dt> |
|
259 <dd> |
|
260 parent widget (QWidget) |
|
261 </dd><dt><i>fromEric</i></dt> |
|
262 <dd> |
|
263 flag indicating a call from within eric6 |
|
264 </dd> |
|
265 </dl><a NAME="QRegularExpressionWizardWidget.__insertString" ID="QRegularExpressionWizardWidget.__insertString"></a> |
|
266 <h4>QRegularExpressionWizardWidget.__insertString</h4> |
|
267 <b>__insertString</b>(<i>s, steps=0</i>) |
|
268 <p> |
|
269 Private method to insert a string into line edit and move cursor. |
|
270 </p><dl> |
|
271 <dt><i>s</i></dt> |
|
272 <dd> |
|
273 string to be inserted into the regexp line edit |
|
274 (string) |
|
275 </dd><dt><i>steps</i></dt> |
|
276 <dd> |
|
277 number of characters to move the cursor (integer). |
|
278 Negative steps moves cursor back, positives forward. |
|
279 </dd> |
|
280 </dl><a NAME="QRegularExpressionWizardWidget.__receiveResponse" ID="QRegularExpressionWizardWidget.__receiveResponse"></a> |
|
281 <h4>QRegularExpressionWizardWidget.__receiveResponse</h4> |
|
282 <b>__receiveResponse</b>(<i></i>) |
|
283 <p> |
|
284 Private method to receive a response from the PyQt5 server. |
|
285 </p><dl> |
|
286 <dt>Returns:</dt> |
|
287 <dd> |
|
288 response dictionary (dict) |
|
289 </dd> |
|
290 </dl><a NAME="QRegularExpressionWizardWidget.__sendCommand" ID="QRegularExpressionWizardWidget.__sendCommand"></a> |
|
291 <h4>QRegularExpressionWizardWidget.__sendCommand</h4> |
|
292 <b>__sendCommand</b>(<i>command, **kw</i>) |
|
293 <p> |
|
294 Private method to send a command to the PyQt5 server. |
|
295 </p><dl> |
|
296 <dt><i>command</i></dt> |
|
297 <dd> |
|
298 dictionary with command string and related |
|
299 data (dict) |
|
300 </dd><dt><i>kw=</i></dt> |
|
301 <dd> |
|
302 parameters for the command |
|
303 </dd> |
|
304 </dl><dl> |
|
305 <dt>Returns:</dt> |
|
306 <dd> |
|
307 flag indicating a successful transmission (boolean) |
|
308 </dd> |
|
309 </dl><a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a> |
|
310 <h4>QRegularExpressionWizardWidget.getCode</h4> |
|
311 <b>getCode</b>(<i>indLevel, indString</i>) |
|
312 <p> |
|
313 Public method to get the source code. |
|
314 </p><dl> |
|
315 <dt><i>indLevel</i></dt> |
|
316 <dd> |
|
317 indentation level (int) |
|
318 </dd><dt><i>indString</i></dt> |
|
319 <dd> |
|
320 string used for indentation (space or tab) (string) |
|
321 </dd> |
|
322 </dl><dl> |
|
323 <dt>Returns:</dt> |
|
324 <dd> |
|
325 generated code (string) |
|
326 </dd> |
|
327 </dl><a NAME="QRegularExpressionWizardWidget.on_altnButton_clicked" ID="QRegularExpressionWizardWidget.on_altnButton_clicked"></a> |
|
328 <h4>QRegularExpressionWizardWidget.on_altnButton_clicked</h4> |
|
329 <b>on_altnButton_clicked</b>(<i></i>) |
|
330 <p> |
|
331 Private slot to handle the alternatives toolbutton. |
|
332 </p><a NAME="QRegularExpressionWizardWidget.on_anycharButton_clicked" ID="QRegularExpressionWizardWidget.on_anycharButton_clicked"></a> |
|
333 <h4>QRegularExpressionWizardWidget.on_anycharButton_clicked</h4> |
|
334 <b>on_anycharButton_clicked</b>(<i></i>) |
|
335 <p> |
|
336 Private slot to handle the any character toolbutton. |
|
337 </p><a NAME="QRegularExpressionWizardWidget.on_atomicGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_atomicGroupButton_clicked"></a> |
|
338 <h4>QRegularExpressionWizardWidget.on_atomicGroupButton_clicked</h4> |
|
339 <b>on_atomicGroupButton_clicked</b>(<i></i>) |
|
340 <p> |
|
341 Private slot to handle the atomic non group toolbutton. |
|
342 </p><a NAME="QRegularExpressionWizardWidget.on_beglineButton_clicked" ID="QRegularExpressionWizardWidget.on_beglineButton_clicked"></a> |
|
343 <h4>QRegularExpressionWizardWidget.on_beglineButton_clicked</h4> |
|
344 <b>on_beglineButton_clicked</b>(<i></i>) |
|
345 <p> |
|
346 Private slot to handle the begin line toolbutton. |
|
347 </p><a NAME="QRegularExpressionWizardWidget.on_buttonBox_clicked" ID="QRegularExpressionWizardWidget.on_buttonBox_clicked"></a> |
|
348 <h4>QRegularExpressionWizardWidget.on_buttonBox_clicked</h4> |
|
349 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
350 <p> |
|
351 Private slot called by a button of the button box clicked. |
|
352 </p><dl> |
|
353 <dt><i>button</i></dt> |
|
354 <dd> |
|
355 button that was clicked (QAbstractButton) |
|
356 </dd> |
|
357 </dl><a NAME="QRegularExpressionWizardWidget.on_charButton_clicked" ID="QRegularExpressionWizardWidget.on_charButton_clicked"></a> |
|
358 <h4>QRegularExpressionWizardWidget.on_charButton_clicked</h4> |
|
359 <b>on_charButton_clicked</b>(<i></i>) |
|
360 <p> |
|
361 Private slot to handle the characters toolbutton. |
|
362 </p><a NAME="QRegularExpressionWizardWidget.on_commentButton_clicked" ID="QRegularExpressionWizardWidget.on_commentButton_clicked"></a> |
|
363 <h4>QRegularExpressionWizardWidget.on_commentButton_clicked</h4> |
|
364 <b>on_commentButton_clicked</b>(<i></i>) |
|
365 <p> |
|
366 Private slot to handle the comment toolbutton. |
|
367 </p><a NAME="QRegularExpressionWizardWidget.on_copyButton_clicked" ID="QRegularExpressionWizardWidget.on_copyButton_clicked"></a> |
|
368 <h4>QRegularExpressionWizardWidget.on_copyButton_clicked</h4> |
|
369 <b>on_copyButton_clicked</b>(<i></i>) |
|
370 <p> |
|
371 Private slot to copy the QRegularExpression string into the clipboard. |
|
372 </p><p> |
|
373 This slot is only available, if not called from within eric6. |
|
374 </p><a NAME="QRegularExpressionWizardWidget.on_endlineButton_clicked" ID="QRegularExpressionWizardWidget.on_endlineButton_clicked"></a> |
|
375 <h4>QRegularExpressionWizardWidget.on_endlineButton_clicked</h4> |
|
376 <b>on_endlineButton_clicked</b>(<i></i>) |
|
377 <p> |
|
378 Private slot to handle the end line toolbutton. |
|
379 </p><a NAME="QRegularExpressionWizardWidget.on_executeButton_clicked" ID="QRegularExpressionWizardWidget.on_executeButton_clicked"></a> |
|
380 <h4>QRegularExpressionWizardWidget.on_executeButton_clicked</h4> |
|
381 <b>on_executeButton_clicked</b>(<i>startpos=0</i>) |
|
382 <p> |
|
383 Private slot to execute the entered QRegularExpression on the test |
|
384 text. |
|
385 </p><p> |
|
386 This slot will execute the entered QRegularExpression on the entered |
|
387 test data and will display the result in the table part of the dialog. |
|
388 </p><dl> |
|
389 <dt><i>startpos</i></dt> |
|
390 <dd> |
|
391 starting position for the QRegularExpression matching |
|
392 </dd> |
|
393 </dl><a NAME="QRegularExpressionWizardWidget.on_groupButton_clicked" ID="QRegularExpressionWizardWidget.on_groupButton_clicked"></a> |
|
394 <h4>QRegularExpressionWizardWidget.on_groupButton_clicked</h4> |
|
395 <b>on_groupButton_clicked</b>(<i></i>) |
|
396 <p> |
|
397 Private slot to handle the group toolbutton. |
|
398 </p><a NAME="QRegularExpressionWizardWidget.on_loadButton_clicked" ID="QRegularExpressionWizardWidget.on_loadButton_clicked"></a> |
|
399 <h4>QRegularExpressionWizardWidget.on_loadButton_clicked</h4> |
|
400 <b>on_loadButton_clicked</b>(<i></i>) |
|
401 <p> |
|
402 Private slot to load a QRegularExpression from a file. |
|
403 </p><a NAME="QRegularExpressionWizardWidget.on_namedGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_namedGroupButton_clicked"></a> |
|
404 <h4>QRegularExpressionWizardWidget.on_namedGroupButton_clicked</h4> |
|
405 <b>on_namedGroupButton_clicked</b>(<i></i>) |
|
406 <p> |
|
407 Private slot to handle the named group toolbutton. |
|
408 </p><a NAME="QRegularExpressionWizardWidget.on_namedReferenceButton_clicked" ID="QRegularExpressionWizardWidget.on_namedReferenceButton_clicked"></a> |
|
409 <h4>QRegularExpressionWizardWidget.on_namedReferenceButton_clicked</h4> |
|
410 <b>on_namedReferenceButton_clicked</b>(<i></i>) |
|
411 <p> |
|
412 Private slot to handle the named reference toolbutton. |
|
413 </p><a NAME="QRegularExpressionWizardWidget.on_neglookaheadButton_clicked" ID="QRegularExpressionWizardWidget.on_neglookaheadButton_clicked"></a> |
|
414 <h4>QRegularExpressionWizardWidget.on_neglookaheadButton_clicked</h4> |
|
415 <b>on_neglookaheadButton_clicked</b>(<i></i>) |
|
416 <p> |
|
417 Private slot to handle the negative lookahead toolbutton. |
|
418 </p><a NAME="QRegularExpressionWizardWidget.on_neglookbehindButton_clicked" ID="QRegularExpressionWizardWidget.on_neglookbehindButton_clicked"></a> |
|
419 <h4>QRegularExpressionWizardWidget.on_neglookbehindButton_clicked</h4> |
|
420 <b>on_neglookbehindButton_clicked</b>(<i></i>) |
|
421 <p> |
|
422 Private slot to handle the negative lookbehind toolbutton. |
|
423 </p><a NAME="QRegularExpressionWizardWidget.on_nextButton_clicked" ID="QRegularExpressionWizardWidget.on_nextButton_clicked"></a> |
|
424 <h4>QRegularExpressionWizardWidget.on_nextButton_clicked</h4> |
|
425 <b>on_nextButton_clicked</b>(<i></i>) |
|
426 <p> |
|
427 Private slot to find the next match. |
|
428 </p><a NAME="QRegularExpressionWizardWidget.on_nonGroupButton_clicked" ID="QRegularExpressionWizardWidget.on_nonGroupButton_clicked"></a> |
|
429 <h4>QRegularExpressionWizardWidget.on_nonGroupButton_clicked</h4> |
|
430 <b>on_nonGroupButton_clicked</b>(<i></i>) |
|
431 <p> |
|
432 Private slot to handle the non group toolbutton. |
|
433 </p><a NAME="QRegularExpressionWizardWidget.on_nonwordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_nonwordboundButton_clicked"></a> |
|
434 <h4>QRegularExpressionWizardWidget.on_nonwordboundButton_clicked</h4> |
|
435 <b>on_nonwordboundButton_clicked</b>(<i></i>) |
|
436 <p> |
|
437 Private slot to handle the non word boundary toolbutton. |
|
438 </p><a NAME="QRegularExpressionWizardWidget.on_poslookaheadButton_clicked" ID="QRegularExpressionWizardWidget.on_poslookaheadButton_clicked"></a> |
|
439 <h4>QRegularExpressionWizardWidget.on_poslookaheadButton_clicked</h4> |
|
440 <b>on_poslookaheadButton_clicked</b>(<i></i>) |
|
441 <p> |
|
442 Private slot to handle the positive lookahead toolbutton. |
|
443 </p><a NAME="QRegularExpressionWizardWidget.on_poslookbehindButton_clicked" ID="QRegularExpressionWizardWidget.on_poslookbehindButton_clicked"></a> |
|
444 <h4>QRegularExpressionWizardWidget.on_poslookbehindButton_clicked</h4> |
|
445 <b>on_poslookbehindButton_clicked</b>(<i></i>) |
|
446 <p> |
|
447 Private slot to handle the positive lookbehind toolbutton. |
|
448 </p><a NAME="QRegularExpressionWizardWidget.on_redoButton_clicked" ID="QRegularExpressionWizardWidget.on_redoButton_clicked"></a> |
|
449 <h4>QRegularExpressionWizardWidget.on_redoButton_clicked</h4> |
|
450 <b>on_redoButton_clicked</b>(<i></i>) |
|
451 <p> |
|
452 Private slot to handle the redo action. |
|
453 </p><a NAME="QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged" ID="QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged"></a> |
|
454 <h4>QRegularExpressionWizardWidget.on_regexpTextEdit_textChanged</h4> |
|
455 <b>on_regexpTextEdit_textChanged</b>(<i></i>) |
|
456 <p> |
|
457 Private slot called when the regexp changes. |
|
458 </p><a NAME="QRegularExpressionWizardWidget.on_repeatButton_clicked" ID="QRegularExpressionWizardWidget.on_repeatButton_clicked"></a> |
|
459 <h4>QRegularExpressionWizardWidget.on_repeatButton_clicked</h4> |
|
460 <b>on_repeatButton_clicked</b>(<i></i>) |
|
461 <p> |
|
462 Private slot to handle the repeat toolbutton. |
|
463 </p><a NAME="QRegularExpressionWizardWidget.on_saveButton_clicked" ID="QRegularExpressionWizardWidget.on_saveButton_clicked"></a> |
|
464 <h4>QRegularExpressionWizardWidget.on_saveButton_clicked</h4> |
|
465 <b>on_saveButton_clicked</b>(<i></i>) |
|
466 <p> |
|
467 Private slot to save the QRegularExpression to a file. |
|
468 </p><a NAME="QRegularExpressionWizardWidget.on_undoButton_clicked" ID="QRegularExpressionWizardWidget.on_undoButton_clicked"></a> |
|
469 <h4>QRegularExpressionWizardWidget.on_undoButton_clicked</h4> |
|
470 <b>on_undoButton_clicked</b>(<i></i>) |
|
471 <p> |
|
472 Private slot to handle the undo action. |
|
473 </p><a NAME="QRegularExpressionWizardWidget.on_validateButton_clicked" ID="QRegularExpressionWizardWidget.on_validateButton_clicked"></a> |
|
474 <h4>QRegularExpressionWizardWidget.on_validateButton_clicked</h4> |
|
475 <b>on_validateButton_clicked</b>(<i></i>) |
|
476 <p> |
|
477 Private slot to validate the entered QRegularExpression. |
|
478 </p><a NAME="QRegularExpressionWizardWidget.on_wordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_wordboundButton_clicked"></a> |
|
479 <h4>QRegularExpressionWizardWidget.on_wordboundButton_clicked</h4> |
|
480 <b>on_wordboundButton_clicked</b>(<i></i>) |
|
481 <p> |
|
482 Private slot to handle the word boundary toolbutton. |
|
483 </p><a NAME="QRegularExpressionWizardWidget.shutdown" ID="QRegularExpressionWizardWidget.shutdown"></a> |
|
484 <h4>QRegularExpressionWizardWidget.shutdown</h4> |
|
485 <b>shutdown</b>(<i></i>) |
|
486 <p> |
|
487 Public method to shut down the PyQt5 server part. |
|
488 </p> |
|
489 <div align="right"><a href="#top">Up</a></div> |
|
490 <hr /><hr /> |
|
491 <a NAME="QRegularExpressionWizardWindow" ID="QRegularExpressionWizardWindow"></a> |
|
492 <h2>QRegularExpressionWizardWindow</h2> |
|
493 <p> |
|
494 Main window class for the standalone dialog. |
|
495 </p> |
|
496 <h3>Derived from</h3> |
|
497 E5MainWindow |
|
498 <h3>Class Attributes</h3> |
|
499 <table> |
|
500 <tr><td>None</td></tr> |
|
501 </table> |
|
502 <h3>Class Methods</h3> |
|
503 <table> |
|
504 <tr><td>None</td></tr> |
|
505 </table> |
|
506 <h3>Methods</h3> |
|
507 <table> |
|
508 <tr> |
|
509 <td><a href="#QRegularExpressionWizardWindow.__init__">QRegularExpressionWizardWindow</a></td> |
|
510 <td>Constructor</td> |
|
511 </tr><tr> |
|
512 <td><a href="#QRegularExpressionWizardWindow.closeEvent">closeEvent</a></td> |
|
513 <td>Protected method handling the close event.</td> |
|
514 </tr> |
|
515 </table> |
|
516 <h3>Static Methods</h3> |
|
517 <table> |
|
518 <tr><td>None</td></tr> |
|
519 </table> |
|
520 <a NAME="QRegularExpressionWizardWindow.__init__" ID="QRegularExpressionWizardWindow.__init__"></a> |
|
521 <h4>QRegularExpressionWizardWindow (Constructor)</h4> |
|
522 <b>QRegularExpressionWizardWindow</b>(<i>parent=None</i>) |
|
523 <p> |
|
524 Constructor |
|
525 </p><dl> |
|
526 <dt><i>parent</i></dt> |
|
527 <dd> |
|
528 reference to the parent widget (QWidget) |
|
529 </dd> |
|
530 </dl><a NAME="QRegularExpressionWizardWindow.closeEvent" ID="QRegularExpressionWizardWindow.closeEvent"></a> |
|
531 <h4>QRegularExpressionWizardWindow.closeEvent</h4> |
|
532 <b>closeEvent</b>(<i>evt</i>) |
|
533 <p> |
|
534 Protected method handling the close event. |
|
535 </p><dl> |
|
536 <dt><i>evt</i></dt> |
|
537 <dd> |
|
538 close event (QCloseEvent) |
|
539 </dd> |
|
540 </dl> |
|
541 <div align="right"><a href="#top">Up</a></div> |
|
542 <hr /> |
|
543 </body></html> |