RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.InlineArgumentDefaultDialog.html

changeset 17
a0fac63ef73f
child 44
8aa985c8dee5
equal deleted inserted replaced
16:65b340b40844 17:a0fac63ef73f
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.InlineArgumentDefaultDialog</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.InlineArgumentDefaultDialog</h1>
24 <p>
25 Module implementing the Inline Argument Default 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="#InlineArgumentDefaultDialog">InlineArgumentDefaultDialog</a></td>
35 <td>Class implementing the Inline Argument Default 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="InlineArgumentDefaultDialog" ID="InlineArgumentDefaultDialog"></a>
44 <h2>InlineArgumentDefaultDialog</h2>
45 <p>
46 Class implementing the Inline Argument Default dialog.
47 </p>
48 <h3>Derived from</h3>
49 RefactoringDialogBase, Ui_InlineArgumentDefaultDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>NameRole</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#InlineArgumentDefaultDialog.__init__">InlineArgumentDefaultDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#InlineArgumentDefaultDialog.__getParameterIndex">__getParameterIndex</a></td>
61 <td>Private method to calculate the index of the given paramter.</td>
62 </tr><tr>
63 <td><a href="#InlineArgumentDefaultDialog._calculateChanges">_calculateChanges</a></td>
64 <td>Protected method to calculate the changes.</td>
65 </tr><tr>
66 <td><a href="#InlineArgumentDefaultDialog.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="#InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged">on_parameterList_itemSelectionChanged</a></td>
70 <td>Private slot called, when the selection changes.</td>
71 </tr>
72 </table>
73 <a NAME="InlineArgumentDefaultDialog.__init__" ID="InlineArgumentDefaultDialog.__init__"></a>
74 <h4>InlineArgumentDefaultDialog (Constructor)</h4>
75 <b>InlineArgumentDefaultDialog</b>(<i>refactoring, title, changer, parent=None</i>)
76 <p>
77 Constructor
78 </p><dl>
79 <dt><i>refactoring</i></dt>
80 <dd>
81 reference to the main refactoring object
82 (Refactoring)
83 </dd><dt><i>title</i></dt>
84 <dd>
85 title of the dialog (string)
86 </dd><dt><i>changer</i></dt>
87 <dd>
88 reference to the signature changer object
89 (rope.refactor.change_signature.ChangeSignature)
90 </dd><dt><i>parent</i></dt>
91 <dd>
92 reference to the parent widget (QWidget)
93 </dd>
94 </dl><a NAME="InlineArgumentDefaultDialog.__getParameterIndex" ID="InlineArgumentDefaultDialog.__getParameterIndex"></a>
95 <h4>InlineArgumentDefaultDialog.__getParameterIndex</h4>
96 <b>__getParameterIndex</b>(<i>definition_info, name</i>)
97 <p>
98 Private method to calculate the index of the given paramter.
99 </p><dl>
100 <dt><i>definition_info</i></dt>
101 <dd>
102 object containing the method definition
103 </dd><dt><i>name</i></dt>
104 <dd>
105 parameter name (string)
106 </dd>
107 </dl><dl>
108 <dt>Returns:</dt>
109 <dd>
110 index of the parameter (integer)
111 </dd>
112 </dl><a NAME="InlineArgumentDefaultDialog._calculateChanges" ID="InlineArgumentDefaultDialog._calculateChanges"></a>
113 <h4>InlineArgumentDefaultDialog._calculateChanges</h4>
114 <b>_calculateChanges</b>(<i>handle</i>)
115 <p>
116 Protected method to calculate the changes.
117 </p><dl>
118 <dt><i>handle</i></dt>
119 <dd>
120 reference to the task handle
121 (rope.base.taskhandle.TaskHandle)
122 </dd>
123 </dl><dl>
124 <dt>Returns:</dt>
125 <dd>
126 reference to the Changes object (rope.base.change.ChangeSet)
127 </dd>
128 </dl><a NAME="InlineArgumentDefaultDialog.on_buttonBox_clicked" ID="InlineArgumentDefaultDialog.on_buttonBox_clicked"></a>
129 <h4>InlineArgumentDefaultDialog.on_buttonBox_clicked</h4>
130 <b>on_buttonBox_clicked</b>(<i>button</i>)
131 <p>
132 Private slot to act on the button pressed.
133 </p><dl>
134 <dt><i>button</i></dt>
135 <dd>
136 reference to the button pressed (QAbstractButton)
137 </dd>
138 </dl><a NAME="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged" ID="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged"></a>
139 <h4>InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged</h4>
140 <b>on_parameterList_itemSelectionChanged</b>(<i></i>)
141 <p>
142 Private slot called, when the selection changes.
143 </p>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial