Documentation/Source/eric5.Plugins.WizardPlugins.QRegExpWizard.QRegExpWizardDialog.html

changeset 1818
a5e4cb4bed43
parent 1229
a8207dc73672
child 2101
5bac7dee9e1a
equal deleted inserted replaced
1817:cb644326633e 1818:a5e4cb4bed43
113 <h2>QRegExpWizardWidget</h2> 113 <h2>QRegExpWizardWidget</h2>
114 <p> 114 <p>
115 Class implementing the QRegExp wizard dialog. 115 Class implementing the QRegExp wizard dialog.
116 </p> 116 </p>
117 <h3>Derived from</h3> 117 <h3>Derived from</h3>
118 QWidget, Ui_QRegExpWizardDialog 118 QWidget, Ui_QRegExpWizardWidget
119 <h3>Class Attributes</h3> 119 <h3>Class Attributes</h3>
120 <table> 120 <table>
121 <tr><td>None</td></tr> 121 <tr><td>None</td></tr>
122 </table> 122 </table>
123 <h3>Class Methods</h3> 123 <h3>Class Methods</h3>
128 <table> 128 <table>
129 <tr> 129 <tr>
130 <td><a href="#QRegExpWizardWidget.__init__">QRegExpWizardWidget</a></td> 130 <td><a href="#QRegExpWizardWidget.__init__">QRegExpWizardWidget</a></td>
131 <td>Constructor</td> 131 <td>Constructor</td>
132 </tr><tr> 132 </tr><tr>
133 <td><a href="#QRegExpWizardWidget.__getPatternSyntaxCode">__getPatternSyntaxCode</a></td>
134 <td>Private method to convert a pattern syntax value into a pattern syntax string.</td>
135 </tr><tr>
133 <td><a href="#QRegExpWizardWidget.__insertString">__insertString</a></td> 136 <td><a href="#QRegExpWizardWidget.__insertString">__insertString</a></td>
134 <td>Private method to insert a string into line edit and move cursor.</td> 137 <td>Private method to insert a string into line edit and move cursor.</td>
135 </tr><tr> 138 </tr><tr>
136 <td><a href="#QRegExpWizardWidget.getCode">getCode</a></td> 139 <td><a href="#QRegExpWizardWidget.getCode">getCode</a></td>
137 <td>Public method to get the source code.</td> 140 <td>Public method to get the source code.</td>
188 <td>Private slot to handle the repeat toolbutton.</td> 191 <td>Private slot to handle the repeat toolbutton.</td>
189 </tr><tr> 192 </tr><tr>
190 <td><a href="#QRegExpWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> 193 <td><a href="#QRegExpWizardWidget.on_saveButton_clicked">on_saveButton_clicked</a></td>
191 <td>Private slot to save the regexp to a file.</td> 194 <td>Private slot to save the regexp to a file.</td>
192 </tr><tr> 195 </tr><tr>
196 <td><a href="#QRegExpWizardWidget.on_syntaxCombo_currentIndexChanged">on_syntaxCombo_currentIndexChanged</a></td>
197 <td>Private slot handling the selection of a pattern syntax.</td>
198 </tr><tr>
193 <td><a href="#QRegExpWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> 199 <td><a href="#QRegExpWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td>
194 <td>Private slot to validate the entered regexp.</td> 200 <td>Private slot to validate the entered regexp.</td>
201 </tr><tr>
202 <td><a href="#QRegExpWizardWidget.on_w3cAltnButton_clicked">on_w3cAltnButton_clicked</a></td>
203 <td>Private slot to handle the alternatives toolbutton.</td>
204 </tr><tr>
205 <td><a href="#QRegExpWizardWidget.on_w3cAnycharButton_clicked">on_w3cAnycharButton_clicked</a></td>
206 <td>Private slot to handle the W3C any character toolbutton.</td>
207 </tr><tr>
208 <td><a href="#QRegExpWizardWidget.on_w3cCharButton_clicked">on_w3cCharButton_clicked</a></td>
209 <td>Private slot to handle the wildcard characters toolbutton.</td>
210 </tr><tr>
211 <td><a href="#QRegExpWizardWidget.on_w3cGroupButton_clicked">on_w3cGroupButton_clicked</a></td>
212 <td>Private slot to handle the W3C group toolbutton.</td>
213 </tr><tr>
214 <td><a href="#QRegExpWizardWidget.on_w3cRepeatButton_clicked">on_w3cRepeatButton_clicked</a></td>
215 <td>Private slot to handle the W3C repeat toolbutton.</td>
216 </tr><tr>
217 <td><a href="#QRegExpWizardWidget.on_wildcardAnycharButton_clicked">on_wildcardAnycharButton_clicked</a></td>
218 <td>Private slot to handle the wildcard any character toolbutton.</td>
219 </tr><tr>
220 <td><a href="#QRegExpWizardWidget.on_wildcardCharButton_clicked">on_wildcardCharButton_clicked</a></td>
221 <td>Private slot to handle the wildcard characters toolbutton.</td>
222 </tr><tr>
223 <td><a href="#QRegExpWizardWidget.on_wildcardRepeatButton_clicked">on_wildcardRepeatButton_clicked</a></td>
224 <td>Private slot to handle the wildcard multiple characters toolbutton.</td>
195 </tr><tr> 225 </tr><tr>
196 <td><a href="#QRegExpWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> 226 <td><a href="#QRegExpWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td>
197 <td>Private slot to handle the word boundary toolbutton.</td> 227 <td>Private slot to handle the word boundary toolbutton.</td>
198 </tr> 228 </tr>
199 </table> 229 </table>
211 <dd> 241 <dd>
212 parent widget (QWidget) 242 parent widget (QWidget)
213 </dd><dt><i>fromEric</i></dt> 243 </dd><dt><i>fromEric</i></dt>
214 <dd> 244 <dd>
215 flag indicating a call from within eric5 245 flag indicating a call from within eric5
246 </dd>
247 </dl><a NAME="QRegExpWizardWidget.__getPatternSyntaxCode" ID="QRegExpWizardWidget.__getPatternSyntaxCode"></a>
248 <h4>QRegExpWizardWidget.__getPatternSyntaxCode</h4>
249 <b>__getPatternSyntaxCode</b>(<i>syntaxValue</i>)
250 <p>
251 Private method to convert a pattern syntax value into a 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)
216 </dd> 261 </dd>
217 </dl><a NAME="QRegExpWizardWidget.__insertString" ID="QRegExpWizardWidget.__insertString"></a> 262 </dl><a NAME="QRegExpWizardWidget.__insertString" ID="QRegExpWizardWidget.__insertString"></a>
218 <h4>QRegExpWizardWidget.__insertString</h4> 263 <h4>QRegExpWizardWidget.__insertString</h4>
219 <b>__insertString</b>(<i>s, steps=0</i>) 264 <b>__insertString</b>(<i>s, steps=0</i>)
220 <p> 265 <p>
355 </p><a NAME="QRegExpWizardWidget.on_saveButton_clicked" ID="QRegExpWizardWidget.on_saveButton_clicked"></a> 400 </p><a NAME="QRegExpWizardWidget.on_saveButton_clicked" ID="QRegExpWizardWidget.on_saveButton_clicked"></a>
356 <h4>QRegExpWizardWidget.on_saveButton_clicked</h4> 401 <h4>QRegExpWizardWidget.on_saveButton_clicked</h4>
357 <b>on_saveButton_clicked</b>(<i></i>) 402 <b>on_saveButton_clicked</b>(<i></i>)
358 <p> 403 <p>
359 Private slot to save the regexp to a file. 404 Private slot to save the regexp to a file.
360 </p><a NAME="QRegExpWizardWidget.on_validateButton_clicked" ID="QRegExpWizardWidget.on_validateButton_clicked"></a> 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>
361 <h4>QRegExpWizardWidget.on_validateButton_clicked</h4> 416 <h4>QRegExpWizardWidget.on_validateButton_clicked</h4>
362 <b>on_validateButton_clicked</b>(<i></i>) 417 <b>on_validateButton_clicked</b>(<i></i>)
363 <p> 418 <p>
364 Private slot to validate the entered regexp. 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.
365 </p><a NAME="QRegExpWizardWidget.on_wordboundButton_clicked" ID="QRegExpWizardWidget.on_wordboundButton_clicked"></a> 460 </p><a NAME="QRegExpWizardWidget.on_wordboundButton_clicked" ID="QRegExpWizardWidget.on_wordboundButton_clicked"></a>
366 <h4>QRegExpWizardWidget.on_wordboundButton_clicked</h4> 461 <h4>QRegExpWizardWidget.on_wordboundButton_clicked</h4>
367 <b>on_wordboundButton_clicked</b>(<i></i>) 462 <b>on_wordboundButton_clicked</b>(<i></i>)
368 <p> 463 <p>
369 Private slot to handle the word boundary toolbutton. 464 Private slot to handle the word boundary toolbutton.

eric ide

mercurial