|
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.IntroduceParameterDialog</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.IntroduceParameterDialog</h1> |
|
24 <p> |
|
25 Module implementing the Introduce Parameter 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="#IntroduceParameterDialog">IntroduceParameterDialog</a></td> |
|
35 <td>Class implementing the Introduce Parameter 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="IntroduceParameterDialog" ID="IntroduceParameterDialog"></a> |
|
44 <h2>IntroduceParameterDialog</h2> |
|
45 <p> |
|
46 Class implementing the Introduce Parameter dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 RefactoringDialogBase, Ui_IntroduceParameterDialog |
|
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="#IntroduceParameterDialog.__init__">IntroduceParameterDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#IntroduceParameterDialog._calculateChanges">_calculateChanges</a></td> |
|
61 <td>Protected method to calculate the changes.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#IntroduceParameterDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
64 <td>Private slot to act on the button pressed.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#IntroduceParameterDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
67 <td>Private slot to react to changes of the name.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <a NAME="IntroduceParameterDialog.__init__" ID="IntroduceParameterDialog.__init__"></a> |
|
71 <h4>IntroduceParameterDialog (Constructor)</h4> |
|
72 <b>IntroduceParameterDialog</b>(<i>refactoring, title, introducer, parent=None</i>) |
|
73 <p> |
|
74 Constructor |
|
75 </p><dl> |
|
76 <dt><i>refactoring</i></dt> |
|
77 <dd> |
|
78 reference to the main refactoring object |
|
79 (Refactoring) |
|
80 </dd><dt><i>title</i></dt> |
|
81 <dd> |
|
82 title of the dialog (string) |
|
83 </dd><dt><i>introducer</i></dt> |
|
84 <dd> |
|
85 reference to the factory introducer object |
|
86 (rope.refactor.introduce_parameter.IntroduceParameter) |
|
87 </dd><dt><i>parent</i></dt> |
|
88 <dd> |
|
89 reference to the parent widget (QWidget) |
|
90 </dd> |
|
91 </dl><a NAME="IntroduceParameterDialog._calculateChanges" ID="IntroduceParameterDialog._calculateChanges"></a> |
|
92 <h4>IntroduceParameterDialog._calculateChanges</h4> |
|
93 <b>_calculateChanges</b>(<i>handle</i>) |
|
94 <p> |
|
95 Protected method to calculate the changes. |
|
96 </p><dl> |
|
97 <dt><i>handle</i></dt> |
|
98 <dd> |
|
99 reference to the task handle |
|
100 (rope.base.taskhandle.TaskHandle) |
|
101 </dd> |
|
102 </dl><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 reference to the Changes object (rope.base.change.ChangeSet) |
|
106 </dd> |
|
107 </dl><a NAME="IntroduceParameterDialog.on_buttonBox_clicked" ID="IntroduceParameterDialog.on_buttonBox_clicked"></a> |
|
108 <h4>IntroduceParameterDialog.on_buttonBox_clicked</h4> |
|
109 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
110 <p> |
|
111 Private slot to act on the button pressed. |
|
112 </p><dl> |
|
113 <dt><i>button</i></dt> |
|
114 <dd> |
|
115 reference to the button pressed (QAbstractButton) |
|
116 </dd> |
|
117 </dl><a NAME="IntroduceParameterDialog.on_nameEdit_textChanged" ID="IntroduceParameterDialog.on_nameEdit_textChanged"></a> |
|
118 <h4>IntroduceParameterDialog.on_nameEdit_textChanged</h4> |
|
119 <b>on_nameEdit_textChanged</b>(<i>text</i>) |
|
120 <p> |
|
121 Private slot to react to changes of the name. |
|
122 </p><dl> |
|
123 <dt><i>text</i></dt> |
|
124 <dd> |
|
125 text entered into the edit (string) |
|
126 </dd> |
|
127 </dl> |
|
128 <div align="right"><a href="#top">Up</a></div> |
|
129 <hr /> |
|
130 </body></html> |