RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.ConfirmationDialog.html

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 44
8aa985c8dee5
child 321
d51e810107ec
equal deleted inserted replaced
203:c38750e1bafd 204:b4bf79b956bc
43 <h2>ConfirmationDialog</h2> 43 <h2>ConfirmationDialog</h2>
44 <p> 44 <p>
45 Class implementing the Confirmation dialog. 45 Class implementing the Confirmation dialog.
46 </p> 46 </p>
47 <h3>Derived from</h3> 47 <h3>Derived from</h3>
48 QDialog, Ui_ConfirmationDialog 48 RefactoringDialogBase, Ui_ConfirmationDialog
49 <h3>Class Attributes</h3> 49 <h3>Class Attributes</h3>
50 <table> 50 <table>
51 <tr><td>None</td></tr> 51 <tr><td>None</td></tr>
52 </table> 52 </table>
53 <h3>Class Methods</h3> 53 <h3>Class Methods</h3>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#ConfirmationDialog.__init__">ConfirmationDialog</a></td> 60 <td><a href="#ConfirmationDialog.__init__">ConfirmationDialog</a></td>
61 <td>Constructor</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#ConfirmationDialog.__previewChanges">__previewChanges</a></td> 63 <td><a href="#ConfirmationDialog.__processChangeDescription">__processChangeDescription</a></td>
64 <td>Private method to preview the changes.</td> 64 <td>Private method to process the change description data sent by the refactoring client in order to polish the dialog.</td>
65 </tr><tr>
66 <td><a href="#ConfirmationDialog._calculateChanges">_calculateChanges</a></td>
67 <td>Protected method to initiate the calculation of the changes.</td>
65 </tr><tr> 68 </tr><tr>
66 <td><a href="#ConfirmationDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 69 <td><a href="#ConfirmationDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
67 <td>Private slot to act on the button pressed.</td> 70 <td>Private slot to act on the button pressed.</td>
71 </tr><tr>
72 <td><a href="#ConfirmationDialog.processChangeData">processChangeData</a></td>
73 <td>Public method to process the change data sent by the refactoring client.</td>
68 </tr> 74 </tr>
69 </table> 75 </table>
70 <h3>Static Methods</h3> 76 <h3>Static Methods</h3>
71 <table> 77 <table>
72 <tr><td>None</td></tr> 78 <tr><td>None</td></tr>
73 </table> 79 </table>
74 <a NAME="ConfirmationDialog.__init__" ID="ConfirmationDialog.__init__"></a> 80 <a NAME="ConfirmationDialog.__init__" ID="ConfirmationDialog.__init__"></a>
75 <h4>ConfirmationDialog (Constructor)</h4> 81 <h4>ConfirmationDialog (Constructor)</h4>
76 <b>ConfirmationDialog</b>(<i>changes, parent=None</i>) 82 <b>ConfirmationDialog</b>(<i>refactoring, title, changeGroupName, method, parameters, parent=None</i>)
77 <p> 83 <p>
78 Constructor 84 Constructor
79 </p><dl> 85 </p><dl>
80 <dt><i>changes</i></dt> 86 <dt><i>refactoring</i> (RefactoringServer)</dt>
81 <dd> 87 <dd>
82 reference to the Changes object 88 reference to the main refactoring object
83 (rope.base.change.ChangeSet) 89 </dd><dt><i>title</i> (str)</dt>
84 </dd><dt><i>parent</i></dt>
85 <dd> 90 <dd>
86 reference to the parent widget (QWidget) 91 title of the dialog
92 </dd><dt><i>changeGroupName</i> (str)</dt>
93 <dd>
94 name of the change group
95 </dd><dt><i>method</i> (str)</dt>
96 <dd>
97 method to produce the refactoring changes
98 </dd><dt><i>parameters</i> (dict)</dt>
99 <dd>
100 dictionary containing the method parameters
101 </dd><dt><i>parent</i> (QWidget)</dt>
102 <dd>
103 reference to the parent widget
87 </dd> 104 </dd>
88 </dl><a NAME="ConfirmationDialog.__previewChanges" ID="ConfirmationDialog.__previewChanges"></a> 105 </dl><a NAME="ConfirmationDialog.__processChangeDescription" ID="ConfirmationDialog.__processChangeDescription"></a>
89 <h4>ConfirmationDialog.__previewChanges</h4> 106 <h4>ConfirmationDialog.__processChangeDescription</h4>
90 <b>__previewChanges</b>(<i></i>) 107 <b>__processChangeDescription</b>(<i>data</i>)
91 <p> 108 <p>
92 Private method to preview the changes. 109 Private method to process the change description data sent by the
110 refactoring client in order to polish the dialog.
111 </p><dl>
112 <dt><i>data</i> (dict)</dt>
113 <dd>
114 dictionary containing the data
115 </dd>
116 </dl><a NAME="ConfirmationDialog._calculateChanges" ID="ConfirmationDialog._calculateChanges"></a>
117 <h4>ConfirmationDialog._calculateChanges</h4>
118 <b>_calculateChanges</b>(<i></i>)
119 <p>
120 Protected method to initiate the calculation of the changes.
93 </p><a NAME="ConfirmationDialog.on_buttonBox_clicked" ID="ConfirmationDialog.on_buttonBox_clicked"></a> 121 </p><a NAME="ConfirmationDialog.on_buttonBox_clicked" ID="ConfirmationDialog.on_buttonBox_clicked"></a>
94 <h4>ConfirmationDialog.on_buttonBox_clicked</h4> 122 <h4>ConfirmationDialog.on_buttonBox_clicked</h4>
95 <b>on_buttonBox_clicked</b>(<i>button</i>) 123 <b>on_buttonBox_clicked</b>(<i>button</i>)
96 <p> 124 <p>
97 Private slot to act on the button pressed. 125 Private slot to act on the button pressed.
98 </p><dl> 126 </p><dl>
99 <dt><i>button</i></dt> 127 <dt><i>button</i> (QAbstractButton)</dt>
100 <dd> 128 <dd>
101 reference to the button pressed (QAbstractButton) 129 reference to the button pressed
130 </dd>
131 </dl><a NAME="ConfirmationDialog.processChangeData" ID="ConfirmationDialog.processChangeData"></a>
132 <h4>ConfirmationDialog.processChangeData</h4>
133 <b>processChangeData</b>(<i>data</i>)
134 <p>
135 Public method to process the change data sent by the refactoring
136 client.
137 </p><dl>
138 <dt><i>data</i> (dict)</dt>
139 <dd>
140 dictionary containing the change data
102 </dd> 141 </dd>
103 </dl> 142 </dl>
104 <div align="right"><a href="#top">Up</a></div> 143 <div align="right"><a href="#top">Up</a></div>
105 <hr /> 144 <hr />
106 </body></html> 145 </body></html>

eric ide

mercurial