eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesFoldDialog.html

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

eric ide

mercurial