Documentation/Source/eric5.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardDialog.html

changeset 2750
865f6b0a1611
parent 2736
86cd4d14b58e
child 2897
45a5370f89a8
equal deleted inserted replaced
2749:00de40c5ee85 2750:865f6b0a1611
64 <table> 64 <table>
65 <tr> 65 <tr>
66 <td><a href="#QRegularExpressionWizardDialog.__init__">QRegularExpressionWizardDialog</a></td> 66 <td><a href="#QRegularExpressionWizardDialog.__init__">QRegularExpressionWizardDialog</a></td>
67 <td>Constructor</td> 67 <td>Constructor</td>
68 </tr><tr> 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>
69 <td><a href="#QRegularExpressionWizardDialog.getCode">getCode</a></td> 72 <td><a href="#QRegularExpressionWizardDialog.getCode">getCode</a></td>
70 <td>Public method to get the source code.</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>
71 </tr> 77 </tr>
72 </table> 78 </table>
73 <h3>Static Methods</h3> 79 <h3>Static Methods</h3>
74 <table> 80 <table>
75 <tr><td>None</td></tr> 81 <tr><td>None</td></tr>
85 parent widget (QWidget) 91 parent widget (QWidget)
86 </dd><dt><i>fromEric</i></dt> 92 </dd><dt><i>fromEric</i></dt>
87 <dd> 93 <dd>
88 flag indicating a call from within eric5 94 flag indicating a call from within eric5
89 </dd> 95 </dd>
90 </dl><a NAME="QRegularExpressionWizardDialog.getCode" ID="QRegularExpressionWizardDialog.getCode"></a> 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>
91 <h4>QRegularExpressionWizardDialog.getCode</h4> 102 <h4>QRegularExpressionWizardDialog.getCode</h4>
92 <b>getCode</b>(<i>indLevel, indString</i>) 103 <b>getCode</b>(<i>indLevel, indString</i>)
93 <p> 104 <p>
94 Public method to get the source code. 105 Public method to get the source code.
95 </p><dl> 106 </p><dl>
103 </dl><dl> 114 </dl><dl>
104 <dt>Returns:</dt> 115 <dt>Returns:</dt>
105 <dd> 116 <dd>
106 generated code (string) 117 generated code (string)
107 </dd> 118 </dd>
108 </dl> 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>
109 <div align="right"><a href="#top">Up</a></div> 125 <div align="right"><a href="#top">Up</a></div>
110 <hr /><hr /> 126 <hr /><hr />
111 <a NAME="QRegularExpressionWizardWidget" ID="QRegularExpressionWizardWidget"></a> 127 <a NAME="QRegularExpressionWizardWidget" ID="QRegularExpressionWizardWidget"></a>
112 <h2>QRegularExpressionWizardWidget</h2> 128 <h2>QRegularExpressionWizardWidget</h2>
113 <p> 129 <p>
130 <td>Constructor</td> 146 <td>Constructor</td>
131 </tr><tr> 147 </tr><tr>
132 <td><a href="#QRegularExpressionWizardWidget.__insertString">__insertString</a></td> 148 <td><a href="#QRegularExpressionWizardWidget.__insertString">__insertString</a></td>
133 <td>Private method to insert a string into line edit and move cursor.</td> 149 <td>Private method to insert a string into line edit and move cursor.</td>
134 </tr><tr> 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>
135 <td><a href="#QRegularExpressionWizardWidget.getCode">getCode</a></td> 157 <td><a href="#QRegularExpressionWizardWidget.getCode">getCode</a></td>
136 <td>Public method to get the source code.</td> 158 <td>Public method to get the source code.</td>
137 </tr><tr> 159 </tr><tr>
138 <td><a href="#QRegularExpressionWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td> 160 <td><a href="#QRegularExpressionWizardWidget.on_altnButton_clicked">on_altnButton_clicked</a></td>
139 <td>Private slot to handle the alternatives toolbutton.</td> 161 <td>Private slot to handle the alternatives toolbutton.</td>
216 <td><a href="#QRegularExpressionWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td> 238 <td><a href="#QRegularExpressionWizardWidget.on_validateButton_clicked">on_validateButton_clicked</a></td>
217 <td>Private slot to validate the entered QRegularExpression.</td> 239 <td>Private slot to validate the entered QRegularExpression.</td>
218 </tr><tr> 240 </tr><tr>
219 <td><a href="#QRegularExpressionWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td> 241 <td><a href="#QRegularExpressionWizardWidget.on_wordboundButton_clicked">on_wordboundButton_clicked</a></td>
220 <td>Private slot to handle the word boundary toolbutton.</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>
221 </tr> 246 </tr>
222 </table> 247 </table>
223 <h3>Static Methods</h3> 248 <h3>Static Methods</h3>
224 <table> 249 <table>
225 <tr><td>None</td></tr> 250 <tr><td>None</td></tr>
249 (string) 274 (string)
250 </dd><dt><i>steps</i></dt> 275 </dd><dt><i>steps</i></dt>
251 <dd> 276 <dd>
252 number of characters to move the cursor (integer). 277 number of characters to move the cursor (integer).
253 Negative steps moves cursor back, positives forward. 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>commandDict</i></dt>
297 <dd>
298 dictionary with command string and related data (dict)
299 </dd>
300 </dl><dl>
301 <dt>Returns:</dt>
302 <dd>
303 flag indicating a successful transmission (boolean)
254 </dd> 304 </dd>
255 </dl><a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a> 305 </dl><a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a>
256 <h4>QRegularExpressionWizardWidget.getCode</h4> 306 <h4>QRegularExpressionWizardWidget.getCode</h4>
257 <b>getCode</b>(<i>indLevel, indString</i>) 307 <b>getCode</b>(<i>indLevel, indString</i>)
258 <p> 308 <p>
423 </p><a NAME="QRegularExpressionWizardWidget.on_wordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_wordboundButton_clicked"></a> 473 </p><a NAME="QRegularExpressionWizardWidget.on_wordboundButton_clicked" ID="QRegularExpressionWizardWidget.on_wordboundButton_clicked"></a>
424 <h4>QRegularExpressionWizardWidget.on_wordboundButton_clicked</h4> 474 <h4>QRegularExpressionWizardWidget.on_wordboundButton_clicked</h4>
425 <b>on_wordboundButton_clicked</b>(<i></i>) 475 <b>on_wordboundButton_clicked</b>(<i></i>)
426 <p> 476 <p>
427 Private slot to handle the word boundary toolbutton. 477 Private slot to handle the word boundary toolbutton.
478 </p><a NAME="QRegularExpressionWizardWidget.shutdown" ID="QRegularExpressionWizardWidget.shutdown"></a>
479 <h4>QRegularExpressionWizardWidget.shutdown</h4>
480 <b>shutdown</b>(<i></i>)
481 <p>
482 Public method to shut down the PyQt5 server part.
428 </p> 483 </p>
429 <div align="right"><a href="#top">Up</a></div> 484 <div align="right"><a href="#top">Up</a></div>
430 <hr /><hr /> 485 <hr /><hr />
431 <a NAME="QRegularExpressionWizardWindow" ID="QRegularExpressionWizardWindow"></a> 486 <a NAME="QRegularExpressionWizardWindow" ID="QRegularExpressionWizardWindow"></a>
432 <h2>QRegularExpressionWizardWindow</h2> 487 <h2>QRegularExpressionWizardWindow</h2>
446 <h3>Methods</h3> 501 <h3>Methods</h3>
447 <table> 502 <table>
448 <tr> 503 <tr>
449 <td><a href="#QRegularExpressionWizardWindow.__init__">QRegularExpressionWizardWindow</a></td> 504 <td><a href="#QRegularExpressionWizardWindow.__init__">QRegularExpressionWizardWindow</a></td>
450 <td>Constructor</td> 505 <td>Constructor</td>
506 </tr><tr>
507 <td><a href="#QRegularExpressionWizardWindow.closeEvent">closeEvent</a></td>
508 <td>Protected method handling the close event.</td>
451 </tr> 509 </tr>
452 </table> 510 </table>
453 <h3>Static Methods</h3> 511 <h3>Static Methods</h3>
454 <table> 512 <table>
455 <tr><td>None</td></tr> 513 <tr><td>None</td></tr>
461 Constructor 519 Constructor
462 </p><dl> 520 </p><dl>
463 <dt><i>parent</i></dt> 521 <dt><i>parent</i></dt>
464 <dd> 522 <dd>
465 reference to the parent widget (QWidget) 523 reference to the parent widget (QWidget)
524 </dd>
525 </dl><a NAME="QRegularExpressionWizardWindow.closeEvent" ID="QRegularExpressionWizardWindow.closeEvent"></a>
526 <h4>QRegularExpressionWizardWindow.closeEvent</h4>
527 <b>closeEvent</b>(<i>evt</i>)
528 <p>
529 Protected method handling the close event.
530 </p><dl>
531 <dt><i>evt</i></dt>
532 <dd>
533 close event (QCloseEvent)
466 </dd> 534 </dd>
467 </dl> 535 </dl>
468 <div align="right"><a href="#top">Up</a></div> 536 <div align="right"><a href="#top">Up</a></div>
469 <hr /> 537 <hr />
470 </body></html> 538 </body></html>

eric ide

mercurial