--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.RestructureDialog.html Sun Jan 30 18:26:37 2011 +0100 @@ -0,0 +1,153 @@ +<?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.RestructureDialog</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.RestructureDialog</h1> +<p> +Module implementing the Restructure dialog. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#RestructureDialog">RestructureDialog</a></td> +<td>Class implementing the Restructure dialog.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="RestructureDialog" ID="RestructureDialog"></a> +<h2>RestructureDialog</h2> +<p> + Class implementing the Restructure dialog. +</p> +<h3>Derived from</h3> +RefactoringDialogBase, Ui_RestructureDialog +<h3>Class Attributes</h3> +<table> +<tr><td>history</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#RestructureDialog.__init__">RestructureDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#RestructureDialog.__loadData">__loadData</a></td> +<td>Private slot to load the history data into the dialog.</td> +</tr><tr> +<td><a href="#RestructureDialog.__saveData">__saveData</a></td> +<td>Private slot to save the data for later reuse.</td> +</tr><tr> +<td><a href="#RestructureDialog.__updateUI">__updateUI</a></td> +<td>Private slot to update the UI.</td> +</tr><tr> +<td><a href="#RestructureDialog._calculateChanges">_calculateChanges</a></td> +<td>Protected method to calculate the changes.</td> +</tr><tr> +<td><a href="#RestructureDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> +<td>Private slot to act on the button pressed.</td> +</tr><tr> +<td><a href="#RestructureDialog.on_goalEdit_textChanged">on_goalEdit_textChanged</a></td> +<td>Private slot to react to changes of the goal.</td> +</tr><tr> +<td><a href="#RestructureDialog.on_patternEdit_textChanged">on_patternEdit_textChanged</a></td> +<td>Private slot to react to changes of the pattern.</td> +</tr> +</table> +<a NAME="RestructureDialog.__init__" ID="RestructureDialog.__init__"></a> +<h4>RestructureDialog (Constructor)</h4> +<b>RestructureDialog</b>(<i>refactoring, title, 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>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl><a NAME="RestructureDialog.__loadData" ID="RestructureDialog.__loadData"></a> +<h4>RestructureDialog.__loadData</h4> +<b>__loadData</b>(<i></i>) +<p> + Private slot to load the history data into the dialog. +</p><a NAME="RestructureDialog.__saveData" ID="RestructureDialog.__saveData"></a> +<h4>RestructureDialog.__saveData</h4> +<b>__saveData</b>(<i></i>) +<p> + Private slot to save the data for later reuse. +</p><a NAME="RestructureDialog.__updateUI" ID="RestructureDialog.__updateUI"></a> +<h4>RestructureDialog.__updateUI</h4> +<b>__updateUI</b>(<i></i>) +<p> + Private slot to update the UI. +</p><a NAME="RestructureDialog._calculateChanges" ID="RestructureDialog._calculateChanges"></a> +<h4>RestructureDialog._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="RestructureDialog.on_buttonBox_clicked" ID="RestructureDialog.on_buttonBox_clicked"></a> +<h4>RestructureDialog.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="RestructureDialog.on_goalEdit_textChanged" ID="RestructureDialog.on_goalEdit_textChanged"></a> +<h4>RestructureDialog.on_goalEdit_textChanged</h4> +<b>on_goalEdit_textChanged</b>(<i></i>) +<p> + Private slot to react to changes of the goal. +</p><a NAME="RestructureDialog.on_patternEdit_textChanged" ID="RestructureDialog.on_patternEdit_textChanged"></a> +<h4>RestructureDialog.on_patternEdit_textChanged</h4> +<b>on_patternEdit_textChanged</b>(<i></i>) +<p> + Private slot to react to changes of the pattern. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file