|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgBackoutDialog</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.HgBackoutDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter the data for a backout operation. |
|
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="#HgBackoutDialog">HgBackoutDialog</a></td> |
|
34 <td>Class implementing a dialog to enter the data for a backout operation.</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="HgBackoutDialog" ID="HgBackoutDialog"></a> |
|
43 <h2>HgBackoutDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter the data for a backout operation. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgBackoutDialog |
|
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="#HgBackoutDialog.__init__">HgBackoutDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgBackoutDialog.__updateOK">__updateOK</a></td> |
|
64 <td>Private slot to update the OK button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgBackoutDialog.getParameters">getParameters</a></td> |
|
67 <td>Public method to retrieve the backout data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgBackoutDialog.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="#HgBackoutDialog.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="#HgBackoutDialog.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="#HgBackoutDialog.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="#HgBackoutDialog.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="#HgBackoutDialog.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="#HgBackoutDialog.on_noneButton_toggled">on_noneButton_toggled</a></td> |
|
88 <td>Private slot to handle the toggling of the None revision button.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#HgBackoutDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> |
|
91 <td>Private slot to handle changes of the Tag select button.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#HgBackoutDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
94 <td>Private slot to handle changes of the Tag combo.</td> |
|
95 </tr> |
|
96 </table> |
|
97 <h3>Static Methods</h3> |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 <a NAME="HgBackoutDialog.__init__" ID="HgBackoutDialog.__init__"></a> |
|
102 <h4>HgBackoutDialog (Constructor)</h4> |
|
103 <b>HgBackoutDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>) |
|
104 <p> |
|
105 Constructor |
|
106 </p><dl> |
|
107 <dt><i>tagsList</i></dt> |
|
108 <dd> |
|
109 list of tags (list of strings) |
|
110 </dd><dt><i>branchesList</i></dt> |
|
111 <dd> |
|
112 list of branches (list of strings) |
|
113 </dd><dt><i>bookmarksList</i></dt> |
|
114 <dd> |
|
115 list of bookmarks (list of strings) |
|
116 </dd><dt><i>parent</i></dt> |
|
117 <dd> |
|
118 parent widget (QWidget) |
|
119 </dd> |
|
120 </dl><a NAME="HgBackoutDialog.__updateOK" ID="HgBackoutDialog.__updateOK"></a> |
|
121 <h4>HgBackoutDialog.__updateOK</h4> |
|
122 <b>__updateOK</b>(<i></i>) |
|
123 <p> |
|
124 Private slot to update the OK button. |
|
125 </p><a NAME="HgBackoutDialog.getParameters" ID="HgBackoutDialog.getParameters"></a> |
|
126 <h4>HgBackoutDialog.getParameters</h4> |
|
127 <b>getParameters</b>(<i></i>) |
|
128 <p> |
|
129 Public method to retrieve the backout data. |
|
130 </p><dl> |
|
131 <dt>Returns:</dt> |
|
132 <dd> |
|
133 tuple naming the revision, a flag indicating a |
|
134 merge, the commit date, the commit user and a commit message |
|
135 (string, boolean, string, string, string) |
|
136 </dd> |
|
137 </dl><a NAME="HgBackoutDialog.on_bookmarkButton_toggled" ID="HgBackoutDialog.on_bookmarkButton_toggled"></a> |
|
138 <h4>HgBackoutDialog.on_bookmarkButton_toggled</h4> |
|
139 <b>on_bookmarkButton_toggled</b>(<i>checked</i>) |
|
140 <p> |
|
141 Private slot to handle changes of the Bookmark select button. |
|
142 </p><dl> |
|
143 <dt><i>checked</i></dt> |
|
144 <dd> |
|
145 state of the button (boolean) |
|
146 </dd> |
|
147 </dl><a NAME="HgBackoutDialog.on_bookmarkCombo_editTextChanged" ID="HgBackoutDialog.on_bookmarkCombo_editTextChanged"></a> |
|
148 <h4>HgBackoutDialog.on_bookmarkCombo_editTextChanged</h4> |
|
149 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) |
|
150 <p> |
|
151 Private slot to handle changes of the Bookmark combo. |
|
152 </p><dl> |
|
153 <dt><i>txt</i></dt> |
|
154 <dd> |
|
155 text of the combo (string) |
|
156 </dd> |
|
157 </dl><a NAME="HgBackoutDialog.on_branchButton_toggled" ID="HgBackoutDialog.on_branchButton_toggled"></a> |
|
158 <h4>HgBackoutDialog.on_branchButton_toggled</h4> |
|
159 <b>on_branchButton_toggled</b>(<i>checked</i>) |
|
160 <p> |
|
161 Private slot to handle changes of the Branch select button. |
|
162 </p><dl> |
|
163 <dt><i>checked</i></dt> |
|
164 <dd> |
|
165 state of the button (boolean) |
|
166 </dd> |
|
167 </dl><a NAME="HgBackoutDialog.on_branchCombo_editTextChanged" ID="HgBackoutDialog.on_branchCombo_editTextChanged"></a> |
|
168 <h4>HgBackoutDialog.on_branchCombo_editTextChanged</h4> |
|
169 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) |
|
170 <p> |
|
171 Private slot to handle changes of the Branch combo. |
|
172 </p><dl> |
|
173 <dt><i>txt</i></dt> |
|
174 <dd> |
|
175 text of the combo (string) |
|
176 </dd> |
|
177 </dl><a NAME="HgBackoutDialog.on_idButton_toggled" ID="HgBackoutDialog.on_idButton_toggled"></a> |
|
178 <h4>HgBackoutDialog.on_idButton_toggled</h4> |
|
179 <b>on_idButton_toggled</b>(<i>checked</i>) |
|
180 <p> |
|
181 Private slot to handle changes of the ID select button. |
|
182 </p><dl> |
|
183 <dt><i>checked</i></dt> |
|
184 <dd> |
|
185 state of the button (boolean) |
|
186 </dd> |
|
187 </dl><a NAME="HgBackoutDialog.on_idEdit_textChanged" ID="HgBackoutDialog.on_idEdit_textChanged"></a> |
|
188 <h4>HgBackoutDialog.on_idEdit_textChanged</h4> |
|
189 <b>on_idEdit_textChanged</b>(<i>txt</i>) |
|
190 <p> |
|
191 Private slot to handle changes of the ID edit. |
|
192 </p><dl> |
|
193 <dt><i>txt</i></dt> |
|
194 <dd> |
|
195 text of the edit (string) |
|
196 </dd> |
|
197 </dl><a NAME="HgBackoutDialog.on_noneButton_toggled" ID="HgBackoutDialog.on_noneButton_toggled"></a> |
|
198 <h4>HgBackoutDialog.on_noneButton_toggled</h4> |
|
199 <b>on_noneButton_toggled</b>(<i>checked</i>) |
|
200 <p> |
|
201 Private slot to handle the toggling of the None revision button. |
|
202 </p><dl> |
|
203 <dt><i>checked</i></dt> |
|
204 <dd> |
|
205 flag indicating the checked state (boolean) |
|
206 </dd> |
|
207 </dl><a NAME="HgBackoutDialog.on_tagButton_toggled" ID="HgBackoutDialog.on_tagButton_toggled"></a> |
|
208 <h4>HgBackoutDialog.on_tagButton_toggled</h4> |
|
209 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
210 <p> |
|
211 Private slot to handle changes of the Tag select button. |
|
212 </p><dl> |
|
213 <dt><i>checked</i></dt> |
|
214 <dd> |
|
215 state of the button (boolean) |
|
216 </dd> |
|
217 </dl><a NAME="HgBackoutDialog.on_tagCombo_editTextChanged" ID="HgBackoutDialog.on_tagCombo_editTextChanged"></a> |
|
218 <h4>HgBackoutDialog.on_tagCombo_editTextChanged</h4> |
|
219 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
220 <p> |
|
221 Private slot to handle changes of the Tag combo. |
|
222 </p><dl> |
|
223 <dt><i>txt</i></dt> |
|
224 <dd> |
|
225 text of the combo (string) |
|
226 </dd> |
|
227 </dl> |
|
228 <div align="right"><a href="#top">Up</a></div> |
|
229 <hr /> |
|
230 </body></html> |