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