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.HgGraftDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgGraftDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the data for a graft session. |
11 Module implementing a dialog to enter the data for a graft session. |
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="#HgGraftDialog">HgGraftDialog</a></td> |
22 <td><a href="#HgGraftDialog">HgGraftDialog</a></td> |
25 <td>Class implementing a dialog to enter the data for a graft session.</td> |
23 <td>Class implementing a dialog to enter the data for a graft session.</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="HgGraftDialog" ID="HgGraftDialog"></a> |
34 <a NAME="HgGraftDialog" ID="HgGraftDialog"></a> |
36 <h2>HgGraftDialog</h2> |
35 <h2>HgGraftDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter the data for a graft session. |
37 Class implementing a dialog to enter the data for a graft session. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgGraftDialog |
41 QDialog, Ui_HgGraftDialog |
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="#HgGraftDialog.__init__">HgGraftDialog</a></td> |
55 <td><a href="#HgGraftDialog.__init__">HgGraftDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
81 <tr> |
78 <tr> |
82 <td><a href="#HgGraftDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> |
79 <td><a href="#HgGraftDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> |
83 <td>Private slot to handle changes of the user group state.</td> |
80 <td>Private slot to handle changes of the user group state.</td> |
84 </tr> |
81 </tr> |
85 </table> |
82 </table> |
|
83 |
86 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
87 |
|
88 <table> |
85 <table> |
89 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
90 </table> |
87 </table> |
91 |
88 |
|
89 |
92 <a NAME="HgGraftDialog.__init__" ID="HgGraftDialog.__init__"></a> |
90 <a NAME="HgGraftDialog.__init__" ID="HgGraftDialog.__init__"></a> |
93 <h4>HgGraftDialog (Constructor)</h4> |
91 <h4>HgGraftDialog (Constructor)</h4> |
94 <b>HgGraftDialog</b>(<i>vcs, revs=None, parent=None</i>) |
92 <b>HgGraftDialog</b>(<i>vcs, revs=None, parent=None</i>) |
95 |
|
96 <p> |
93 <p> |
97 Constructor |
94 Constructor |
98 </p> |
95 </p> |
|
96 |
99 <dl> |
97 <dl> |
100 |
98 |
101 <dt><i>vcs</i> (Hg)</dt> |
99 <dt><i>vcs</i> (Hg)</dt> |
102 <dd> |
100 <dd> |
103 reference to the VCS object |
101 reference to the VCS object |
112 </dd> |
110 </dd> |
113 </dl> |
111 </dl> |
114 <a NAME="HgGraftDialog.__updateOk" ID="HgGraftDialog.__updateOk"></a> |
112 <a NAME="HgGraftDialog.__updateOk" ID="HgGraftDialog.__updateOk"></a> |
115 <h4>HgGraftDialog.__updateOk</h4> |
113 <h4>HgGraftDialog.__updateOk</h4> |
116 <b>__updateOk</b>(<i></i>) |
114 <b>__updateOk</b>(<i></i>) |
117 |
|
118 <p> |
115 <p> |
119 Private slot to update the state of the OK button. |
116 Private slot to update the state of the OK button. |
120 </p> |
117 </p> |
|
118 |
121 <a NAME="HgGraftDialog.getData" ID="HgGraftDialog.getData"></a> |
119 <a NAME="HgGraftDialog.getData" ID="HgGraftDialog.getData"></a> |
122 <h4>HgGraftDialog.getData</h4> |
120 <h4>HgGraftDialog.getData</h4> |
123 <b>getData</b>(<i></i>) |
121 <b>getData</b>(<i></i>) |
124 |
|
125 <p> |
122 <p> |
126 Public method to retrieve the entered data. |
123 Public method to retrieve the entered data. |
127 </p> |
124 </p> |
|
125 |
128 <dl> |
126 <dl> |
129 <dt>Return:</dt> |
127 <dt>Return:</dt> |
130 <dd> |
128 <dd> |
131 tuple with list of revisions, a tuple giving a |
129 tuple with list of revisions, a tuple giving a |
132 flag indicating to set the user, a flag indicating to use the |
130 flag indicating to set the user, a flag indicating to use the |
145 </dd> |
143 </dd> |
146 </dl> |
144 </dl> |
147 <a NAME="HgGraftDialog.on_currentUserCheckBox_toggled" ID="HgGraftDialog.on_currentUserCheckBox_toggled"></a> |
145 <a NAME="HgGraftDialog.on_currentUserCheckBox_toggled" ID="HgGraftDialog.on_currentUserCheckBox_toggled"></a> |
148 <h4>HgGraftDialog.on_currentUserCheckBox_toggled</h4> |
146 <h4>HgGraftDialog.on_currentUserCheckBox_toggled</h4> |
149 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) |
147 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) |
150 |
|
151 <p> |
148 <p> |
152 Private slot to handle changes of the current user state. |
149 Private slot to handle changes of the current user state. |
153 </p> |
150 </p> |
|
151 |
154 <dl> |
152 <dl> |
155 |
153 |
156 <dt><i>checked</i> (bool)</dt> |
154 <dt><i>checked</i> (bool)</dt> |
157 <dd> |
155 <dd> |
158 flag giving the checked state |
156 flag giving the checked state |
159 </dd> |
157 </dd> |
160 </dl> |
158 </dl> |
161 <a NAME="HgGraftDialog.on_revisionsEdit_textChanged" ID="HgGraftDialog.on_revisionsEdit_textChanged"></a> |
159 <a NAME="HgGraftDialog.on_revisionsEdit_textChanged" ID="HgGraftDialog.on_revisionsEdit_textChanged"></a> |
162 <h4>HgGraftDialog.on_revisionsEdit_textChanged</h4> |
160 <h4>HgGraftDialog.on_revisionsEdit_textChanged</h4> |
163 <b>on_revisionsEdit_textChanged</b>(<i></i>) |
161 <b>on_revisionsEdit_textChanged</b>(<i></i>) |
164 |
|
165 <p> |
162 <p> |
166 Private slot to react upon changes of revisions. |
163 Private slot to react upon changes of revisions. |
167 </p> |
164 </p> |
|
165 |
168 <a NAME="HgGraftDialog.on_userEdit_textChanged" ID="HgGraftDialog.on_userEdit_textChanged"></a> |
166 <a NAME="HgGraftDialog.on_userEdit_textChanged" ID="HgGraftDialog.on_userEdit_textChanged"></a> |
169 <h4>HgGraftDialog.on_userEdit_textChanged</h4> |
167 <h4>HgGraftDialog.on_userEdit_textChanged</h4> |
170 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
168 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
171 |
|
172 <p> |
169 <p> |
173 Private slot to handle changes of the user name. |
170 Private slot to handle changes of the user name. |
174 </p> |
171 </p> |
|
172 |
175 <dl> |
173 <dl> |
176 |
174 |
177 <dt><i>txt</i> (str)</dt> |
175 <dt><i>txt</i> (str)</dt> |
178 <dd> |
176 <dd> |
179 text of the edit |
177 text of the edit |
180 </dd> |
178 </dd> |
181 </dl> |
179 </dl> |
182 <a NAME="HgGraftDialog.on_userGroup_toggled" ID="HgGraftDialog.on_userGroup_toggled"></a> |
180 <a NAME="HgGraftDialog.on_userGroup_toggled" ID="HgGraftDialog.on_userGroup_toggled"></a> |
183 <h4>HgGraftDialog.on_userGroup_toggled</h4> |
181 <h4>HgGraftDialog.on_userGroup_toggled</h4> |
184 <b>on_userGroup_toggled</b>(<i>checked</i>) |
182 <b>on_userGroup_toggled</b>(<i>checked</i>) |
185 |
|
186 <p> |
183 <p> |
187 Private slot to handle changes of the user group state. |
184 Private slot to handle changes of the user group state. |
188 </p> |
185 </p> |
|
186 |
189 <dl> |
187 <dl> |
190 |
188 |
191 <dt><i>checked</i> (bool)</dt> |
189 <dt><i>checked</i> (bool)</dt> |
192 <dd> |
190 <dd> |
193 flag giving the checked state |
191 flag giving the checked state |