Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog.html

changeset 5283
06423d65a2b8
equal deleted inserted replaced
5282:898b0dda21e1 5283:06423d65a2b8
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog</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.HisteditExtension.HgHisteditConfigDialog</h1>
23 <p>
24 Module implementing a dialog to enter the histedit parameters.
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="#HgHisteditConfigDialog">HgHisteditConfigDialog</a></td>
34 <td>Class implementing a dialog to enter the histedit parameters.</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="HgHisteditConfigDialog" ID="HgHisteditConfigDialog"></a>
43 <h2>HgHisteditConfigDialog</h2>
44 <p>
45 Class implementing a dialog to enter the histedit parameters.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgHisteditConfigDialog
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="#HgHisteditConfigDialog.__init__">HgHisteditConfigDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgHisteditConfigDialog.__getRevision">__getRevision</a></td>
64 <td>Private method to generate the revision.</td>
65 </tr><tr>
66 <td><a href="#HgHisteditConfigDialog.__updateOK">__updateOK</a></td>
67 <td>Private slot to update the OK button.</td>
68 </tr><tr>
69 <td><a href="#HgHisteditConfigDialog.getData">getData</a></td>
70 <td>Public method to retrieve the data for the strip action.</td>
71 </tr><tr>
72 <td><a href="#HgHisteditConfigDialog.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="#HgHisteditConfigDialog.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="#HgHisteditConfigDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
79 <td>Private slot to handle changes of the Branch select button.</td>
80 </tr><tr>
81 <td><a href="#HgHisteditConfigDialog.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="#HgHisteditConfigDialog.on_defaultButton_toggled">on_defaultButton_toggled</a></td>
85 <td>Private slot to handle changes of the Default select button.</td>
86 </tr><tr>
87 <td><a href="#HgHisteditConfigDialog.on_idButton_toggled">on_idButton_toggled</a></td>
88 <td>Private slot to handle changes of the ID select button.</td>
89 </tr><tr>
90 <td><a href="#HgHisteditConfigDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
91 <td>Private slot to handle changes of the ID edit.</td>
92 </tr><tr>
93 <td><a href="#HgHisteditConfigDialog.on_numberSpinBox_valueChanged">on_numberSpinBox_valueChanged</a></td>
94 <td>Private slot to handle changes of the Number spin box.</td>
95 </tr><tr>
96 <td><a href="#HgHisteditConfigDialog.on_outgoingButton_toggled">on_outgoingButton_toggled</a></td>
97 <td>Private slot to handle changes of the Outgoing select button.</td>
98 </tr><tr>
99 <td><a href="#HgHisteditConfigDialog.on_revisionButton_toggled">on_revisionButton_toggled</a></td>
100 <td>Private slot to handle changes of the Revision select button.</td>
101 </tr><tr>
102 <td><a href="#HgHisteditConfigDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
103 <td>Private slot to handle changes of the Tag select button.</td>
104 </tr><tr>
105 <td><a href="#HgHisteditConfigDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
106 <td>Private slot to handle changes of the Tag combo.</td>
107 </tr>
108 </table>
109 <h3>Static Methods</h3>
110 <table>
111 <tr><td>None</td></tr>
112 </table>
113 <a NAME="HgHisteditConfigDialog.__init__" ID="HgHisteditConfigDialog.__init__"></a>
114 <h4>HgHisteditConfigDialog (Constructor)</h4>
115 <b>HgHisteditConfigDialog</b>(<i>tagsList, branchesList, bookmarksList=None, rev="", parent=None</i>)
116 <p>
117 Constructor
118 </p><dl>
119 <dt><i>tagsList</i> (list of str)</dt>
120 <dd>
121 list of tags
122 </dd><dt><i>branchesList</i> (list of str)</dt>
123 <dd>
124 list of branches
125 </dd><dt><i>bookmarksList</i> (list of str)</dt>
126 <dd>
127 list of bookmarks
128 </dd><dt><i>rev=</i> (str)</dt>
129 <dd>
130 revision to strip from
131 </dd><dt><i>parent</i> (QWidget)</dt>
132 <dd>
133 reference to the parent widget
134 </dd>
135 </dl><a NAME="HgHisteditConfigDialog.__getRevision" ID="HgHisteditConfigDialog.__getRevision"></a>
136 <h4>HgHisteditConfigDialog.__getRevision</h4>
137 <b>__getRevision</b>(<i></i>)
138 <p>
139 Private method to generate the revision.
140 </p><dl>
141 <dt>Returns:</dt>
142 <dd>
143 revision
144 </dd>
145 </dl><dl>
146 <dt>Return Type:</dt>
147 <dd>
148 str
149 </dd>
150 </dl><a NAME="HgHisteditConfigDialog.__updateOK" ID="HgHisteditConfigDialog.__updateOK"></a>
151 <h4>HgHisteditConfigDialog.__updateOK</h4>
152 <b>__updateOK</b>(<i></i>)
153 <p>
154 Private slot to update the OK button.
155 </p><a NAME="HgHisteditConfigDialog.getData" ID="HgHisteditConfigDialog.getData"></a>
156 <h4>HgHisteditConfigDialog.getData</h4>
157 <b>getData</b>(<i></i>)
158 <p>
159 Public method to retrieve the data for the strip action.
160 </p><dl>
161 <dt>Returns:</dt>
162 <dd>
163 tuple with the revision, a flag indicating to to outgoing and a
164 flag indicating to keep old nodes
165 </dd>
166 </dl><dl>
167 <dt>Return Type:</dt>
168 <dd>
169 tuple (str, bool, bool)
170 </dd>
171 </dl><a NAME="HgHisteditConfigDialog.on_bookmarkButton_toggled" ID="HgHisteditConfigDialog.on_bookmarkButton_toggled"></a>
172 <h4>HgHisteditConfigDialog.on_bookmarkButton_toggled</h4>
173 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
174 <p>
175 Private slot to handle changes of the Bookmark select button.
176 </p><dl>
177 <dt><i>checked</i></dt>
178 <dd>
179 state of the button (boolean)
180 </dd>
181 </dl><a NAME="HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged" ID="HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged"></a>
182 <h4>HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged</h4>
183 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
184 <p>
185 Private slot to handle changes of the Bookmark combo.
186 </p><dl>
187 <dt><i>txt</i> (str)</dt>
188 <dd>
189 text of the combo
190 </dd>
191 </dl><a NAME="HgHisteditConfigDialog.on_branch1Button_toggled" ID="HgHisteditConfigDialog.on_branch1Button_toggled"></a>
192 <h4>HgHisteditConfigDialog.on_branch1Button_toggled</h4>
193 <b>on_branch1Button_toggled</b>(<i>checked</i>)
194 <p>
195 Private slot to handle changes of the Branch select button.
196 </p><dl>
197 <dt><i>checked</i></dt>
198 <dd>
199 state of the button (boolean)
200 </dd>
201 </dl><a NAME="HgHisteditConfigDialog.on_branchCombo_editTextChanged" ID="HgHisteditConfigDialog.on_branchCombo_editTextChanged"></a>
202 <h4>HgHisteditConfigDialog.on_branchCombo_editTextChanged</h4>
203 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
204 <p>
205 Private slot to handle changes of the Branch combo.
206 </p><dl>
207 <dt><i>txt</i> (str)</dt>
208 <dd>
209 text of the combo
210 </dd>
211 </dl><a NAME="HgHisteditConfigDialog.on_defaultButton_toggled" ID="HgHisteditConfigDialog.on_defaultButton_toggled"></a>
212 <h4>HgHisteditConfigDialog.on_defaultButton_toggled</h4>
213 <b>on_defaultButton_toggled</b>(<i>checked</i>)
214 <p>
215 Private slot to handle changes of the Default select button.
216 </p><dl>
217 <dt><i>checked</i> (bool)</dt>
218 <dd>
219 state of the button
220 </dd>
221 </dl><a NAME="HgHisteditConfigDialog.on_idButton_toggled" ID="HgHisteditConfigDialog.on_idButton_toggled"></a>
222 <h4>HgHisteditConfigDialog.on_idButton_toggled</h4>
223 <b>on_idButton_toggled</b>(<i>checked</i>)
224 <p>
225 Private slot to handle changes of the ID select button.
226 </p><dl>
227 <dt><i>checked</i></dt>
228 <dd>
229 state of the button (boolean)
230 </dd>
231 </dl><a NAME="HgHisteditConfigDialog.on_idEdit_textChanged" ID="HgHisteditConfigDialog.on_idEdit_textChanged"></a>
232 <h4>HgHisteditConfigDialog.on_idEdit_textChanged</h4>
233 <b>on_idEdit_textChanged</b>(<i>txt</i>)
234 <p>
235 Private slot to handle changes of the ID edit.
236 </p><dl>
237 <dt><i>txt</i> (str)</dt>
238 <dd>
239 text of the edit
240 </dd>
241 </dl><a NAME="HgHisteditConfigDialog.on_numberSpinBox_valueChanged" ID="HgHisteditConfigDialog.on_numberSpinBox_valueChanged"></a>
242 <h4>HgHisteditConfigDialog.on_numberSpinBox_valueChanged</h4>
243 <b>on_numberSpinBox_valueChanged</b>(<i>val</i>)
244 <p>
245 Private slot to handle changes of the Number spin box.
246 </p><dl>
247 <dt><i>val</i> (int)</dt>
248 <dd>
249 value of the spin box
250 </dd>
251 </dl><a NAME="HgHisteditConfigDialog.on_outgoingButton_toggled" ID="HgHisteditConfigDialog.on_outgoingButton_toggled"></a>
252 <h4>HgHisteditConfigDialog.on_outgoingButton_toggled</h4>
253 <b>on_outgoingButton_toggled</b>(<i>checked</i>)
254 <p>
255 Private slot to handle changes of the Outgoing select button.
256 </p><dl>
257 <dt><i>checked</i> (bool)</dt>
258 <dd>
259 state of the button
260 </dd>
261 </dl><a NAME="HgHisteditConfigDialog.on_revisionButton_toggled" ID="HgHisteditConfigDialog.on_revisionButton_toggled"></a>
262 <h4>HgHisteditConfigDialog.on_revisionButton_toggled</h4>
263 <b>on_revisionButton_toggled</b>(<i>checked</i>)
264 <p>
265 Private slot to handle changes of the Revision select button.
266 </p><dl>
267 <dt><i>checked</i> (bool)</dt>
268 <dd>
269 state of the button
270 </dd>
271 </dl><a NAME="HgHisteditConfigDialog.on_tagButton_toggled" ID="HgHisteditConfigDialog.on_tagButton_toggled"></a>
272 <h4>HgHisteditConfigDialog.on_tagButton_toggled</h4>
273 <b>on_tagButton_toggled</b>(<i>checked</i>)
274 <p>
275 Private slot to handle changes of the Tag select button.
276 </p><dl>
277 <dt><i>checked</i></dt>
278 <dd>
279 state of the button (boolean)
280 </dd>
281 </dl><a NAME="HgHisteditConfigDialog.on_tagCombo_editTextChanged" ID="HgHisteditConfigDialog.on_tagCombo_editTextChanged"></a>
282 <h4>HgHisteditConfigDialog.on_tagCombo_editTextChanged</h4>
283 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
284 <p>
285 Private slot to handle changes of the Tag combo.
286 </p><dl>
287 <dt><i>txt</i> (str)</dt>
288 <dd>
289 text of the combo
290 </dd>
291 </dl>
292 <div align="right"><a href="#top">Up</a></div>
293 <hr />
294 </body></html>

eric ide

mercurial