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

changeset 3673
e26d7d0c1088
child 5482
b793bc3b693a
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
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></i>)
128 <p>
129 Public method to retrieve the selected revision.
130 </p><dl>
131 <dt>Returns:</dt>
132 <dd>
133 selected revision (string)
134 </dd>
135 </dl><a NAME="HgRevisionSelectionDialog.on_bookmarkButton_toggled" ID="HgRevisionSelectionDialog.on_bookmarkButton_toggled"></a>
136 <h4>HgRevisionSelectionDialog.on_bookmarkButton_toggled</h4>
137 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
138 <p>
139 Private slot to handle changes of the Bookmark select button.
140 </p><dl>
141 <dt><i>checked</i></dt>
142 <dd>
143 state of the button (boolean)
144 </dd>
145 </dl><a NAME="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged"></a>
146 <h4>HgRevisionSelectionDialog.on_bookmarkCombo_editTextChanged</h4>
147 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
148 <p>
149 Private slot to handle changes of the Bookmark combo.
150 </p><dl>
151 <dt><i>txt</i></dt>
152 <dd>
153 text of the combo (string)
154 </dd>
155 </dl><a NAME="HgRevisionSelectionDialog.on_branchButton_toggled" ID="HgRevisionSelectionDialog.on_branchButton_toggled"></a>
156 <h4>HgRevisionSelectionDialog.on_branchButton_toggled</h4>
157 <b>on_branchButton_toggled</b>(<i>checked</i>)
158 <p>
159 Private slot to handle changes of the Branch select button.
160 </p><dl>
161 <dt><i>checked</i></dt>
162 <dd>
163 state of the button (boolean)
164 </dd>
165 </dl><a NAME="HgRevisionSelectionDialog.on_branchCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_branchCombo_editTextChanged"></a>
166 <h4>HgRevisionSelectionDialog.on_branchCombo_editTextChanged</h4>
167 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
168 <p>
169 Private slot to handle changes of the Branch combo.
170 </p><dl>
171 <dt><i>txt</i></dt>
172 <dd>
173 text of the combo (string)
174 </dd>
175 </dl><a NAME="HgRevisionSelectionDialog.on_idButton_toggled" ID="HgRevisionSelectionDialog.on_idButton_toggled"></a>
176 <h4>HgRevisionSelectionDialog.on_idButton_toggled</h4>
177 <b>on_idButton_toggled</b>(<i>checked</i>)
178 <p>
179 Private slot to handle changes of the ID select button.
180 </p><dl>
181 <dt><i>checked</i></dt>
182 <dd>
183 state of the button (boolean)
184 </dd>
185 </dl><a NAME="HgRevisionSelectionDialog.on_idEdit_textChanged" ID="HgRevisionSelectionDialog.on_idEdit_textChanged"></a>
186 <h4>HgRevisionSelectionDialog.on_idEdit_textChanged</h4>
187 <b>on_idEdit_textChanged</b>(<i>txt</i>)
188 <p>
189 Private slot to handle changes of the ID edit.
190 </p><dl>
191 <dt><i>txt</i></dt>
192 <dd>
193 text of the edit (string)
194 </dd>
195 </dl><a NAME="HgRevisionSelectionDialog.on_tagButton_toggled" ID="HgRevisionSelectionDialog.on_tagButton_toggled"></a>
196 <h4>HgRevisionSelectionDialog.on_tagButton_toggled</h4>
197 <b>on_tagButton_toggled</b>(<i>checked</i>)
198 <p>
199 Private slot to handle changes of the Tag select button.
200 </p><dl>
201 <dt><i>checked</i></dt>
202 <dd>
203 state of the button (boolean)
204 </dd>
205 </dl><a NAME="HgRevisionSelectionDialog.on_tagCombo_editTextChanged" ID="HgRevisionSelectionDialog.on_tagCombo_editTextChanged"></a>
206 <h4>HgRevisionSelectionDialog.on_tagCombo_editTextChanged</h4>
207 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
208 <p>
209 Private slot to handle changes of the Tag combo.
210 </p><dl>
211 <dt><i>txt</i></dt>
212 <dd>
213 text of the combo (string)
214 </dd>
215 </dl>
216 <div align="right"><a href="#top">Up</a></div>
217 <hr />
218 </body></html>

eric ide

mercurial