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.HgQueuesNewPatchDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesNewPatchDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to get the data for a new patch. |
11 Module implementing a dialog to get the data for a new patch. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgQueuesNewPatchDialog">HgQueuesNewPatchDialog</a></td> |
22 <td><a href="#HgQueuesNewPatchDialog">HgQueuesNewPatchDialog</a></td> |
25 <td>Class implementing a dialog to get the data for a new patch.</td> |
23 <td>Class implementing a dialog to get the data for a new patch.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgQueuesNewPatchDialog" ID="HgQueuesNewPatchDialog"></a> |
34 <a NAME="HgQueuesNewPatchDialog" ID="HgQueuesNewPatchDialog"></a> |
36 <h2>HgQueuesNewPatchDialog</h2> |
35 <h2>HgQueuesNewPatchDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to get the data for a new patch. |
37 Class implementing a dialog to get the data for a new patch. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgQueuesNewPatchDialog |
41 QDialog, Ui_HgQueuesNewPatchDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>NEW_MODE</td></tr> |
46 <tr><td>NEW_MODE</td></tr><tr><td>REFRESH_MODE</td></tr> |
45 <tr><td>REFRESH_MODE</td></tr> |
47 </table> |
46 </table> |
|
47 |
48 <h3>Class Methods</h3> |
48 <h3>Class Methods</h3> |
49 |
49 <table> |
50 <table> |
50 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
51 </table> |
52 </table> |
52 |
53 <h3>Methods</h3> |
53 <h3>Methods</h3> |
54 |
54 <table> |
55 <table> |
|
56 |
|
57 <tr> |
55 <tr> |
58 <td><a href="#HgQueuesNewPatchDialog.__init__">HgQueuesNewPatchDialog</a></td> |
56 <td><a href="#HgQueuesNewPatchDialog.__init__">HgQueuesNewPatchDialog</a></td> |
59 <td>Constructor</td> |
57 <td>Constructor</td> |
60 </tr> |
58 </tr> |
61 <tr> |
59 <tr> |
85 <tr> |
83 <tr> |
86 <td><a href="#HgQueuesNewPatchDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> |
84 <td><a href="#HgQueuesNewPatchDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> |
87 <td>Private slot to handle changes of the user group state.</td> |
85 <td>Private slot to handle changes of the user group state.</td> |
88 </tr> |
86 </tr> |
89 </table> |
87 </table> |
|
88 |
90 <h3>Static Methods</h3> |
89 <h3>Static Methods</h3> |
91 |
90 <table> |
92 <table> |
91 <tr><td>None</td></tr> |
93 <tr><td>None</td></tr> |
92 </table> |
94 </table> |
93 |
95 |
94 |
96 <a NAME="HgQueuesNewPatchDialog.__init__" ID="HgQueuesNewPatchDialog.__init__"></a> |
95 <a NAME="HgQueuesNewPatchDialog.__init__" ID="HgQueuesNewPatchDialog.__init__"></a> |
97 <h4>HgQueuesNewPatchDialog (Constructor)</h4> |
96 <h4>HgQueuesNewPatchDialog (Constructor)</h4> |
98 <b>HgQueuesNewPatchDialog</b>(<i>mode, message="", parent=None</i>) |
97 <b>HgQueuesNewPatchDialog</b>(<i>mode, message="", parent=None</i>) |
99 |
|
100 <p> |
98 <p> |
101 Constructor |
99 Constructor |
102 </p> |
100 </p> |
|
101 |
103 <dl> |
102 <dl> |
104 |
103 |
105 <dt><i>mode</i> (int)</dt> |
104 <dt><i>mode</i> (int)</dt> |
106 <dd> |
105 <dd> |
107 mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE, |
106 mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE, |
124 </dd> |
123 </dd> |
125 </dl> |
124 </dl> |
126 <a NAME="HgQueuesNewPatchDialog.__updateUI" ID="HgQueuesNewPatchDialog.__updateUI"></a> |
125 <a NAME="HgQueuesNewPatchDialog.__updateUI" ID="HgQueuesNewPatchDialog.__updateUI"></a> |
127 <h4>HgQueuesNewPatchDialog.__updateUI</h4> |
126 <h4>HgQueuesNewPatchDialog.__updateUI</h4> |
128 <b>__updateUI</b>(<i></i>) |
127 <b>__updateUI</b>(<i></i>) |
129 |
|
130 <p> |
128 <p> |
131 Private slot to update the UI. |
129 Private slot to update the UI. |
132 </p> |
130 </p> |
|
131 |
133 <a NAME="HgQueuesNewPatchDialog.getData" ID="HgQueuesNewPatchDialog.getData"></a> |
132 <a NAME="HgQueuesNewPatchDialog.getData" ID="HgQueuesNewPatchDialog.getData"></a> |
134 <h4>HgQueuesNewPatchDialog.getData</h4> |
133 <h4>HgQueuesNewPatchDialog.getData</h4> |
135 <b>getData</b>(<i></i>) |
134 <b>getData</b>(<i></i>) |
136 |
|
137 <p> |
135 <p> |
138 Public method to retrieve the entered data. |
136 Public method to retrieve the entered data. |
139 </p> |
137 </p> |
|
138 |
140 <dl> |
139 <dl> |
141 <dt>Return:</dt> |
140 <dt>Return:</dt> |
142 <dd> |
141 <dd> |
143 tuple giving the patch name and message, a tuple giving a |
142 tuple giving the patch name and message, a tuple giving a |
144 flag indicating to set the user, a flag indicating to use the |
143 flag indicating to set the user, a flag indicating to use the |
155 </dd> |
154 </dd> |
156 </dl> |
155 </dl> |
157 <a NAME="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled" ID="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled"></a> |
156 <a NAME="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled" ID="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled"></a> |
158 <h4>HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled</h4> |
157 <h4>HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled</h4> |
159 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) |
158 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) |
160 |
|
161 <p> |
159 <p> |
162 Private slot to handle changes of the currentuser state. |
160 Private slot to handle changes of the currentuser state. |
163 </p> |
161 </p> |
|
162 |
164 <dl> |
163 <dl> |
165 |
164 |
166 <dt><i>checked</i> (bool)</dt> |
165 <dt><i>checked</i> (bool)</dt> |
167 <dd> |
166 <dd> |
168 flag giving the checked state |
167 flag giving the checked state |
169 </dd> |
168 </dd> |
170 </dl> |
169 </dl> |
171 <a NAME="HgQueuesNewPatchDialog.on_messageEdit_textChanged" ID="HgQueuesNewPatchDialog.on_messageEdit_textChanged"></a> |
170 <a NAME="HgQueuesNewPatchDialog.on_messageEdit_textChanged" ID="HgQueuesNewPatchDialog.on_messageEdit_textChanged"></a> |
172 <h4>HgQueuesNewPatchDialog.on_messageEdit_textChanged</h4> |
171 <h4>HgQueuesNewPatchDialog.on_messageEdit_textChanged</h4> |
173 <b>on_messageEdit_textChanged</b>(<i></i>) |
172 <b>on_messageEdit_textChanged</b>(<i></i>) |
174 |
|
175 <p> |
173 <p> |
176 Private slot to handle changes of the patch message. |
174 Private slot to handle changes of the patch message. |
177 </p> |
175 </p> |
|
176 |
178 <a NAME="HgQueuesNewPatchDialog.on_nameEdit_textChanged" ID="HgQueuesNewPatchDialog.on_nameEdit_textChanged"></a> |
177 <a NAME="HgQueuesNewPatchDialog.on_nameEdit_textChanged" ID="HgQueuesNewPatchDialog.on_nameEdit_textChanged"></a> |
179 <h4>HgQueuesNewPatchDialog.on_nameEdit_textChanged</h4> |
178 <h4>HgQueuesNewPatchDialog.on_nameEdit_textChanged</h4> |
180 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
179 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
181 |
|
182 <p> |
180 <p> |
183 Private slot to handle changes of the patch name. |
181 Private slot to handle changes of the patch name. |
184 </p> |
182 </p> |
|
183 |
185 <dl> |
184 <dl> |
186 |
185 |
187 <dt><i>txt</i> (str)</dt> |
186 <dt><i>txt</i> (str)</dt> |
188 <dd> |
187 <dd> |
189 text of the edit |
188 text of the edit |
190 </dd> |
189 </dd> |
191 </dl> |
190 </dl> |
192 <a NAME="HgQueuesNewPatchDialog.on_userEdit_textChanged" ID="HgQueuesNewPatchDialog.on_userEdit_textChanged"></a> |
191 <a NAME="HgQueuesNewPatchDialog.on_userEdit_textChanged" ID="HgQueuesNewPatchDialog.on_userEdit_textChanged"></a> |
193 <h4>HgQueuesNewPatchDialog.on_userEdit_textChanged</h4> |
192 <h4>HgQueuesNewPatchDialog.on_userEdit_textChanged</h4> |
194 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
193 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
195 |
|
196 <p> |
194 <p> |
197 Private slot to handle changes of the user name. |
195 Private slot to handle changes of the user name. |
198 </p> |
196 </p> |
|
197 |
199 <dl> |
198 <dl> |
200 |
199 |
201 <dt><i>txt</i> (str)</dt> |
200 <dt><i>txt</i> (str)</dt> |
202 <dd> |
201 <dd> |
203 text of the edit |
202 text of the edit |
204 </dd> |
203 </dd> |
205 </dl> |
204 </dl> |
206 <a NAME="HgQueuesNewPatchDialog.on_userGroup_toggled" ID="HgQueuesNewPatchDialog.on_userGroup_toggled"></a> |
205 <a NAME="HgQueuesNewPatchDialog.on_userGroup_toggled" ID="HgQueuesNewPatchDialog.on_userGroup_toggled"></a> |
207 <h4>HgQueuesNewPatchDialog.on_userGroup_toggled</h4> |
206 <h4>HgQueuesNewPatchDialog.on_userGroup_toggled</h4> |
208 <b>on_userGroup_toggled</b>(<i>checked</i>) |
207 <b>on_userGroup_toggled</b>(<i>checked</i>) |
209 |
|
210 <p> |
208 <p> |
211 Private slot to handle changes of the user group state. |
209 Private slot to handle changes of the user group state. |
212 </p> |
210 </p> |
|
211 |
213 <dl> |
212 <dl> |
214 |
213 |
215 <dt><i>checked</i> (bool)</dt> |
214 <dt><i>checked</i> (bool)</dt> |
216 <dd> |
215 <dd> |
217 flag giving the checked state |
216 flag giving the checked state |