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

eric ide

mercurial