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

eric ide

mercurial