|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.VcsPlugins.vcsMercurial.HgMultiRevisionSelectionDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgMultiRevisionSelectionDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to select revisions. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#HgMultiRevisionSelectionDialog">HgMultiRevisionSelectionDialog</a></td> |
|
35 <td>Class implementing a dialog to select revisions.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="HgMultiRevisionSelectionDialog" ID="HgMultiRevisionSelectionDialog"></a> |
|
44 <h2>HgMultiRevisionSelectionDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to select revisions. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgMultiRevisionSelectionDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#HgMultiRevisionSelectionDialog.__init__">HgMultiRevisionSelectionDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#HgMultiRevisionSelectionDialog.__updateOK">__updateOK</a></td> |
|
65 <td>Private slot to update the OK button.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#HgMultiRevisionSelectionDialog.getRevisions">getRevisions</a></td> |
|
68 <td>Public method to retrieve the selected revisions.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#HgMultiRevisionSelectionDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td> |
|
71 <td>Private slot to handle changes of the Bookmark select button.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#HgMultiRevisionSelectionDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> |
|
74 <td>Private slot to handle changes of the Bookmark combo.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#HgMultiRevisionSelectionDialog.on_branchButton_toggled">on_branchButton_toggled</a></td> |
|
77 <td>Private slot to handle changes of the Branch select button.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#HgMultiRevisionSelectionDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> |
|
80 <td>Private slot to handle changes of the Branch combo.</td> |
|
81 </tr><tr> |
|
82 <td><a href="#HgMultiRevisionSelectionDialog.on_changesetsButton_toggled">on_changesetsButton_toggled</a></td> |
|
83 <td>Private slot to handle changes of the Changesets select button.</td> |
|
84 </tr><tr> |
|
85 <td><a href="#HgMultiRevisionSelectionDialog.on_changesetsEdit_textChanged">on_changesetsEdit_textChanged</a></td> |
|
86 <td>Private slot to handle changes of the Changesets edit.</td> |
|
87 </tr><tr> |
|
88 <td><a href="#HgMultiRevisionSelectionDialog.on_limitGroup_toggled">on_limitGroup_toggled</a></td> |
|
89 <td>Private slot to handle changes of the Limit Results group status.</td> |
|
90 </tr><tr> |
|
91 <td><a href="#HgMultiRevisionSelectionDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> |
|
92 <td>Private slot to handle changes of the Tag select button.</td> |
|
93 </tr><tr> |
|
94 <td><a href="#HgMultiRevisionSelectionDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
95 <td>Private slot to handle changes of the Tag combo.</td> |
|
96 </tr> |
|
97 </table> |
|
98 <h3>Static Methods</h3> |
|
99 <table> |
|
100 <tr><td>None</td></tr> |
|
101 </table> |
|
102 <a NAME="HgMultiRevisionSelectionDialog.__init__" ID="HgMultiRevisionSelectionDialog.__init__"></a> |
|
103 <h4>HgMultiRevisionSelectionDialog (Constructor)</h4> |
|
104 <b>HgMultiRevisionSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, emptyRevsOk=False, showLimit=False, limitDefault=100, parent=None</i>) |
|
105 <p> |
|
106 Constructor |
|
107 </p><dl> |
|
108 <dt><i>tagsList</i></dt> |
|
109 <dd> |
|
110 list of tags (list of strings) |
|
111 </dd><dt><i>branchesList</i></dt> |
|
112 <dd> |
|
113 list of branches (list of strings) |
|
114 </dd><dt><i>bookmarksList</i></dt> |
|
115 <dd> |
|
116 list of bookmarks (list of strings) |
|
117 </dd><dt><i>emptyRevsOk</i></dt> |
|
118 <dd> |
|
119 flag indicating that it is ok to not enter revisions (boolean) |
|
120 </dd><dt><i>showLimit</i></dt> |
|
121 <dd> |
|
122 flag indicating to show the limit entry (boolean) |
|
123 </dd><dt><i>limitDefault</i></dt> |
|
124 <dd> |
|
125 default value for the limit (integer) |
|
126 </dd><dt><i>parent</i></dt> |
|
127 <dd> |
|
128 parent widget (QWidget) |
|
129 </dd> |
|
130 </dl><a NAME="HgMultiRevisionSelectionDialog.__updateOK" ID="HgMultiRevisionSelectionDialog.__updateOK"></a> |
|
131 <h4>HgMultiRevisionSelectionDialog.__updateOK</h4> |
|
132 <b>__updateOK</b>(<i></i>) |
|
133 <p> |
|
134 Private slot to update the OK button. |
|
135 </p><a NAME="HgMultiRevisionSelectionDialog.getRevisions" ID="HgMultiRevisionSelectionDialog.getRevisions"></a> |
|
136 <h4>HgMultiRevisionSelectionDialog.getRevisions</h4> |
|
137 <b>getRevisions</b>(<i></i>) |
|
138 <p> |
|
139 Public method to retrieve the selected revisions. |
|
140 </p><dl> |
|
141 <dt>Returns:</dt> |
|
142 <dd> |
|
143 tuple of selected revisions (list of strings) and number |
|
144 of entries to be shown (integer) |
|
145 </dd> |
|
146 </dl><a NAME="HgMultiRevisionSelectionDialog.on_bookmarkButton_toggled" ID="HgMultiRevisionSelectionDialog.on_bookmarkButton_toggled"></a> |
|
147 <h4>HgMultiRevisionSelectionDialog.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="HgMultiRevisionSelectionDialog.on_bookmarkCombo_editTextChanged" ID="HgMultiRevisionSelectionDialog.on_bookmarkCombo_editTextChanged"></a> |
|
157 <h4>HgMultiRevisionSelectionDialog.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="HgMultiRevisionSelectionDialog.on_branchButton_toggled" ID="HgMultiRevisionSelectionDialog.on_branchButton_toggled"></a> |
|
167 <h4>HgMultiRevisionSelectionDialog.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="HgMultiRevisionSelectionDialog.on_branchCombo_editTextChanged" ID="HgMultiRevisionSelectionDialog.on_branchCombo_editTextChanged"></a> |
|
177 <h4>HgMultiRevisionSelectionDialog.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="HgMultiRevisionSelectionDialog.on_changesetsButton_toggled" ID="HgMultiRevisionSelectionDialog.on_changesetsButton_toggled"></a> |
|
187 <h4>HgMultiRevisionSelectionDialog.on_changesetsButton_toggled</h4> |
|
188 <b>on_changesetsButton_toggled</b>(<i>checked</i>) |
|
189 <p> |
|
190 Private slot to handle changes of the Changesets 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="HgMultiRevisionSelectionDialog.on_changesetsEdit_textChanged" ID="HgMultiRevisionSelectionDialog.on_changesetsEdit_textChanged"></a> |
|
197 <h4>HgMultiRevisionSelectionDialog.on_changesetsEdit_textChanged</h4> |
|
198 <b>on_changesetsEdit_textChanged</b>(<i></i>) |
|
199 <p> |
|
200 Private slot to handle changes of the Changesets edit. |
|
201 </p><dl> |
|
202 <dt><i>txt</i></dt> |
|
203 <dd> |
|
204 text of the edit (string) |
|
205 </dd> |
|
206 </dl><a NAME="HgMultiRevisionSelectionDialog.on_limitGroup_toggled" ID="HgMultiRevisionSelectionDialog.on_limitGroup_toggled"></a> |
|
207 <h4>HgMultiRevisionSelectionDialog.on_limitGroup_toggled</h4> |
|
208 <b>on_limitGroup_toggled</b>(<i>checked</i>) |
|
209 <p> |
|
210 Private slot to handle changes of the Limit Results group status. |
|
211 </p><dl> |
|
212 <dt><i>checked</i></dt> |
|
213 <dd> |
|
214 state of the group (boolean) |
|
215 </dd> |
|
216 </dl><a NAME="HgMultiRevisionSelectionDialog.on_tagButton_toggled" ID="HgMultiRevisionSelectionDialog.on_tagButton_toggled"></a> |
|
217 <h4>HgMultiRevisionSelectionDialog.on_tagButton_toggled</h4> |
|
218 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
219 <p> |
|
220 Private slot to handle changes of the Tag select button. |
|
221 </p><dl> |
|
222 <dt><i>checked</i></dt> |
|
223 <dd> |
|
224 state of the button (boolean) |
|
225 </dd> |
|
226 </dl><a NAME="HgMultiRevisionSelectionDialog.on_tagCombo_editTextChanged" ID="HgMultiRevisionSelectionDialog.on_tagCombo_editTextChanged"></a> |
|
227 <h4>HgMultiRevisionSelectionDialog.on_tagCombo_editTextChanged</h4> |
|
228 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
229 <p> |
|
230 Private slot to handle changes of the Tag combo. |
|
231 </p><dl> |
|
232 <dt><i>txt</i></dt> |
|
233 <dd> |
|
234 text of the combo (string) |
|
235 </dd> |
|
236 </dl> |
|
237 <div align="right"><a href="#top">Up</a></div> |
|
238 <hr /> |
|
239 </body></html> |