Sat, 12 Feb 2011 11:53:07 +0100
Updated source docu after making the code PEP-8 compliant.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>Plugin_Refactoring_Rope.RefactoringRope.IntroduceFactoryDialog</title> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </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>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 calculate 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> <a NAME="IntroduceFactoryDialog.__init__" ID="IntroduceFactoryDialog.__init__"></a> <h4>IntroduceFactoryDialog (Constructor)</h4> <b>IntroduceFactoryDialog</b>(<i>refactoring, title, introducer, parent=None</i>) <p> Constructor </p><dl> <dt><i>refactoring</i></dt> <dd> reference to the main refactoring object (Refactoring) </dd><dt><i>title</i></dt> <dd> title of the dialog (string) </dd><dt><i>introducer</i></dt> <dd> reference to the factory introducer object (rope.refactor.introduce_factory.IntroduceFactoryRefactoring) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="IntroduceFactoryDialog._calculateChanges" ID="IntroduceFactoryDialog._calculateChanges"></a> <h4>IntroduceFactoryDialog._calculateChanges</h4> <b>_calculateChanges</b>(<i>handle</i>) <p> Protected method to calculate the changes. </p><dl> <dt><i>handle</i></dt> <dd> reference to the task handle (rope.base.taskhandle.TaskHandle) </dd> </dl><dl> <dt>Returns:</dt> <dd> reference to the Changes object (rope.base.change.ChangeSet) </dd> </dl><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></dt> <dd> reference to the button pressed (QAbstractButton) </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></dt> <dd> text entered into the edit (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>