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.HistoryDialog</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.HistoryDialog</h1> <p> Module implementing the History dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#HistoryDialog">HistoryDialog</a></td> <td>Class implementing the History dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="HistoryDialog" ID="HistoryDialog"></a> <h2>HistoryDialog</h2> <p> Class implementing the History dialog. </p> <h3>Derived from</h3> PreviewDialogBase <h3>Class Attributes</h3> <table> <tr><td>ChangeIDRole</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#HistoryDialog.accept">accept</a></td> <td>Public slot to undo the selected set of changes.</td> </tr><tr> <td><a href="#HistoryDialog.on_changesList_currentItemChanged">on_changesList_currentItemChanged</a></td> <td>Private slot called when a change is selected.</td> </tr> </table> <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> <h4>HistoryDialog (Constructor)</h4> <b>HistoryDialog</b>(<i>refactoring, changes, isUndo, parent = None</i>) <p> Constructor </p><dl> <dt><i>refactoring</i></dt> <dd> reference to the main refactoring object (Refactoring) </dd><dt><i>changes</i></dt> <dd> list of ChangeSet objects (list of rope.base.change.ChangeSet) </dd><dt><i>isUndo</i></dt> <dd> flag indicating an undo history dialog (boolean) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="HistoryDialog.accept" ID="HistoryDialog.accept"></a> <h4>HistoryDialog.accept</h4> <b>accept</b>(<i></i>) <p> Public slot to undo the selected set of changes. </p><a NAME="HistoryDialog.on_changesList_currentItemChanged" ID="HistoryDialog.on_changesList_currentItemChanged"></a> <h4>HistoryDialog.on_changesList_currentItemChanged</h4> <b>on_changesList_currentItemChanged</b>(<i>current, previous</i>) <p> Private slot called when a change is selected. </p><dl> <dt><i>current</i></dt> <dd> reference to the new current item (QListWidgetItem) </dd><dt><i>previous</i></dt> <dd> reference to the old current item (QListWidgetItem) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>