src/eric7/Documentation/Source/eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardDialog.html

branch
eric7
changeset 10437
2f70ca07f0af
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10436:f6881d10e995 10437:2f70ca07f0af
92 <p> 92 <p>
93 Constructor 93 Constructor
94 </p> 94 </p>
95 <dl> 95 <dl>
96 96
97 <dt><i>parent</i></dt> 97 <dt><i>parent</i> (QWidget)</dt>
98 <dd> 98 <dd>
99 parent widget (QWidget) 99 parent widget
100 </dd> 100 </dd>
101 <dt><i>fromEric</i></dt> 101 <dt><i>fromEric</i> (bool)</dt>
102 <dd> 102 <dd>
103 flag indicating a call from within eric 103 flag indicating a call from within eric
104 </dd> 104 </dd>
105 </dl> 105 </dl>
106 <a NAME="QRegularExpressionWizardDialog.accept" ID="QRegularExpressionWizardDialog.accept"></a> 106 <a NAME="QRegularExpressionWizardDialog.accept" ID="QRegularExpressionWizardDialog.accept"></a>
117 <p> 117 <p>
118 Public method to get the source code. 118 Public method to get the source code.
119 </p> 119 </p>
120 <dl> 120 <dl>
121 121
122 <dt><i>indLevel</i></dt> 122 <dt><i>indLevel</i> (int)</dt>
123 <dd> 123 <dd>
124 indentation level (int) 124 indentation level
125 </dd> 125 </dd>
126 <dt><i>indString</i></dt> 126 <dt><i>indString</i> (str)</dt>
127 <dd> 127 <dd>
128 string used for indentation (space or tab) (string) 128 string used for indentation (space or tab)
129 </dd> 129 </dd>
130 </dl> 130 </dl>
131 <dl> 131 <dl>
132 <dt>Return:</dt> 132 <dt>Return:</dt>
133 <dd> 133 <dd>
134 generated code (string) 134 generated code
135 </dd>
136 </dl>
137 <dl>
138 <dt>Return Type:</dt>
139 <dd>
140 str
135 </dd> 141 </dd>
136 </dl> 142 </dl>
137 <a NAME="QRegularExpressionWizardDialog.reject" ID="QRegularExpressionWizardDialog.reject"></a> 143 <a NAME="QRegularExpressionWizardDialog.reject" ID="QRegularExpressionWizardDialog.reject"></a>
138 <h4>QRegularExpressionWizardDialog.reject</h4> 144 <h4>QRegularExpressionWizardDialog.reject</h4>
139 <b>reject</b>(<i></i>) 145 <b>reject</b>(<i></i>)
316 <p> 322 <p>
317 Constructor 323 Constructor
318 </p> 324 </p>
319 <dl> 325 <dl>
320 326
321 <dt><i>parent</i></dt> 327 <dt><i>parent</i> (QWidget)</dt>
322 <dd> 328 <dd>
323 parent widget (QWidget) 329 parent widget
324 </dd> 330 </dd>
325 <dt><i>fromEric</i></dt> 331 <dt><i>fromEric</i> (bool)</dt>
326 <dd> 332 <dd>
327 flag indicating a call from within eric 333 flag indicating a call from within eric
328 </dd> 334 </dd>
329 </dl> 335 </dl>
330 <a NAME="QRegularExpressionWizardWidget.__insertString" ID="QRegularExpressionWizardWidget.__insertString"></a> 336 <a NAME="QRegularExpressionWizardWidget.__insertString" ID="QRegularExpressionWizardWidget.__insertString"></a>
334 <p> 340 <p>
335 Private method to insert a string into line edit and move cursor. 341 Private method to insert a string into line edit and move cursor.
336 </p> 342 </p>
337 <dl> 343 <dl>
338 344
339 <dt><i>s</i></dt> 345 <dt><i>s</i> (str)</dt>
340 <dd> 346 <dd>
341 string to be inserted into the regexp line edit 347 string to be inserted into the regexp line edit
342 (string) 348 </dd>
343 </dd> 349 <dt><i>steps</i> (int)</dt>
344 <dt><i>steps</i></dt> 350 <dd>
345 <dd> 351 number of characters to move the cursor. Negative steps
346 number of characters to move the cursor (integer). 352 move cursor back, positive steps forward.
347 Negative steps moves cursor back, positives forward.
348 </dd> 353 </dd>
349 </dl> 354 </dl>
350 <a NAME="QRegularExpressionWizardWidget.__receiveResponse" ID="QRegularExpressionWizardWidget.__receiveResponse"></a> 355 <a NAME="QRegularExpressionWizardWidget.__receiveResponse" ID="QRegularExpressionWizardWidget.__receiveResponse"></a>
351 <h4>QRegularExpressionWizardWidget.__receiveResponse</h4> 356 <h4>QRegularExpressionWizardWidget.__receiveResponse</h4>
352 <b>__receiveResponse</b>(<i></i>) 357 <b>__receiveResponse</b>(<i></i>)
355 Private method to receive a response from the server. 360 Private method to receive a response from the server.
356 </p> 361 </p>
357 <dl> 362 <dl>
358 <dt>Return:</dt> 363 <dt>Return:</dt>
359 <dd> 364 <dd>
360 response dictionary (dict) 365 response dictionary
366 </dd>
367 </dl>
368 <dl>
369 <dt>Return Type:</dt>
370 <dd>
371 dict
361 </dd> 372 </dd>
362 </dl> 373 </dl>
363 <a NAME="QRegularExpressionWizardWidget.__sendCommand" ID="QRegularExpressionWizardWidget.__sendCommand"></a> 374 <a NAME="QRegularExpressionWizardWidget.__sendCommand" ID="QRegularExpressionWizardWidget.__sendCommand"></a>
364 <h4>QRegularExpressionWizardWidget.__sendCommand</h4> 375 <h4>QRegularExpressionWizardWidget.__sendCommand</h4>
365 <b>__sendCommand</b>(<i>command, **kw</i>) 376 <b>__sendCommand</b>(<i>command, **kw</i>)
367 <p> 378 <p>
368 Private method to send a command to the server. 379 Private method to send a command to the server.
369 </p> 380 </p>
370 <dl> 381 <dl>
371 382
372 <dt><i>command</i></dt> 383 <dt><i>command</i> (dict)</dt>
373 <dd> 384 <dd>
374 dictionary with command string and related 385 dictionary with command string and related data
375 data (dict) 386 </dd>
376 </dd> 387 <dt><i>kw=</i> (dict)</dt>
377 <dt><i>kw=</i></dt>
378 <dd> 388 <dd>
379 parameters for the command 389 parameters for the command
380 </dd> 390 </dd>
381 </dl> 391 </dl>
382 <dl> 392 <dl>
383 <dt>Return:</dt> 393 <dt>Return:</dt>
384 <dd> 394 <dd>
385 flag indicating a successful transmission (boolean) 395 flag indicating a successful transmission
396 </dd>
397 </dl>
398 <dl>
399 <dt>Return Type:</dt>
400 <dd>
401 bool
386 </dd> 402 </dd>
387 </dl> 403 </dl>
388 <a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a> 404 <a NAME="QRegularExpressionWizardWidget.getCode" ID="QRegularExpressionWizardWidget.getCode"></a>
389 <h4>QRegularExpressionWizardWidget.getCode</h4> 405 <h4>QRegularExpressionWizardWidget.getCode</h4>
390 <b>getCode</b>(<i>indLevel, indString</i>) 406 <b>getCode</b>(<i>indLevel, indString</i>)
392 <p> 408 <p>
393 Public method to get the source code. 409 Public method to get the source code.
394 </p> 410 </p>
395 <dl> 411 <dl>
396 412
397 <dt><i>indLevel</i></dt> 413 <dt><i>indLevel</i> (int)</dt>
398 <dd> 414 <dd>
399 indentation level (int) 415 indentation level
400 </dd> 416 </dd>
401 <dt><i>indString</i></dt> 417 <dt><i>indString</i> (str)</dt>
402 <dd> 418 <dd>
403 string used for indentation (space or tab) (string) 419 string used for indentation (space or tab)
404 </dd> 420 </dd>
405 </dl> 421 </dl>
406 <dl> 422 <dl>
407 <dt>Return:</dt> 423 <dt>Return:</dt>
408 <dd> 424 <dd>
409 generated code (string) 425 generated code
426 </dd>
427 </dl>
428 <dl>
429 <dt>Return Type:</dt>
430 <dd>
431 str
410 </dd> 432 </dd>
411 </dl> 433 </dl>
412 <a NAME="QRegularExpressionWizardWidget.on_altnButton_clicked" ID="QRegularExpressionWizardWidget.on_altnButton_clicked"></a> 434 <a NAME="QRegularExpressionWizardWidget.on_altnButton_clicked" ID="QRegularExpressionWizardWidget.on_altnButton_clicked"></a>
413 <h4>QRegularExpressionWizardWidget.on_altnButton_clicked</h4> 435 <h4>QRegularExpressionWizardWidget.on_altnButton_clicked</h4>
414 <b>on_altnButton_clicked</b>(<i></i>) 436 <b>on_altnButton_clicked</b>(<i></i>)
444 <p> 466 <p>
445 Private slot called by a button of the button box clicked. 467 Private slot called by a button of the button box clicked.
446 </p> 468 </p>
447 <dl> 469 <dl>
448 470
449 <dt><i>button</i></dt> 471 <dt><i>button</i> (QAbstractButton)</dt>
450 <dd> 472 <dd>
451 button that was clicked (QAbstractButton) 473 button that was clicked
452 </dd> 474 </dd>
453 </dl> 475 </dl>
454 <a NAME="QRegularExpressionWizardWidget.on_charButton_clicked" ID="QRegularExpressionWizardWidget.on_charButton_clicked"></a> 476 <a NAME="QRegularExpressionWizardWidget.on_charButton_clicked" ID="QRegularExpressionWizardWidget.on_charButton_clicked"></a>
455 <h4>QRegularExpressionWizardWidget.on_charButton_clicked</h4> 477 <h4>QRegularExpressionWizardWidget.on_charButton_clicked</h4>
456 <b>on_charButton_clicked</b>(<i></i>) 478 <b>on_charButton_clicked</b>(<i></i>)
494 This slot will execute the entered QRegularExpression on the entered 516 This slot will execute the entered QRegularExpression on the entered
495 test data and will display the result in the table part of the dialog. 517 test data and will display the result in the table part of the dialog.
496 </p> 518 </p>
497 <dl> 519 <dl>
498 520
499 <dt><i>startpos</i></dt> 521 <dt><i>startpos</i> (int)</dt>
500 <dd> 522 <dd>
501 starting position for the QRegularExpression matching 523 starting position for the QRegularExpression matching
502 </dd> 524 </dd>
503 </dl> 525 </dl>
504 <a NAME="QRegularExpressionWizardWidget.on_groupButton_clicked" ID="QRegularExpressionWizardWidget.on_groupButton_clicked"></a> 526 <a NAME="QRegularExpressionWizardWidget.on_groupButton_clicked" ID="QRegularExpressionWizardWidget.on_groupButton_clicked"></a>
681 <p> 703 <p>
682 Constructor 704 Constructor
683 </p> 705 </p>
684 <dl> 706 <dl>
685 707
686 <dt><i>parent</i></dt> 708 <dt><i>parent</i> (QWidget)</dt>
687 <dd> 709 <dd>
688 reference to the parent widget (QWidget) 710 reference to the parent widget
689 </dd> 711 </dd>
690 </dl> 712 </dl>
691 <a NAME="QRegularExpressionWizardWindow.closeEvent" ID="QRegularExpressionWizardWindow.closeEvent"></a> 713 <a NAME="QRegularExpressionWizardWindow.closeEvent" ID="QRegularExpressionWizardWindow.closeEvent"></a>
692 <h4>QRegularExpressionWizardWindow.closeEvent</h4> 714 <h4>QRegularExpressionWizardWindow.closeEvent</h4>
693 <b>closeEvent</b>(<i>evt</i>) 715 <b>closeEvent</b>(<i>evt</i>)
695 <p> 717 <p>
696 Protected method handling the close event. 718 Protected method handling the close event.
697 </p> 719 </p>
698 <dl> 720 <dl>
699 721
700 <dt><i>evt</i></dt> 722 <dt><i>evt</i> (QCloseEvent)</dt>
701 <dd> 723 <dd>
702 close event (QCloseEvent) 724 close event
703 </dd> 725 </dd>
704 </dl> 726 </dl>
705 <div align="right"><a href="#top">Up</a></div> 727 <div align="right"><a href="#top">Up</a></div>
706 <hr /> 728 <hr />
707 </body></html> 729 </body></html>

eric ide

mercurial