eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog.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.HgRevisionSelectionDialog</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.HgRevisionSelectionDialog</h1>
24
25 <p>
26 Module implementing a dialog to select a revision.
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="#HgRevisionSelectionDialog">HgRevisionSelectionDialog</a></td>
39 <td>Class implementing a dialog to select a revision.</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="HgRevisionSelectionDialog" ID="HgRevisionSelectionDialog"></a>
50 <h2>HgRevisionSelectionDialog</h2>
51
52 <p>
53 Class implementing a dialog to select a revision.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgRevisionSelectionDialog
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="#HgRevisionSelectionDialog.__init__">HgRevisionSelectionDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgRevisionSelectionDialog.__updateOK">__updateOK</a></td>
77 <td>Private slot to update the OK button.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgRevisionSelectionDialog.getRevision">getRevision</a></td>
81 <td>Public method to retrieve the selected revision.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgRevisionSelectionDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td>
85 <td>Private slot to handle changes of the Bookmark select button.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
89 <td>Private slot to handle changes of the Bookmark combo.</td>
90 </tr>
91 <tr>
92 <td><a href="#HgRevisionSelectionDialog.on_branchButton_toggled">on_branchButton_toggled</a></td>
93 <td>Private slot to handle changes of the Branch select button.</td>
94 </tr>
95 <tr>
96 <td><a href="#HgRevisionSelectionDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
97 <td>Private slot to handle changes of the Branch combo.</td>
98 </tr>
99 <tr>
100 <td><a href="#HgRevisionSelectionDialog.on_idButton_toggled">on_idButton_toggled</a></td>
101 <td>Private slot to handle changes of the ID select button.</td>
102 </tr>
103 <tr>
104 <td><a href="#HgRevisionSelectionDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
105 <td>Private slot to handle changes of the ID edit.</td>
106 </tr>
107 <tr>
108 <td><a href="#HgRevisionSelectionDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
109 <td>Private slot to handle changes of the Tag select button.</td>
110 </tr>
111 <tr>
112 <td><a href="#HgRevisionSelectionDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
113 <td>Private slot to handle changes of the Tag combo.</td>
114 </tr>
115 </table>
116 <h3>Static Methods</h3>
117
118 <table>
119 <tr><td>None</td></tr>
120 </table>
121
122 <a NAME="HgRevisionSelectionDialog.__init__" ID="HgRevisionSelectionDialog.__init__"></a>
123 <h4>HgRevisionSelectionDialog (Constructor)</h4>
124 <b>HgRevisionSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, noneLabel="", parent=None</i>)
125
126 <p>
127 Constructor
128 </p>
129 <dl>
130
131 <dt><i>tagsList</i></dt>
132 <dd>
133 list of tags (list of strings)
134 </dd>
135 <dt><i>branchesList</i></dt>
136 <dd>
137 list of branches (list of strings)
138 </dd>
139 <dt><i>bookmarksList</i></dt>
140 <dd>
141 list of bookmarks (list of strings)
142 </dd>
143 <dt><i>noneLabel</i></dt>
144 <dd>
145 labeltext for "no revision selected" (string)
146 </dd>
147 <dt><i>parent</i></dt>
148 <dd>
149 parent widget (QWidget)
150 </dd>
151 </dl>
152 <a NAME="HgRevisionSelectionDialog.__updateOK" ID="HgRevisionSelectionDialog.__updateOK"></a>
153 <h4>HgRevisionSelectionDialog.__updateOK</h4>
154 <b>__updateOK</b>(<i></i>)
155
156 <p>
157 Private slot to update the OK button.
158 </p>
159 <a NAME="HgRevisionSelectionDialog.getRevision" ID="HgRevisionSelectionDialog.getRevision"></a>
160 <h4>HgRevisionSelectionDialog.getRevision</h4>
161 <b>getRevision</b>(<i>revset=True</i>)
162
163 <p>
164 Public method to retrieve the selected revision.
165 </p>
166 <dl>
167
168 <dt><i>revset</i> (bool)</dt>
169 <dd>
170 flag indicating to get the revision or ID as a
171 revset
172 </dd>
173 </dl>
174 <dl>
175 <dt>Return:</dt>
176 <dd>
177 selected revision
178 </dd>
179 </dl>
180 <dl>
181 <dt>Return Type:</dt>
182 <dd>
183 str
184 </dd>
185 </dl>
186 <a NAME="HgRevisionSelectionDialog.on_bookmarkButton_toggled" ID="HgRevisionSelectionDialog.on_bookmarkButton_toggled"></a>
187 <h4>HgRevisionSelectionDialog.on_bookmarkButton_toggled</h4>
188 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
189
190 <p>
191 Private slot to handle changes of the Bookmark select button.
192 </p>
193 <dl>
194
195 <dt><i>checked</i></dt>
196 <dd>
197 state of the button (boolean)
198 </dd>
199 </dl>
200 <a NAME="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged"></a>
201 <h4>HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged</h4>
202 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
203
204 <p>
205 Private slot to handle changes of the Bookmark combo.
206 </p>
207 <dl>
208
209 <dt><i>txt</i></dt>
210 <dd>
211 text of the combo (string)
212 </dd>
213 </dl>
214 <a NAME="HgRevisionSelectionDialog.on_branchButton_toggled" ID="HgRevisionSelectionDialog.on_branchButton_toggled"></a>
215 <h4>HgRevisionSelectionDialog.on_branchButton_toggled</h4>
216 <b>on_branchButton_toggled</b>(<i>checked</i>)
217
218 <p>
219 Private slot to handle changes of the Branch select button.
220 </p>
221 <dl>
222
223 <dt><i>checked</i></dt>
224 <dd>
225 state of the button (boolean)
226 </dd>
227 </dl>
228 <a NAME="HgRevisionSelectionDialog.on_branchCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_branchCombo_editTextChanged"></a>
229 <h4>HgRevisionSelectionDialog.on_branchCombo_editTextChanged</h4>
230 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
231
232 <p>
233 Private slot to handle changes of the Branch combo.
234 </p>
235 <dl>
236
237 <dt><i>txt</i></dt>
238 <dd>
239 text of the combo (string)
240 </dd>
241 </dl>
242 <a NAME="HgRevisionSelectionDialog.on_idButton_toggled" ID="HgRevisionSelectionDialog.on_idButton_toggled"></a>
243 <h4>HgRevisionSelectionDialog.on_idButton_toggled</h4>
244 <b>on_idButton_toggled</b>(<i>checked</i>)
245
246 <p>
247 Private slot to handle changes of the ID select button.
248 </p>
249 <dl>
250
251 <dt><i>checked</i></dt>
252 <dd>
253 state of the button (boolean)
254 </dd>
255 </dl>
256 <a NAME="HgRevisionSelectionDialog.on_idEdit_textChanged" ID="HgRevisionSelectionDialog.on_idEdit_textChanged"></a>
257 <h4>HgRevisionSelectionDialog.on_idEdit_textChanged</h4>
258 <b>on_idEdit_textChanged</b>(<i>txt</i>)
259
260 <p>
261 Private slot to handle changes of the ID edit.
262 </p>
263 <dl>
264
265 <dt><i>txt</i></dt>
266 <dd>
267 text of the edit (string)
268 </dd>
269 </dl>
270 <a NAME="HgRevisionSelectionDialog.on_tagButton_toggled" ID="HgRevisionSelectionDialog.on_tagButton_toggled"></a>
271 <h4>HgRevisionSelectionDialog.on_tagButton_toggled</h4>
272 <b>on_tagButton_toggled</b>(<i>checked</i>)
273
274 <p>
275 Private slot to handle changes of the Tag select button.
276 </p>
277 <dl>
278
279 <dt><i>checked</i></dt>
280 <dd>
281 state of the button (boolean)
282 </dd>
283 </dl>
284 <a NAME="HgRevisionSelectionDialog.on_tagCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_tagCombo_editTextChanged"></a>
285 <h4>HgRevisionSelectionDialog.on_tagCombo_editTextChanged</h4>
286 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
287
288 <p>
289 Private slot to handle changes of the Tag combo.
290 </p>
291 <dl>
292
293 <dt><i>txt</i></dt>
294 <dd>
295 text of the combo (string)
296 </dd>
297 </dl>
298 <div align="right"><a href="#top">Up</a></div>
299 <hr />
300 </body></html>

eric ide

mercurial