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>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the data to rename a patch. |
11 Module implementing a dialog to enter the data to rename a patch. |
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="#HgQueuesRenamePatchDialog">HgQueuesRenamePatchDialog</a></td> |
22 <td><a href="#HgQueuesRenamePatchDialog">HgQueuesRenamePatchDialog</a></td> |
25 <td>Class implementing a dialog to enter the data to rename a patch.</td> |
23 <td>Class implementing a dialog to enter the data to rename a patch.</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="HgQueuesRenamePatchDialog" ID="HgQueuesRenamePatchDialog"></a> |
34 <a NAME="HgQueuesRenamePatchDialog" ID="HgQueuesRenamePatchDialog"></a> |
36 <h2>HgQueuesRenamePatchDialog</h2> |
35 <h2>HgQueuesRenamePatchDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter the data to rename a patch. |
37 Class implementing a dialog to enter the data to rename a patch. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgQueuesRenamePatchDialog |
41 QDialog, Ui_HgQueuesRenamePatchDialog |
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="#HgQueuesRenamePatchDialog.__init__">HgQueuesRenamePatchDialog</a></td> |
55 <td><a href="#HgQueuesRenamePatchDialog.__init__">HgQueuesRenamePatchDialog</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="#HgQueuesRenamePatchDialog.on_namedButton_toggled">on_namedButton_toggled</a></td> |
75 <td><a href="#HgQueuesRenamePatchDialog.on_namedButton_toggled">on_namedButton_toggled</a></td> |
79 <td>Private slot to handle changes of the selection method.</td> |
76 <td>Private slot to handle changes of the selection method.</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="HgQueuesRenamePatchDialog.__init__" ID="HgQueuesRenamePatchDialog.__init__"></a> |
86 <a NAME="HgQueuesRenamePatchDialog.__init__" ID="HgQueuesRenamePatchDialog.__init__"></a> |
89 <h4>HgQueuesRenamePatchDialog (Constructor)</h4> |
87 <h4>HgQueuesRenamePatchDialog (Constructor)</h4> |
90 <b>HgQueuesRenamePatchDialog</b>(<i>currentPatch, patchesList, parent=None</i>) |
88 <b>HgQueuesRenamePatchDialog</b>(<i>currentPatch, patchesList, 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>currentPatch</i> (str)</dt> |
95 <dt><i>currentPatch</i> (str)</dt> |
98 <dd> |
96 <dd> |
99 name of the current patch |
97 name of the current patch |
108 </dd> |
106 </dd> |
109 </dl> |
107 </dl> |
110 <a NAME="HgQueuesRenamePatchDialog.__updateUI" ID="HgQueuesRenamePatchDialog.__updateUI"></a> |
108 <a NAME="HgQueuesRenamePatchDialog.__updateUI" ID="HgQueuesRenamePatchDialog.__updateUI"></a> |
111 <h4>HgQueuesRenamePatchDialog.__updateUI</h4> |
109 <h4>HgQueuesRenamePatchDialog.__updateUI</h4> |
112 <b>__updateUI</b>(<i></i>) |
110 <b>__updateUI</b>(<i></i>) |
113 |
|
114 <p> |
111 <p> |
115 Private slot to update the UI. |
112 Private slot to update the UI. |
116 </p> |
113 </p> |
|
114 |
117 <a NAME="HgQueuesRenamePatchDialog.getData" ID="HgQueuesRenamePatchDialog.getData"></a> |
115 <a NAME="HgQueuesRenamePatchDialog.getData" ID="HgQueuesRenamePatchDialog.getData"></a> |
118 <h4>HgQueuesRenamePatchDialog.getData</h4> |
116 <h4>HgQueuesRenamePatchDialog.getData</h4> |
119 <b>getData</b>(<i></i>) |
117 <b>getData</b>(<i></i>) |
120 |
|
121 <p> |
118 <p> |
122 Public method to retrieve the entered data. |
119 Public method to retrieve the entered data. |
123 </p> |
120 </p> |
|
121 |
124 <dl> |
122 <dl> |
125 <dt>Return:</dt> |
123 <dt>Return:</dt> |
126 <dd> |
124 <dd> |
127 tuple of new name and selected patch |
125 tuple of new name and selected patch |
128 </dd> |
126 </dd> |
134 </dd> |
132 </dd> |
135 </dl> |
133 </dl> |
136 <a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> |
134 <a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> |
137 <h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> |
135 <h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> |
138 <b>on_nameCombo_currentIndexChanged</b>(<i>index</i>) |
136 <b>on_nameCombo_currentIndexChanged</b>(<i>index</i>) |
139 |
|
140 <p> |
137 <p> |
141 Private slot to handle changes of the selected patch name. |
138 Private slot to handle changes of the selected patch name. |
142 </p> |
139 </p> |
|
140 |
143 <dl> |
141 <dl> |
144 |
142 |
145 <dt><i>index</i> (int)</dt> |
143 <dt><i>index</i> (int)</dt> |
146 <dd> |
144 <dd> |
147 current index |
145 current index |
148 </dd> |
146 </dd> |
149 </dl> |
147 </dl> |
150 <a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a> |
148 <a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a> |
151 <h4>HgQueuesRenamePatchDialog.on_nameEdit_textChanged</h4> |
149 <h4>HgQueuesRenamePatchDialog.on_nameEdit_textChanged</h4> |
152 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
150 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
153 |
|
154 <p> |
151 <p> |
155 Private slot to handle changes of the new name. |
152 Private slot to handle changes of the new name. |
156 </p> |
153 </p> |
|
154 |
157 <dl> |
155 <dl> |
158 |
156 |
159 <dt><i>txt</i> (str)</dt> |
157 <dt><i>txt</i> (str)</dt> |
160 <dd> |
158 <dd> |
161 text of the edit |
159 text of the edit |
162 </dd> |
160 </dd> |
163 </dl> |
161 </dl> |
164 <a NAME="HgQueuesRenamePatchDialog.on_namedButton_toggled" ID="HgQueuesRenamePatchDialog.on_namedButton_toggled"></a> |
162 <a NAME="HgQueuesRenamePatchDialog.on_namedButton_toggled" ID="HgQueuesRenamePatchDialog.on_namedButton_toggled"></a> |
165 <h4>HgQueuesRenamePatchDialog.on_namedButton_toggled</h4> |
163 <h4>HgQueuesRenamePatchDialog.on_namedButton_toggled</h4> |
166 <b>on_namedButton_toggled</b>(<i>checked</i>) |
164 <b>on_namedButton_toggled</b>(<i>checked</i>) |
167 |
|
168 <p> |
165 <p> |
169 Private slot to handle changes of the selection method. |
166 Private slot to handle changes of the selection method. |
170 </p> |
167 </p> |
|
168 |
171 <dl> |
169 <dl> |
172 |
170 |
173 <dt><i>checked</i> (bool)</dt> |
171 <dt><i>checked</i> (bool)</dt> |
174 <dd> |
172 <dd> |
175 state of the check box |
173 state of the check box |