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

changeset 6942
2602857055c5
parent 5516
a165ff497046
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog</h1>
23 <p>
24 Module implementing a dialog to select a revision.
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="#HgRevisionSelectionDialog">HgRevisionSelectionDialog</a></td>
34 <td>Class implementing a dialog to select a revision.</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="HgRevisionSelectionDialog" ID="HgRevisionSelectionDialog"></a>
43 <h2>HgRevisionSelectionDialog</h2>
44 <p>
45 Class implementing a dialog to select a revision.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgRevisionSelectionDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</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="#HgRevisionSelectionDialog.__init__">HgRevisionSelectionDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgRevisionSelectionDialog.__updateOK">__updateOK</a></td>
64 <td>Private slot to update the OK button.</td>
65 </tr><tr>
66 <td><a href="#HgRevisionSelectionDialog.getRevision">getRevision</a></td>
67 <td>Public method to retrieve the selected revision.</td>
68 </tr><tr>
69 <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>
71 </tr><tr>
72 <td><a href="#HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
73 <td>Private slot to handle changes of the Bookmark combo.</td>
74 </tr><tr>
75 <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>
77 </tr><tr>
78 <td><a href="#HgRevisionSelectionDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
79 <td>Private slot to handle changes of the Branch combo.</td>
80 </tr><tr>
81 <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>
83 </tr><tr>
84 <td><a href="#HgRevisionSelectionDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
85 <td>Private slot to handle changes of the ID edit.</td>
86 </tr><tr>
87 <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>
89 </tr><tr>
90 <td><a href="#HgRevisionSelectionDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
91 <td>Private slot to handle changes of the Tag combo.</td>
92 </tr>
93 </table>
94 <h3>Static Methods</h3>
95 <table>
96 <tr><td>None</td></tr>
97 </table>
98 <a NAME="HgRevisionSelectionDialog.__init__" ID="HgRevisionSelectionDialog.__init__"></a>
99 <h4>HgRevisionSelectionDialog (Constructor)</h4>
100 <b>HgRevisionSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, noneLabel="", parent=None</i>)
101 <p>
102 Constructor
103 </p><dl>
104 <dt><i>tagsList</i></dt>
105 <dd>
106 list of tags (list of strings)
107 </dd><dt><i>branchesList</i></dt>
108 <dd>
109 list of branches (list of strings)
110 </dd><dt><i>bookmarksList</i></dt>
111 <dd>
112 list of bookmarks (list of strings)
113 </dd><dt><i>noneLabel</i></dt>
114 <dd>
115 labeltext for "no revision selected" (string)
116 </dd><dt><i>parent</i></dt>
117 <dd>
118 parent widget (QWidget)
119 </dd>
120 </dl><a NAME="HgRevisionSelectionDialog.__updateOK" ID="HgRevisionSelectionDialog.__updateOK"></a>
121 <h4>HgRevisionSelectionDialog.__updateOK</h4>
122 <b>__updateOK</b>(<i></i>)
123 <p>
124 Private slot to update the OK button.
125 </p><a NAME="HgRevisionSelectionDialog.getRevision" ID="HgRevisionSelectionDialog.getRevision"></a>
126 <h4>HgRevisionSelectionDialog.getRevision</h4>
127 <b>getRevision</b>(<i>revset=True</i>)
128 <p>
129 Public method to retrieve the selected revision.
130 </p><dl>
131 <dt><i>revset</i> (bool)</dt>
132 <dd>
133 flag indicating to get the revision or ID as a
134 revset
135 </dd>
136 </dl><dl>
137 <dt>Returns:</dt>
138 <dd>
139 selected revision
140 </dd>
141 </dl><dl>
142 <dt>Return Type:</dt>
143 <dd>
144 str
145 </dd>
146 </dl><a NAME="HgRevisionSelectionDialog.on_bookmarkButton_toggled" ID="HgRevisionSelectionDialog.on_bookmarkButton_toggled"></a>
147 <h4>HgRevisionSelectionDialog.on_bookmarkButton_toggled</h4>
148 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
149 <p>
150 Private slot to handle changes of the Bookmark select button.
151 </p><dl>
152 <dt><i>checked</i></dt>
153 <dd>
154 state of the button (boolean)
155 </dd>
156 </dl><a NAME="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged"></a>
157 <h4>HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged</h4>
158 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
159 <p>
160 Private slot to handle changes of the Bookmark combo.
161 </p><dl>
162 <dt><i>txt</i></dt>
163 <dd>
164 text of the combo (string)
165 </dd>
166 </dl><a NAME="HgRevisionSelectionDialog.on_branchButton_toggled" ID="HgRevisionSelectionDialog.on_branchButton_toggled"></a>
167 <h4>HgRevisionSelectionDialog.on_branchButton_toggled</h4>
168 <b>on_branchButton_toggled</b>(<i>checked</i>)
169 <p>
170 Private slot to handle changes of the Branch select button.
171 </p><dl>
172 <dt><i>checked</i></dt>
173 <dd>
174 state of the button (boolean)
175 </dd>
176 </dl><a NAME="HgRevisionSelectionDialog.on_branchCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_branchCombo_editTextChanged"></a>
177 <h4>HgRevisionSelectionDialog.on_branchCombo_editTextChanged</h4>
178 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
179 <p>
180 Private slot to handle changes of the Branch combo.
181 </p><dl>
182 <dt><i>txt</i></dt>
183 <dd>
184 text of the combo (string)
185 </dd>
186 </dl><a NAME="HgRevisionSelectionDialog.on_idButton_toggled" ID="HgRevisionSelectionDialog.on_idButton_toggled"></a>
187 <h4>HgRevisionSelectionDialog.on_idButton_toggled</h4>
188 <b>on_idButton_toggled</b>(<i>checked</i>)
189 <p>
190 Private slot to handle changes of the ID select button.
191 </p><dl>
192 <dt><i>checked</i></dt>
193 <dd>
194 state of the button (boolean)
195 </dd>
196 </dl><a NAME="HgRevisionSelectionDialog.on_idEdit_textChanged" ID="HgRevisionSelectionDialog.on_idEdit_textChanged"></a>
197 <h4>HgRevisionSelectionDialog.on_idEdit_textChanged</h4>
198 <b>on_idEdit_textChanged</b>(<i>txt</i>)
199 <p>
200 Private slot to handle changes of the ID edit.
201 </p><dl>
202 <dt><i>txt</i></dt>
203 <dd>
204 text of the edit (string)
205 </dd>
206 </dl><a NAME="HgRevisionSelectionDialog.on_tagButton_toggled" ID="HgRevisionSelectionDialog.on_tagButton_toggled"></a>
207 <h4>HgRevisionSelectionDialog.on_tagButton_toggled</h4>
208 <b>on_tagButton_toggled</b>(<i>checked</i>)
209 <p>
210 Private slot to handle changes of the Tag select button.
211 </p><dl>
212 <dt><i>checked</i></dt>
213 <dd>
214 state of the button (boolean)
215 </dd>
216 </dl><a NAME="HgRevisionSelectionDialog.on_tagCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_tagCombo_editTextChanged"></a>
217 <h4>HgRevisionSelectionDialog.on_tagCombo_editTextChanged</h4>
218 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
219 <p>
220 Private slot to handle changes of the Tag combo.
221 </p><dl>
222 <dt><i>txt</i></dt>
223 <dd>
224 text of the combo (string)
225 </dd>
226 </dl>
227 <div align="right"><a href="#top">Up</a></div>
228 <hr />
229 </body></html>

eric ide

mercurial