|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>Plugin_Refactoring_Rope.RefactoringRope.MoveModuleDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>Plugin_Refactoring_Rope.RefactoringRope.MoveModuleDialog</h1> |
|
24 <p> |
|
25 Module implementing the Move Module dialog. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#MoveModuleDialog">MoveModuleDialog</a></td> |
|
35 <td>Class implementing the Move Module dialog.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="MoveModuleDialog" ID="MoveModuleDialog"></a> |
|
44 <h2>MoveModuleDialog</h2> |
|
45 <p> |
|
46 Class implementing the Move Module dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 RefactoringDialogBase, Ui_MoveModuleDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#MoveModuleDialog.__init__">MoveModuleDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#MoveModuleDialog.__checkDestination">__checkDestination</a></td> |
|
61 <td>Private method to check the destination entered.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#MoveModuleDialog._calculateChanges">_calculateChanges</a></td> |
|
64 <td>Protected method to calculate the changes.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MoveModuleDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
67 <td>Private slot to act on the button pressed.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MoveModuleDialog.on_destinationEdit_textChanged">on_destinationEdit_textChanged</a></td> |
|
70 <td>Slot called, when the destinationEdit text is changed.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#MoveModuleDialog.on_selectButton_clicked">on_selectButton_clicked</a></td> |
|
73 <td>Slot called to select the destination via a file selection dialog.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <a NAME="MoveModuleDialog.__init__" ID="MoveModuleDialog.__init__"></a> |
|
77 <h4>MoveModuleDialog (Constructor)</h4> |
|
78 <b>MoveModuleDialog</b>(<i>refactoring, title, mover, parent=None</i>) |
|
79 <p> |
|
80 Constructor |
|
81 </p><dl> |
|
82 <dt><i>refactoring</i></dt> |
|
83 <dd> |
|
84 reference to the main refactoring object |
|
85 (Refactoring) |
|
86 </dd><dt><i>title</i></dt> |
|
87 <dd> |
|
88 title of the dialog (string) |
|
89 </dd><dt><i>mover</i></dt> |
|
90 <dd> |
|
91 reference to the mover object |
|
92 (rope.refactor.move.MoveMethod) |
|
93 </dd><dt><i>parent</i></dt> |
|
94 <dd> |
|
95 reference to the parent widget (QWidget) |
|
96 </dd> |
|
97 </dl><a NAME="MoveModuleDialog.__checkDestination" ID="MoveModuleDialog.__checkDestination"></a> |
|
98 <h4>MoveModuleDialog.__checkDestination</h4> |
|
99 <b>__checkDestination</b>(<i></i>) |
|
100 <p> |
|
101 Private method to check the destination entered. |
|
102 </p><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 flag indicating a valid entry (boolean) |
|
106 </dd> |
|
107 </dl><a NAME="MoveModuleDialog._calculateChanges" ID="MoveModuleDialog._calculateChanges"></a> |
|
108 <h4>MoveModuleDialog._calculateChanges</h4> |
|
109 <b>_calculateChanges</b>(<i>handle</i>) |
|
110 <p> |
|
111 Protected method to calculate the changes. |
|
112 </p><dl> |
|
113 <dt><i>handle</i></dt> |
|
114 <dd> |
|
115 reference to the task handle |
|
116 (rope.base.taskhandle.TaskHandle) |
|
117 </dd> |
|
118 </dl><dl> |
|
119 <dt>Returns:</dt> |
|
120 <dd> |
|
121 reference to the Changes object (rope.base.change.ChangeSet) |
|
122 </dd> |
|
123 </dl><a NAME="MoveModuleDialog.on_buttonBox_clicked" ID="MoveModuleDialog.on_buttonBox_clicked"></a> |
|
124 <h4>MoveModuleDialog.on_buttonBox_clicked</h4> |
|
125 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
126 <p> |
|
127 Private slot to act on the button pressed. |
|
128 </p><dl> |
|
129 <dt><i>button</i></dt> |
|
130 <dd> |
|
131 reference to the button pressed (QAbstractButton) |
|
132 </dd> |
|
133 </dl><a NAME="MoveModuleDialog.on_destinationEdit_textChanged" ID="MoveModuleDialog.on_destinationEdit_textChanged"></a> |
|
134 <h4>MoveModuleDialog.on_destinationEdit_textChanged</h4> |
|
135 <b>on_destinationEdit_textChanged</b>(<i>text</i>) |
|
136 <p> |
|
137 Slot called, when the destinationEdit text is changed. |
|
138 </p><dl> |
|
139 <dt><i>text</i></dt> |
|
140 <dd> |
|
141 text entered into the edit (string) |
|
142 </dd> |
|
143 </dl><a NAME="MoveModuleDialog.on_selectButton_clicked" ID="MoveModuleDialog.on_selectButton_clicked"></a> |
|
144 <h4>MoveModuleDialog.on_selectButton_clicked</h4> |
|
145 <b>on_selectButton_clicked</b>(<i></i>) |
|
146 <p> |
|
147 Slot called to select the destination via a file selection dialog. |
|
148 </p> |
|
149 <div align="right"><a href="#top">Up</a></div> |
|
150 <hr /> |
|
151 </body></html> |