|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog</h1> |
|
23 <p> |
|
24 Module implementing the bookmark dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#HgBookmarkDialog">HgBookmarkDialog</a></td> |
|
34 <td>Class mplementing the bookmark dialog.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="HgBookmarkDialog" ID="HgBookmarkDialog"></a> |
|
43 <h2>HgBookmarkDialog</h2> |
|
44 <p> |
|
45 Class mplementing the bookmark dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgBookmarkDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>DEFINE_MODE</td></tr><tr><td>MOVE_MODE</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#HgBookmarkDialog.__init__">HgBookmarkDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgBookmarkDialog.__updateBookmarksCombo">__updateBookmarksCombo</a></td> |
|
64 <td>Private slot to update the bookmarks combo.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgBookmarkDialog.__updateOK">__updateOK</a></td> |
|
67 <td>Private slot to update the OK button.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgBookmarkDialog.getData">getData</a></td> |
|
70 <td>Public method to retrieve the entered data.</td> |
|
71 </tr><tr> |
|
72 <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> |
|
74 </tr><tr> |
|
75 <td><a href="#HgBookmarkDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> |
|
76 <td>Private slot to handle changes of the Bookmark combo.</td> |
|
77 </tr><tr> |
|
78 <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> |
|
80 </tr><tr> |
|
81 <td><a href="#HgBookmarkDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> |
|
82 <td>Private slot to handle changes of the Branch combo.</td> |
|
83 </tr><tr> |
|
84 <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> |
|
86 </tr><tr> |
|
87 <td><a href="#HgBookmarkDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td> |
|
88 <td>Private slot to handle changes of the ID edit.</td> |
|
89 </tr><tr> |
|
90 <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> |
|
92 </tr><tr> |
|
93 <td><a href="#HgBookmarkDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
94 <td>Private slot to handle changes of the bookmark name.</td> |
|
95 </tr><tr> |
|
96 <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> |
|
98 </tr><tr> |
|
99 <td><a href="#HgBookmarkDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
100 <td>Private slot to handle changes of the Tag combo.</td> |
|
101 </tr> |
|
102 </table> |
|
103 <h3>Static Methods</h3> |
|
104 <table> |
|
105 <tr><td>None</td></tr> |
|
106 </table> |
|
107 <a NAME="HgBookmarkDialog.__init__" ID="HgBookmarkDialog.__init__"></a> |
|
108 <h4>HgBookmarkDialog (Constructor)</h4> |
|
109 <b>HgBookmarkDialog</b>(<i>mode, tagsList, branchesList, bookmarksList, parent=None</i>) |
|
110 <p> |
|
111 Constructor |
|
112 </p><dl> |
|
113 <dt><i>mode</i></dt> |
|
114 <dd> |
|
115 of the dialog (integer) |
|
116 </dd><dt><i>tagsList</i></dt> |
|
117 <dd> |
|
118 list of tags (list of strings) |
|
119 </dd><dt><i>branchesList</i></dt> |
|
120 <dd> |
|
121 list of branches (list of strings) |
|
122 </dd><dt><i>bookmarksList</i></dt> |
|
123 <dd> |
|
124 list of bookmarks (list of strings) |
|
125 </dd><dt><i>parent</i></dt> |
|
126 <dd> |
|
127 reference to the parent widget (QWidget) |
|
128 </dd> |
|
129 </dl><a NAME="HgBookmarkDialog.__updateBookmarksCombo" ID="HgBookmarkDialog.__updateBookmarksCombo"></a> |
|
130 <h4>HgBookmarkDialog.__updateBookmarksCombo</h4> |
|
131 <b>__updateBookmarksCombo</b>(<i></i>) |
|
132 <p> |
|
133 Private slot to update the bookmarks combo. |
|
134 </p><a NAME="HgBookmarkDialog.__updateOK" ID="HgBookmarkDialog.__updateOK"></a> |
|
135 <h4>HgBookmarkDialog.__updateOK</h4> |
|
136 <b>__updateOK</b>(<i></i>) |
|
137 <p> |
|
138 Private slot to update the OK button. |
|
139 </p><a NAME="HgBookmarkDialog.getData" ID="HgBookmarkDialog.getData"></a> |
|
140 <h4>HgBookmarkDialog.getData</h4> |
|
141 <b>getData</b>(<i></i>) |
|
142 <p> |
|
143 Public method to retrieve the entered data. |
|
144 </p><dl> |
|
145 <dt>Returns:</dt> |
|
146 <dd> |
|
147 tuple naming the revision and the bookmark name |
|
148 (string, string) |
|
149 </dd> |
|
150 </dl><a NAME="HgBookmarkDialog.on_bookmarkButton_toggled" ID="HgBookmarkDialog.on_bookmarkButton_toggled"></a> |
|
151 <h4>HgBookmarkDialog.on_bookmarkButton_toggled</h4> |
|
152 <b>on_bookmarkButton_toggled</b>(<i>checked</i>) |
|
153 <p> |
|
154 Private slot to handle changes of the Bookmark select button. |
|
155 </p><dl> |
|
156 <dt><i>checked</i></dt> |
|
157 <dd> |
|
158 state of the button (boolean) |
|
159 </dd> |
|
160 </dl><a NAME="HgBookmarkDialog.on_bookmarkCombo_editTextChanged" ID="HgBookmarkDialog.on_bookmarkCombo_editTextChanged"></a> |
|
161 <h4>HgBookmarkDialog.on_bookmarkCombo_editTextChanged</h4> |
|
162 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) |
|
163 <p> |
|
164 Private slot to handle changes of the Bookmark combo. |
|
165 </p><dl> |
|
166 <dt><i>txt</i></dt> |
|
167 <dd> |
|
168 text of the combo (string) |
|
169 </dd> |
|
170 </dl><a NAME="HgBookmarkDialog.on_branchButton_toggled" ID="HgBookmarkDialog.on_branchButton_toggled"></a> |
|
171 <h4>HgBookmarkDialog.on_branchButton_toggled</h4> |
|
172 <b>on_branchButton_toggled</b>(<i>checked</i>) |
|
173 <p> |
|
174 Private slot to handle changes of the Branch select button. |
|
175 </p><dl> |
|
176 <dt><i>checked</i></dt> |
|
177 <dd> |
|
178 state of the button (boolean) |
|
179 </dd> |
|
180 </dl><a NAME="HgBookmarkDialog.on_branchCombo_editTextChanged" ID="HgBookmarkDialog.on_branchCombo_editTextChanged"></a> |
|
181 <h4>HgBookmarkDialog.on_branchCombo_editTextChanged</h4> |
|
182 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) |
|
183 <p> |
|
184 Private slot to handle changes of the Branch combo. |
|
185 </p><dl> |
|
186 <dt><i>txt</i></dt> |
|
187 <dd> |
|
188 text of the combo (string) |
|
189 </dd> |
|
190 </dl><a NAME="HgBookmarkDialog.on_idButton_toggled" ID="HgBookmarkDialog.on_idButton_toggled"></a> |
|
191 <h4>HgBookmarkDialog.on_idButton_toggled</h4> |
|
192 <b>on_idButton_toggled</b>(<i>checked</i>) |
|
193 <p> |
|
194 Private slot to handle changes of the ID select button. |
|
195 </p><dl> |
|
196 <dt><i>checked</i></dt> |
|
197 <dd> |
|
198 state of the button (boolean) |
|
199 </dd> |
|
200 </dl><a NAME="HgBookmarkDialog.on_idEdit_textChanged" ID="HgBookmarkDialog.on_idEdit_textChanged"></a> |
|
201 <h4>HgBookmarkDialog.on_idEdit_textChanged</h4> |
|
202 <b>on_idEdit_textChanged</b>(<i>txt</i>) |
|
203 <p> |
|
204 Private slot to handle changes of the ID edit. |
|
205 </p><dl> |
|
206 <dt><i>txt</i></dt> |
|
207 <dd> |
|
208 text of the edit (string) |
|
209 </dd> |
|
210 </dl><a NAME="HgBookmarkDialog.on_nameCombo_activated" ID="HgBookmarkDialog.on_nameCombo_activated"></a> |
|
211 <h4>HgBookmarkDialog.on_nameCombo_activated</h4> |
|
212 <b>on_nameCombo_activated</b>(<i>txt</i>) |
|
213 <p> |
|
214 Private slot to handle changes of the selected bookmark name. |
|
215 </p><dl> |
|
216 <dt><i>txt</i></dt> |
|
217 <dd> |
|
218 selected combo entry (string) |
|
219 </dd> |
|
220 </dl><a NAME="HgBookmarkDialog.on_nameEdit_textChanged" ID="HgBookmarkDialog.on_nameEdit_textChanged"></a> |
|
221 <h4>HgBookmarkDialog.on_nameEdit_textChanged</h4> |
|
222 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
223 <p> |
|
224 Private slot to handle changes of the bookmark name. |
|
225 </p><dl> |
|
226 <dt><i>txt</i></dt> |
|
227 <dd> |
|
228 text of the edit (string) |
|
229 </dd> |
|
230 </dl><a NAME="HgBookmarkDialog.on_tagButton_toggled" ID="HgBookmarkDialog.on_tagButton_toggled"></a> |
|
231 <h4>HgBookmarkDialog.on_tagButton_toggled</h4> |
|
232 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
233 <p> |
|
234 Private slot to handle changes of the Tag select button. |
|
235 </p><dl> |
|
236 <dt><i>checked</i></dt> |
|
237 <dd> |
|
238 state of the button (boolean) |
|
239 </dd> |
|
240 </dl><a NAME="HgBookmarkDialog.on_tagCombo_editTextChanged" ID="HgBookmarkDialog.on_tagCombo_editTextChanged"></a> |
|
241 <h4>HgBookmarkDialog.on_tagCombo_editTextChanged</h4> |
|
242 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
243 <p> |
|
244 Private slot to handle changes of the Tag combo. |
|
245 </p><dl> |
|
246 <dt><i>txt</i></dt> |
|
247 <dd> |
|
248 text of the combo (string) |
|
249 </dd> |
|
250 </dl> |
|
251 <div align="right"><a href="#top">Up</a></div> |
|
252 <hr /> |
|
253 </body></html> |