16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesFoldDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesFoldDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter data to fold patches. |
26 Module implementing a dialog to enter data to fold patches. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#HgQueuesFoldDialog">HgQueuesFoldDialog</a></td> |
38 <td><a href="#HgQueuesFoldDialog">HgQueuesFoldDialog</a></td> |
34 <td>Class implementing a dialog to enter data to fold patches.</td> |
39 <td>Class implementing a dialog to enter data to fold patches.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="HgQueuesFoldDialog" ID="HgQueuesFoldDialog"></a> |
49 <a NAME="HgQueuesFoldDialog" ID="HgQueuesFoldDialog"></a> |
43 <h2>HgQueuesFoldDialog</h2> |
50 <h2>HgQueuesFoldDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter data to fold patches. |
53 Class implementing a dialog to enter data to fold patches. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_HgQueuesFoldDialog |
56 QDialog, Ui_HgQueuesFoldDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#HgQueuesFoldDialog.__init__">HgQueuesFoldDialog</a></td> |
72 <td><a href="#HgQueuesFoldDialog.__init__">HgQueuesFoldDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#HgQueuesFoldDialog.__updateOkButton">__updateOkButton</a></td> |
76 <td><a href="#HgQueuesFoldDialog.__updateOkButton">__updateOkButton</a></td> |
64 <td>Private slot to update the status of the OK button.</td> |
77 <td>Private slot to update the status of the OK button.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#HgQueuesFoldDialog.getData">getData</a></td> |
80 <td><a href="#HgQueuesFoldDialog.getData">getData</a></td> |
67 <td>Public method to retrieve the entered data.</td> |
81 <td>Public method to retrieve the entered data.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#HgQueuesFoldDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
84 <td><a href="#HgQueuesFoldDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
70 <td>Private slot to add a patch to the list of selected patches.</td> |
85 <td>Private slot to add a patch to the list of selected patches.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#HgQueuesFoldDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
88 <td><a href="#HgQueuesFoldDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
73 <td>Private slot to move a patch down in the list.</td> |
89 <td>Private slot to move a patch down in the list.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#HgQueuesFoldDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
92 <td><a href="#HgQueuesFoldDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
76 <td>Private slot to remove a patch from the list of selected patches.</td> |
93 <td>Private slot to remove a patch from the list of selected patches.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#HgQueuesFoldDialog.on_selectedPatches_currentItemChanged">on_selectedPatches_currentItemChanged</a></td> |
96 <td><a href="#HgQueuesFoldDialog.on_selectedPatches_currentItemChanged">on_selectedPatches_currentItemChanged</a></td> |
79 <td>Private slot to react on changes of the current item of selected patches.</td> |
97 <td>Private slot to react on changes of the current item of selected patches.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#HgQueuesFoldDialog.on_sourcePatches_currentItemChanged">on_sourcePatches_currentItemChanged</a></td> |
100 <td><a href="#HgQueuesFoldDialog.on_sourcePatches_currentItemChanged">on_sourcePatches_currentItemChanged</a></td> |
82 <td>Private slot to react on changes of the current item of source patches.</td> |
101 <td>Private slot to react on changes of the current item of source patches.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#HgQueuesFoldDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
104 <td><a href="#HgQueuesFoldDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
85 <td>Private slot to move a patch up in the list.</td> |
105 <td>Private slot to move a patch up in the list.</td> |
86 </tr> |
106 </tr> |
87 </table> |
107 </table> |
88 <h3>Static Methods</h3> |
108 <h3>Static Methods</h3> |
89 <table> |
109 |
90 <tr><td>None</td></tr> |
110 <table> |
91 </table> |
111 <tr><td>None</td></tr> |
|
112 </table> |
|
113 |
92 <a NAME="HgQueuesFoldDialog.__init__" ID="HgQueuesFoldDialog.__init__"></a> |
114 <a NAME="HgQueuesFoldDialog.__init__" ID="HgQueuesFoldDialog.__init__"></a> |
93 <h4>HgQueuesFoldDialog (Constructor)</h4> |
115 <h4>HgQueuesFoldDialog (Constructor)</h4> |
94 <b>HgQueuesFoldDialog</b>(<i>patchesList, parent=None</i>) |
116 <b>HgQueuesFoldDialog</b>(<i>patchesList, parent=None</i>) |
|
117 |
95 <p> |
118 <p> |
96 Constructor |
119 Constructor |
97 </p><dl> |
120 </p> |
|
121 <dl> |
|
122 |
98 <dt><i>patchesList</i></dt> |
123 <dt><i>patchesList</i></dt> |
99 <dd> |
124 <dd> |
100 list of patches to select from (list of strings) |
125 list of patches to select from (list of strings) |
101 </dd><dt><i>parent</i></dt> |
126 </dd> |
|
127 <dt><i>parent</i></dt> |
102 <dd> |
128 <dd> |
103 reference to the parent widget (QWidget) |
129 reference to the parent widget (QWidget) |
104 </dd> |
130 </dd> |
105 </dl><a NAME="HgQueuesFoldDialog.__updateOkButton" ID="HgQueuesFoldDialog.__updateOkButton"></a> |
131 </dl> |
|
132 <a NAME="HgQueuesFoldDialog.__updateOkButton" ID="HgQueuesFoldDialog.__updateOkButton"></a> |
106 <h4>HgQueuesFoldDialog.__updateOkButton</h4> |
133 <h4>HgQueuesFoldDialog.__updateOkButton</h4> |
107 <b>__updateOkButton</b>(<i></i>) |
134 <b>__updateOkButton</b>(<i></i>) |
|
135 |
108 <p> |
136 <p> |
109 Private slot to update the status of the OK button. |
137 Private slot to update the status of the OK button. |
110 </p><a NAME="HgQueuesFoldDialog.getData" ID="HgQueuesFoldDialog.getData"></a> |
138 </p> |
|
139 <a NAME="HgQueuesFoldDialog.getData" ID="HgQueuesFoldDialog.getData"></a> |
111 <h4>HgQueuesFoldDialog.getData</h4> |
140 <h4>HgQueuesFoldDialog.getData</h4> |
112 <b>getData</b>(<i></i>) |
141 <b>getData</b>(<i></i>) |
|
142 |
113 <p> |
143 <p> |
114 Public method to retrieve the entered data. |
144 Public method to retrieve the entered data. |
115 </p><dl> |
145 </p> |
|
146 <dl> |
116 <dt>Returns:</dt> |
147 <dt>Returns:</dt> |
117 <dd> |
148 <dd> |
118 tuple of commit message and list of selected patches |
149 tuple of commit message and list of selected patches |
119 (string, list of strings) |
150 (string, list of strings) |
120 </dd> |
151 </dd> |
121 </dl><a NAME="HgQueuesFoldDialog.on_addButton_clicked" ID="HgQueuesFoldDialog.on_addButton_clicked"></a> |
152 </dl> |
|
153 <a NAME="HgQueuesFoldDialog.on_addButton_clicked" ID="HgQueuesFoldDialog.on_addButton_clicked"></a> |
122 <h4>HgQueuesFoldDialog.on_addButton_clicked</h4> |
154 <h4>HgQueuesFoldDialog.on_addButton_clicked</h4> |
123 <b>on_addButton_clicked</b>(<i></i>) |
155 <b>on_addButton_clicked</b>(<i></i>) |
|
156 |
124 <p> |
157 <p> |
125 Private slot to add a patch to the list of selected patches. |
158 Private slot to add a patch to the list of selected patches. |
126 </p><a NAME="HgQueuesFoldDialog.on_downButton_clicked" ID="HgQueuesFoldDialog.on_downButton_clicked"></a> |
159 </p> |
|
160 <a NAME="HgQueuesFoldDialog.on_downButton_clicked" ID="HgQueuesFoldDialog.on_downButton_clicked"></a> |
127 <h4>HgQueuesFoldDialog.on_downButton_clicked</h4> |
161 <h4>HgQueuesFoldDialog.on_downButton_clicked</h4> |
128 <b>on_downButton_clicked</b>(<i></i>) |
162 <b>on_downButton_clicked</b>(<i></i>) |
|
163 |
129 <p> |
164 <p> |
130 Private slot to move a patch down in the list. |
165 Private slot to move a patch down in the list. |
131 </p><a NAME="HgQueuesFoldDialog.on_removeButton_clicked" ID="HgQueuesFoldDialog.on_removeButton_clicked"></a> |
166 </p> |
|
167 <a NAME="HgQueuesFoldDialog.on_removeButton_clicked" ID="HgQueuesFoldDialog.on_removeButton_clicked"></a> |
132 <h4>HgQueuesFoldDialog.on_removeButton_clicked</h4> |
168 <h4>HgQueuesFoldDialog.on_removeButton_clicked</h4> |
133 <b>on_removeButton_clicked</b>(<i></i>) |
169 <b>on_removeButton_clicked</b>(<i></i>) |
|
170 |
134 <p> |
171 <p> |
135 Private slot to remove a patch from the list of selected patches. |
172 Private slot to remove a patch from the list of selected patches. |
136 </p><a NAME="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged" ID="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged"></a> |
173 </p> |
|
174 <a NAME="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged" ID="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged"></a> |
137 <h4>HgQueuesFoldDialog.on_selectedPatches_currentItemChanged</h4> |
175 <h4>HgQueuesFoldDialog.on_selectedPatches_currentItemChanged</h4> |
138 <b>on_selectedPatches_currentItemChanged</b>(<i>current, previous</i>) |
176 <b>on_selectedPatches_currentItemChanged</b>(<i>current, previous</i>) |
|
177 |
139 <p> |
178 <p> |
140 Private slot to react on changes of the current item of selected |
179 Private slot to react on changes of the current item of selected |
141 patches. |
180 patches. |
142 </p><dl> |
181 </p> |
|
182 <dl> |
|
183 |
143 <dt><i>current</i></dt> |
184 <dt><i>current</i></dt> |
144 <dd> |
185 <dd> |
145 reference to the new current item (QTreeWidgetItem) |
186 reference to the new current item (QTreeWidgetItem) |
146 </dd><dt><i>previous</i></dt> |
187 </dd> |
|
188 <dt><i>previous</i></dt> |
147 <dd> |
189 <dd> |
148 reference to the previous current item |
190 reference to the previous current item |
149 (QTreeWidgetItem) |
191 (QTreeWidgetItem) |
150 </dd> |
192 </dd> |
151 </dl><a NAME="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged" ID="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged"></a> |
193 </dl> |
|
194 <a NAME="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged" ID="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged"></a> |
152 <h4>HgQueuesFoldDialog.on_sourcePatches_currentItemChanged</h4> |
195 <h4>HgQueuesFoldDialog.on_sourcePatches_currentItemChanged</h4> |
153 <b>on_sourcePatches_currentItemChanged</b>(<i>current, previous</i>) |
196 <b>on_sourcePatches_currentItemChanged</b>(<i>current, previous</i>) |
|
197 |
154 <p> |
198 <p> |
155 Private slot to react on changes of the current item of source patches. |
199 Private slot to react on changes of the current item of source patches. |
156 </p><dl> |
200 </p> |
|
201 <dl> |
|
202 |
157 <dt><i>current</i></dt> |
203 <dt><i>current</i></dt> |
158 <dd> |
204 <dd> |
159 reference to the new current item (QTreeWidgetItem) |
205 reference to the new current item (QTreeWidgetItem) |
160 </dd><dt><i>previous</i></dt> |
206 </dd> |
|
207 <dt><i>previous</i></dt> |
161 <dd> |
208 <dd> |
162 reference to the previous current item |
209 reference to the previous current item |
163 (QTreeWidgetItem) |
210 (QTreeWidgetItem) |
164 </dd> |
211 </dd> |
165 </dl><a NAME="HgQueuesFoldDialog.on_upButton_clicked" ID="HgQueuesFoldDialog.on_upButton_clicked"></a> |
212 </dl> |
|
213 <a NAME="HgQueuesFoldDialog.on_upButton_clicked" ID="HgQueuesFoldDialog.on_upButton_clicked"></a> |
166 <h4>HgQueuesFoldDialog.on_upButton_clicked</h4> |
214 <h4>HgQueuesFoldDialog.on_upButton_clicked</h4> |
167 <b>on_upButton_clicked</b>(<i></i>) |
215 <b>on_upButton_clicked</b>(<i></i>) |
|
216 |
168 <p> |
217 <p> |
169 Private slot to move a patch up in the list. |
218 Private slot to move a patch up in the list. |
170 </p> |
219 </p> |
171 <div align="right"><a href="#top">Up</a></div> |
220 <div align="right"><a href="#top">Up</a></div> |
172 <hr /> |
221 <hr /> |