Tue, 10 Dec 2024 15:49:01 +0100
Updated copyright for 2025.
<!DOCTYPE html> <html><head> <title>Plugin_Refactoring_Rope.RefactoringRope.IntroduceFactoryDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>Plugin_Refactoring_Rope.RefactoringRope.IntroduceFactoryDialog</h1> <p> Module implementing the Introduce Factory dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#IntroduceFactoryDialog">IntroduceFactoryDialog</a></td> <td>Class implementing the Introduce Factory dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="IntroduceFactoryDialog" ID="IntroduceFactoryDialog"></a> <h2>IntroduceFactoryDialog</h2> <p> Class implementing the Introduce Factory dialog. </p> <h3>Derived from</h3> RefactoringDialogBase, Ui_IntroduceFactoryDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#IntroduceFactoryDialog.__init__">IntroduceFactoryDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#IntroduceFactoryDialog._calculateChanges">_calculateChanges</a></td> <td>Protected method to initiate the calculation of the changes.</td> </tr> <tr> <td><a href="#IntroduceFactoryDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot to act on the button pressed.</td> </tr> <tr> <td><a href="#IntroduceFactoryDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> <td>Private slot to react to changes of the name.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="IntroduceFactoryDialog.__init__" ID="IntroduceFactoryDialog.__init__"></a> <h4>IntroduceFactoryDialog (Constructor)</h4> <b>IntroduceFactoryDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>) <p> Constructor </p> <dl> <dt><i>refactoring</i> (RefactoringServer)</dt> <dd> reference to the main refactoring object </dd> <dt><i>title</i> (str)</dt> <dd> title of the dialog </dd> <dt><i>filename</i> (str)</dt> <dd> file name to be worked on </dd> <dt><i>offset</i> (int or None)</dt> <dd> offset within file </dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="IntroduceFactoryDialog._calculateChanges" ID="IntroduceFactoryDialog._calculateChanges"></a> <h4>IntroduceFactoryDialog._calculateChanges</h4> <b>_calculateChanges</b>(<i></i>) <p> Protected method to initiate the calculation of the changes. </p> <a NAME="IntroduceFactoryDialog.on_buttonBox_clicked" ID="IntroduceFactoryDialog.on_buttonBox_clicked"></a> <h4>IntroduceFactoryDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) <p> Private slot to act on the button pressed. </p> <dl> <dt><i>button</i> (QAbstractButton)</dt> <dd> reference to the button pressed </dd> </dl> <a NAME="IntroduceFactoryDialog.on_nameEdit_textChanged" ID="IntroduceFactoryDialog.on_nameEdit_textChanged"></a> <h4>IntroduceFactoryDialog.on_nameEdit_textChanged</h4> <b>on_nameEdit_textChanged</b>(<i>text</i>) <p> Private slot to react to changes of the name. </p> <dl> <dt><i>text</i> (str)</dt> <dd> text entered into the edit </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>