eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.html

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

eric ide

mercurial