|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitArchiveDataDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter the data for the creation of an archive. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#GitArchiveDataDialog">GitArchiveDataDialog</a></td> |
|
39 <td>Class implementing a dialog to enter the data for the creation of an archive.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="GitArchiveDataDialog" ID="GitArchiveDataDialog"></a> |
|
50 <h2>GitArchiveDataDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to enter the data for the creation of an |
|
54 archive. |
|
55 </p> |
|
56 <h3>Derived from</h3> |
|
57 QDialog, Ui_GitArchiveDataDialog |
|
58 <h3>Class Attributes</h3> |
|
59 |
|
60 <table> |
|
61 <tr><td>None</td></tr> |
|
62 </table> |
|
63 <h3>Class Methods</h3> |
|
64 |
|
65 <table> |
|
66 <tr><td>None</td></tr> |
|
67 </table> |
|
68 <h3>Methods</h3> |
|
69 |
|
70 <table> |
|
71 |
|
72 <tr> |
|
73 <td><a href="#GitArchiveDataDialog.__init__">GitArchiveDataDialog</a></td> |
|
74 <td>Constructor</td> |
|
75 </tr> |
|
76 <tr> |
|
77 <td><a href="#GitArchiveDataDialog.__updateOK">__updateOK</a></td> |
|
78 <td>Private slot to update the OK button.</td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td><a href="#GitArchiveDataDialog.getData">getData</a></td> |
|
82 <td>Public method to retrieve the entered data.</td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td><a href="#GitArchiveDataDialog.on_branchButton_toggled">on_branchButton_toggled</a></td> |
|
86 <td>Private slot to handle changes of the Branch select button.</td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td><a href="#GitArchiveDataDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> |
|
90 <td>Private slot to handle changes of the Branch combo.</td> |
|
91 </tr> |
|
92 <tr> |
|
93 <td><a href="#GitArchiveDataDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> |
|
94 <td>Private slot to select a file via a file selection dialog.</td> |
|
95 </tr> |
|
96 <tr> |
|
97 <td><a href="#GitArchiveDataDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td> |
|
98 <td>Private slot to handle changes of the file edit.</td> |
|
99 </tr> |
|
100 <tr> |
|
101 <td><a href="#GitArchiveDataDialog.on_revButton_toggled">on_revButton_toggled</a></td> |
|
102 <td>Private slot to handle changes of the rev select button.</td> |
|
103 </tr> |
|
104 <tr> |
|
105 <td><a href="#GitArchiveDataDialog.on_revEdit_textChanged">on_revEdit_textChanged</a></td> |
|
106 <td>Private slot to handle changes of the rev edit.</td> |
|
107 </tr> |
|
108 <tr> |
|
109 <td><a href="#GitArchiveDataDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> |
|
110 <td>Private slot to handle changes of the Tag select button.</td> |
|
111 </tr> |
|
112 <tr> |
|
113 <td><a href="#GitArchiveDataDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
114 <td>Private slot to handle changes of the Tag combo.</td> |
|
115 </tr> |
|
116 </table> |
|
117 <h3>Static Methods</h3> |
|
118 |
|
119 <table> |
|
120 <tr><td>None</td></tr> |
|
121 </table> |
|
122 |
|
123 <a NAME="GitArchiveDataDialog.__init__" ID="GitArchiveDataDialog.__init__"></a> |
|
124 <h4>GitArchiveDataDialog (Constructor)</h4> |
|
125 <b>GitArchiveDataDialog</b>(<i>tagsList, branchesList, formatsList, parent=None</i>) |
|
126 |
|
127 <p> |
|
128 Constructor |
|
129 </p> |
|
130 <dl> |
|
131 |
|
132 <dt><i>tagsList</i></dt> |
|
133 <dd> |
|
134 list of tags (list of strings) |
|
135 </dd> |
|
136 <dt><i>branchesList</i></dt> |
|
137 <dd> |
|
138 list of branches (list of strings) |
|
139 </dd> |
|
140 <dt><i>formatsList</i></dt> |
|
141 <dd> |
|
142 list of archive formats (list of strings) |
|
143 </dd> |
|
144 <dt><i>parent</i></dt> |
|
145 <dd> |
|
146 reference to the parent widget (QWidget) |
|
147 </dd> |
|
148 </dl> |
|
149 <a NAME="GitArchiveDataDialog.__updateOK" ID="GitArchiveDataDialog.__updateOK"></a> |
|
150 <h4>GitArchiveDataDialog.__updateOK</h4> |
|
151 <b>__updateOK</b>(<i></i>) |
|
152 |
|
153 <p> |
|
154 Private slot to update the OK button. |
|
155 </p> |
|
156 <a NAME="GitArchiveDataDialog.getData" ID="GitArchiveDataDialog.getData"></a> |
|
157 <h4>GitArchiveDataDialog.getData</h4> |
|
158 <b>getData</b>(<i></i>) |
|
159 |
|
160 <p> |
|
161 Public method to retrieve the entered data. |
|
162 </p> |
|
163 <dl> |
|
164 <dt>Return:</dt> |
|
165 <dd> |
|
166 tuple of selected revision (string), archive format (string), |
|
167 archive file (string) and prefix (string) |
|
168 </dd> |
|
169 </dl> |
|
170 <a NAME="GitArchiveDataDialog.on_branchButton_toggled" ID="GitArchiveDataDialog.on_branchButton_toggled"></a> |
|
171 <h4>GitArchiveDataDialog.on_branchButton_toggled</h4> |
|
172 <b>on_branchButton_toggled</b>(<i>checked</i>) |
|
173 |
|
174 <p> |
|
175 Private slot to handle changes of the Branch select button. |
|
176 </p> |
|
177 <dl> |
|
178 |
|
179 <dt><i>checked</i></dt> |
|
180 <dd> |
|
181 state of the button (boolean) |
|
182 </dd> |
|
183 </dl> |
|
184 <a NAME="GitArchiveDataDialog.on_branchCombo_editTextChanged" ID="GitArchiveDataDialog.on_branchCombo_editTextChanged"></a> |
|
185 <h4>GitArchiveDataDialog.on_branchCombo_editTextChanged</h4> |
|
186 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) |
|
187 |
|
188 <p> |
|
189 Private slot to handle changes of the Branch combo. |
|
190 </p> |
|
191 <dl> |
|
192 |
|
193 <dt><i>txt</i></dt> |
|
194 <dd> |
|
195 text of the combo (string) |
|
196 </dd> |
|
197 </dl> |
|
198 <a NAME="GitArchiveDataDialog.on_fileButton_clicked" ID="GitArchiveDataDialog.on_fileButton_clicked"></a> |
|
199 <h4>GitArchiveDataDialog.on_fileButton_clicked</h4> |
|
200 <b>on_fileButton_clicked</b>(<i></i>) |
|
201 |
|
202 <p> |
|
203 Private slot to select a file via a file selection dialog. |
|
204 </p> |
|
205 <a NAME="GitArchiveDataDialog.on_fileEdit_textChanged" ID="GitArchiveDataDialog.on_fileEdit_textChanged"></a> |
|
206 <h4>GitArchiveDataDialog.on_fileEdit_textChanged</h4> |
|
207 <b>on_fileEdit_textChanged</b>(<i>txt</i>) |
|
208 |
|
209 <p> |
|
210 Private slot to handle changes of the file edit. |
|
211 </p> |
|
212 <dl> |
|
213 |
|
214 <dt><i>txt</i></dt> |
|
215 <dd> |
|
216 text of the edit (string) |
|
217 </dd> |
|
218 </dl> |
|
219 <a NAME="GitArchiveDataDialog.on_revButton_toggled" ID="GitArchiveDataDialog.on_revButton_toggled"></a> |
|
220 <h4>GitArchiveDataDialog.on_revButton_toggled</h4> |
|
221 <b>on_revButton_toggled</b>(<i>checked</i>) |
|
222 |
|
223 <p> |
|
224 Private slot to handle changes of the rev select button. |
|
225 </p> |
|
226 <dl> |
|
227 |
|
228 <dt><i>checked</i></dt> |
|
229 <dd> |
|
230 state of the button (boolean) |
|
231 </dd> |
|
232 </dl> |
|
233 <a NAME="GitArchiveDataDialog.on_revEdit_textChanged" ID="GitArchiveDataDialog.on_revEdit_textChanged"></a> |
|
234 <h4>GitArchiveDataDialog.on_revEdit_textChanged</h4> |
|
235 <b>on_revEdit_textChanged</b>(<i>txt</i>) |
|
236 |
|
237 <p> |
|
238 Private slot to handle changes of the rev edit. |
|
239 </p> |
|
240 <dl> |
|
241 |
|
242 <dt><i>txt</i></dt> |
|
243 <dd> |
|
244 text of the edit (string) |
|
245 </dd> |
|
246 </dl> |
|
247 <a NAME="GitArchiveDataDialog.on_tagButton_toggled" ID="GitArchiveDataDialog.on_tagButton_toggled"></a> |
|
248 <h4>GitArchiveDataDialog.on_tagButton_toggled</h4> |
|
249 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
250 |
|
251 <p> |
|
252 Private slot to handle changes of the Tag select button. |
|
253 </p> |
|
254 <dl> |
|
255 |
|
256 <dt><i>checked</i></dt> |
|
257 <dd> |
|
258 state of the button (boolean) |
|
259 </dd> |
|
260 </dl> |
|
261 <a NAME="GitArchiveDataDialog.on_tagCombo_editTextChanged" ID="GitArchiveDataDialog.on_tagCombo_editTextChanged"></a> |
|
262 <h4>GitArchiveDataDialog.on_tagCombo_editTextChanged</h4> |
|
263 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
264 |
|
265 <p> |
|
266 Private slot to handle changes of the Tag combo. |
|
267 </p> |
|
268 <dl> |
|
269 |
|
270 <dt><i>txt</i></dt> |
|
271 <dd> |
|
272 text of the combo (string) |
|
273 </dd> |
|
274 </dl> |
|
275 <div align="right"><a href="#top">Up</a></div> |
|
276 <hr /> |
|
277 </body></html> |