5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>Plugin_Refactoring_Rope.RefactoringRope.RenameDialog</h1> |
9 <h1>Plugin_Refactoring_Rope.RefactoringRope.RenameDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Rename dialog. |
11 Module implementing the Rename dialog. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#RenameDialog">RenameDialog</a></td> |
22 <td><a href="#RenameDialog">RenameDialog</a></td> |
25 <td>Class implementing the Rename dialog.</td> |
23 <td>Class implementing the Rename dialog.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="RenameDialog" ID="RenameDialog"></a> |
34 <a NAME="RenameDialog" ID="RenameDialog"></a> |
36 <h2>RenameDialog</h2> |
35 <h2>RenameDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the Rename dialog. |
37 Class implementing the Rename dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 RefactoringDialogBase, Ui_RenameDialog |
41 RefactoringDialogBase, Ui_RenameDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#RenameDialog.__init__">RenameDialog</a></td> |
55 <td><a href="#RenameDialog.__init__">RenameDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
77 <tr> |
74 <tr> |
78 <td><a href="#RenameDialog.processChangeData">processChangeData</a></td> |
75 <td><a href="#RenameDialog.processChangeData">processChangeData</a></td> |
79 <td>Public method to process the change data sent by the refactoring client.</td> |
76 <td>Public method to process the change data sent by the refactoring client.</td> |
80 </tr> |
77 </tr> |
81 </table> |
78 </table> |
|
79 |
82 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
83 |
|
84 <table> |
81 <table> |
85 <tr><td>None</td></tr> |
82 <tr><td>None</td></tr> |
86 </table> |
83 </table> |
87 |
84 |
|
85 |
88 <a NAME="RenameDialog.__init__" ID="RenameDialog.__init__"></a> |
86 <a NAME="RenameDialog.__init__" ID="RenameDialog.__init__"></a> |
89 <h4>RenameDialog (Constructor)</h4> |
87 <h4>RenameDialog (Constructor)</h4> |
90 <b>RenameDialog</b>(<i>refactoring, title, filename, offset, isLocal, selectedText="", parent=None, </i>) |
88 <b>RenameDialog</b>(<i>refactoring, title, filename, offset, isLocal, selectedText="", parent=None, </i>) |
91 |
|
92 <p> |
89 <p> |
93 Constructor |
90 Constructor |
94 </p> |
91 </p> |
|
92 |
95 <dl> |
93 <dl> |
96 |
94 |
97 <dt><i>refactoring</i> (RefactoringServer)</dt> |
95 <dt><i>refactoring</i> (RefactoringServer)</dt> |
98 <dd> |
96 <dd> |
99 reference to the main refactoring object |
97 reference to the main refactoring object |
125 </dd> |
123 </dd> |
126 </dl> |
124 </dl> |
127 <a NAME="RenameDialog.__confirmUnsure" ID="RenameDialog.__confirmUnsure"></a> |
125 <a NAME="RenameDialog.__confirmUnsure" ID="RenameDialog.__confirmUnsure"></a> |
128 <h4>RenameDialog.__confirmUnsure</h4> |
126 <h4>RenameDialog.__confirmUnsure</h4> |
129 <b>__confirmUnsure</b>(<i>data</i>) |
127 <b>__confirmUnsure</b>(<i>data</i>) |
130 |
|
131 <p> |
128 <p> |
132 Private method to confirm unsure occurrences. |
129 Private method to confirm unsure occurrences. |
133 </p> |
130 </p> |
|
131 |
134 <dl> |
132 <dl> |
135 |
133 |
136 <dt><i>data</i> (dict)</dt> |
134 <dt><i>data</i> (dict)</dt> |
137 <dd> |
135 <dd> |
138 dictionary containing the change data |
136 dictionary containing the change data |
139 </dd> |
137 </dd> |
140 </dl> |
138 </dl> |
141 <a NAME="RenameDialog._calculateChanges" ID="RenameDialog._calculateChanges"></a> |
139 <a NAME="RenameDialog._calculateChanges" ID="RenameDialog._calculateChanges"></a> |
142 <h4>RenameDialog._calculateChanges</h4> |
140 <h4>RenameDialog._calculateChanges</h4> |
143 <b>_calculateChanges</b>(<i></i>) |
141 <b>_calculateChanges</b>(<i></i>) |
144 |
|
145 <p> |
142 <p> |
146 Protected method to initiate the calculation of the changes. |
143 Protected method to initiate the calculation of the changes. |
147 </p> |
144 </p> |
|
145 |
148 <a NAME="RenameDialog.on_buttonBox_clicked" ID="RenameDialog.on_buttonBox_clicked"></a> |
146 <a NAME="RenameDialog.on_buttonBox_clicked" ID="RenameDialog.on_buttonBox_clicked"></a> |
149 <h4>RenameDialog.on_buttonBox_clicked</h4> |
147 <h4>RenameDialog.on_buttonBox_clicked</h4> |
150 <b>on_buttonBox_clicked</b>(<i>button</i>) |
148 <b>on_buttonBox_clicked</b>(<i>button</i>) |
151 |
|
152 <p> |
149 <p> |
153 Private slot to act on the button pressed. |
150 Private slot to act on the button pressed. |
154 </p> |
151 </p> |
|
152 |
155 <dl> |
153 <dl> |
156 |
154 |
157 <dt><i>button</i> (QAbstractButton)</dt> |
155 <dt><i>button</i> (QAbstractButton)</dt> |
158 <dd> |
156 <dd> |
159 reference to the button pressed |
157 reference to the button pressed |
160 </dd> |
158 </dd> |
161 </dl> |
159 </dl> |
162 <a NAME="RenameDialog.on_newNameEdit_textChanged" ID="RenameDialog.on_newNameEdit_textChanged"></a> |
160 <a NAME="RenameDialog.on_newNameEdit_textChanged" ID="RenameDialog.on_newNameEdit_textChanged"></a> |
163 <h4>RenameDialog.on_newNameEdit_textChanged</h4> |
161 <h4>RenameDialog.on_newNameEdit_textChanged</h4> |
164 <b>on_newNameEdit_textChanged</b>(<i>text</i>) |
162 <b>on_newNameEdit_textChanged</b>(<i>text</i>) |
165 |
|
166 <p> |
163 <p> |
167 Private slot to react to changes of the new name. |
164 Private slot to react to changes of the new name. |
168 </p> |
165 </p> |
|
166 |
169 <dl> |
167 <dl> |
170 |
168 |
171 <dt><i>text</i> (str)</dt> |
169 <dt><i>text</i> (str)</dt> |
172 <dd> |
170 <dd> |
173 text entered into the edit |
171 text entered into the edit |
174 </dd> |
172 </dd> |
175 </dl> |
173 </dl> |
176 <a NAME="RenameDialog.processChangeData" ID="RenameDialog.processChangeData"></a> |
174 <a NAME="RenameDialog.processChangeData" ID="RenameDialog.processChangeData"></a> |
177 <h4>RenameDialog.processChangeData</h4> |
175 <h4>RenameDialog.processChangeData</h4> |
178 <b>processChangeData</b>(<i>data</i>) |
176 <b>processChangeData</b>(<i>data</i>) |
179 |
|
180 <p> |
177 <p> |
181 Public method to process the change data sent by the refactoring |
178 Public method to process the change data sent by the refactoring |
182 client. |
179 client. |
183 </p> |
180 </p> |
|
181 |
184 <dl> |
182 <dl> |
185 |
183 |
186 <dt><i>data</i> (dict)</dt> |
184 <dt><i>data</i> (dict)</dt> |
187 <dd> |
185 <dd> |
188 dictionary containing the change data |
186 dictionary containing the change data |