Sun, 30 Jan 2011 18:26:37 +0100
Added source docu.
<?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.ExtractDialog</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.ExtractDialog</h1> <p> Module implementing the Extract dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#ExtractDialog">ExtractDialog</a></td> <td>Class implementing the Extract dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="ExtractDialog" ID="ExtractDialog"></a> <h2>ExtractDialog</h2> <p> Class implementing the Extract dialog. </p> <h3>Derived from</h3> RefactoringDialogBase, Ui_ExtractDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#ExtractDialog.__init__">ExtractDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#ExtractDialog._calculateChanges">_calculateChanges</a></td> <td>Protected method to calculate the changes.</td> </tr><tr> <td><a href="#ExtractDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot to act on the button pressed.</td> </tr><tr> <td><a href="#ExtractDialog.on_newNameEdit_textChanged">on_newNameEdit_textChanged</a></td> <td>Private slot to react to changes of the new name.</td> </tr> </table> <a NAME="ExtractDialog.__init__" ID="ExtractDialog.__init__"></a> <h4>ExtractDialog (Constructor)</h4> <b>ExtractDialog</b>(<i>refactoring, title, extractor, 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>extractor</i></dt> <dd> reference to the extractor object (rope.refactor.extract.ExtractMethod or rope.refactor.extract.ExtractVariable) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="ExtractDialog._calculateChanges" ID="ExtractDialog._calculateChanges"></a> <h4>ExtractDialog._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="ExtractDialog.on_buttonBox_clicked" ID="ExtractDialog.on_buttonBox_clicked"></a> <h4>ExtractDialog.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="ExtractDialog.on_newNameEdit_textChanged" ID="ExtractDialog.on_newNameEdit_textChanged"></a> <h4>ExtractDialog.on_newNameEdit_textChanged</h4> <b>on_newNameEdit_textChanged</b>(<i>text</i>) <p> Private slot to react to changes of the new 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>