|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>VirtualenvConfigurationDialog</class> |
|
4 <widget class="QDialog" name="VirtualenvConfigurationDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>700</width> |
|
10 <height>590</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Virtualenv Configuration</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox_3"> |
|
22 <property name="title"> |
|
23 <string>Environment Creator</string> |
|
24 </property> |
|
25 <layout class="QGridLayout" name="gridLayout_3"> |
|
26 <item row="0" column="0"> |
|
27 <widget class="QRadioButton" name="virtualenvButton"> |
|
28 <property name="font"> |
|
29 <font> |
|
30 <weight>75</weight> |
|
31 <bold>true</bold> |
|
32 </font> |
|
33 </property> |
|
34 <property name="toolTip"> |
|
35 <string>Select to use 'virtualenv'</string> |
|
36 </property> |
|
37 <property name="text"> |
|
38 <string notr="true">0.0</string> |
|
39 </property> |
|
40 </widget> |
|
41 </item> |
|
42 <item row="0" column="1"> |
|
43 <spacer name="horizontalSpacer_2"> |
|
44 <property name="orientation"> |
|
45 <enum>Qt::Horizontal</enum> |
|
46 </property> |
|
47 <property name="sizeHint" stdset="0"> |
|
48 <size> |
|
49 <width>40</width> |
|
50 <height>20</height> |
|
51 </size> |
|
52 </property> |
|
53 </spacer> |
|
54 </item> |
|
55 <item row="1" column="0"> |
|
56 <widget class="QRadioButton" name="pyvenvButton"> |
|
57 <property name="font"> |
|
58 <font> |
|
59 <weight>75</weight> |
|
60 <bold>true</bold> |
|
61 </font> |
|
62 </property> |
|
63 <property name="toolTip"> |
|
64 <string>Select to use 'pyvenv'</string> |
|
65 </property> |
|
66 <property name="text"> |
|
67 <string notr="true">0.0</string> |
|
68 </property> |
|
69 </widget> |
|
70 </item> |
|
71 </layout> |
|
72 </widget> |
|
73 </item> |
|
74 <item> |
|
75 <widget class="QGroupBox" name="groupBox"> |
|
76 <property name="title"> |
|
77 <string>Paths</string> |
|
78 </property> |
|
79 <layout class="QGridLayout" name="gridLayout"> |
|
80 <item row="0" column="0"> |
|
81 <widget class="QLabel" name="label"> |
|
82 <property name="text"> |
|
83 <string>Target Directory:</string> |
|
84 </property> |
|
85 </widget> |
|
86 </item> |
|
87 <item row="0" column="1"> |
|
88 <widget class="E5ClearableLineEdit" name="targetDirectoryEdit"> |
|
89 <property name="toolTip"> |
|
90 <string>Enter the target directory for the virtual environment</string> |
|
91 </property> |
|
92 <property name="placeholderText"> |
|
93 <string>Target directory for the virtual environment</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item row="0" column="2"> |
|
98 <widget class="QToolButton" name="targetDirectoryButton"> |
|
99 <property name="toolTip"> |
|
100 <string>Select the target directory via a directory selection dialog</string> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 <item row="1" column="0"> |
|
105 <widget class="QLabel" name="extraSearchPathLabel"> |
|
106 <property name="text"> |
|
107 <string>Extra Search Path:</string> |
|
108 </property> |
|
109 </widget> |
|
110 </item> |
|
111 <item row="1" column="1"> |
|
112 <widget class="E5ClearableLineEdit" name="extraSearchPathEdit"> |
|
113 <property name="toolTip"> |
|
114 <string>Enter the extra search path to look for setuptools/pip</string> |
|
115 </property> |
|
116 <property name="placeholderText"> |
|
117 <string>Extra search path to look for setuptools/pip</string> |
|
118 </property> |
|
119 </widget> |
|
120 </item> |
|
121 <item row="1" column="2"> |
|
122 <widget class="QToolButton" name="extraSearchPathButton"> |
|
123 <property name="toolTip"> |
|
124 <string>Select the extra search path to look for setuptools/pip via a directory selection dialog</string> |
|
125 </property> |
|
126 </widget> |
|
127 </item> |
|
128 <item row="2" column="0"> |
|
129 <widget class="QLabel" name="promptPrefixLabel"> |
|
130 <property name="text"> |
|
131 <string>Prompt Prefix:</string> |
|
132 </property> |
|
133 </widget> |
|
134 </item> |
|
135 <item row="2" column="1"> |
|
136 <widget class="E5ClearableLineEdit" name="promptPrefixEdit"> |
|
137 <property name="toolTip"> |
|
138 <string>Enter the prompt prefix for the virtual environment</string> |
|
139 </property> |
|
140 <property name="placeholderText"> |
|
141 <string>Prompt prefix for the virtual environment</string> |
|
142 </property> |
|
143 </widget> |
|
144 </item> |
|
145 <item row="3" column="0"> |
|
146 <widget class="QLabel" name="label_5"> |
|
147 <property name="text"> |
|
148 <string>Python Executable:</string> |
|
149 </property> |
|
150 </widget> |
|
151 </item> |
|
152 <item row="3" column="1"> |
|
153 <widget class="E5ClearableLineEdit" name="pythonExecEdit"> |
|
154 <property name="toolTip"> |
|
155 <string>Enter the Python interpreter for the virtual environment</string> |
|
156 </property> |
|
157 <property name="placeholderText"> |
|
158 <string>Python interpreter for the virtual environment</string> |
|
159 </property> |
|
160 </widget> |
|
161 </item> |
|
162 <item row="3" column="2"> |
|
163 <widget class="QToolButton" name="pythonExecButton"> |
|
164 <property name="toolTip"> |
|
165 <string>Select the Python interpreter via a file selection dialog</string> |
|
166 </property> |
|
167 </widget> |
|
168 </item> |
|
169 </layout> |
|
170 </widget> |
|
171 </item> |
|
172 <item> |
|
173 <widget class="QGroupBox" name="groupBox_2"> |
|
174 <property name="title"> |
|
175 <string>Options</string> |
|
176 </property> |
|
177 <layout class="QGridLayout" name="gridLayout_2"> |
|
178 <item row="0" column="0"> |
|
179 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
180 <item> |
|
181 <widget class="QLabel" name="verbosityLabel"> |
|
182 <property name="text"> |
|
183 <string>Verbosity:</string> |
|
184 </property> |
|
185 </widget> |
|
186 </item> |
|
187 <item> |
|
188 <widget class="QSpinBox" name="verbositySpinBox"> |
|
189 <property name="toolTip"> |
|
190 <string>Select the verbosity (-1: quiet, 0: normal, 1: verbose)</string> |
|
191 </property> |
|
192 <property name="alignment"> |
|
193 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
194 </property> |
|
195 <property name="minimum"> |
|
196 <number>-1</number> |
|
197 </property> |
|
198 <property name="maximum"> |
|
199 <number>1</number> |
|
200 </property> |
|
201 </widget> |
|
202 </item> |
|
203 <item> |
|
204 <spacer name="horizontalSpacer_3"> |
|
205 <property name="orientation"> |
|
206 <enum>Qt::Horizontal</enum> |
|
207 </property> |
|
208 <property name="sizeHint" stdset="0"> |
|
209 <size> |
|
210 <width>40</width> |
|
211 <height>20</height> |
|
212 </size> |
|
213 </property> |
|
214 </spacer> |
|
215 </item> |
|
216 </layout> |
|
217 </item> |
|
218 <item row="0" column="1"> |
|
219 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
220 <item> |
|
221 <widget class="QLabel" name="versionLabel"> |
|
222 <property name="text"> |
|
223 <string>Python Version:</string> |
|
224 </property> |
|
225 </widget> |
|
226 </item> |
|
227 <item> |
|
228 <widget class="QComboBox" name="versionComboBox"> |
|
229 <property name="toolTip"> |
|
230 <string>Select the Python version (empty for current)</string> |
|
231 </property> |
|
232 <item> |
|
233 <property name="text"> |
|
234 <string notr="true"/> |
|
235 </property> |
|
236 </item> |
|
237 <item> |
|
238 <property name="text"> |
|
239 <string notr="true">2.6</string> |
|
240 </property> |
|
241 </item> |
|
242 <item> |
|
243 <property name="text"> |
|
244 <string notr="true">2.7</string> |
|
245 </property> |
|
246 </item> |
|
247 <item> |
|
248 <property name="text"> |
|
249 <string notr="true">3.4</string> |
|
250 </property> |
|
251 </item> |
|
252 <item> |
|
253 <property name="text"> |
|
254 <string notr="true">3.5</string> |
|
255 </property> |
|
256 </item> |
|
257 <item> |
|
258 <property name="text"> |
|
259 <string notr="true">3.6</string> |
|
260 </property> |
|
261 </item> |
|
262 </widget> |
|
263 </item> |
|
264 <item> |
|
265 <spacer name="horizontalSpacer"> |
|
266 <property name="orientation"> |
|
267 <enum>Qt::Horizontal</enum> |
|
268 </property> |
|
269 <property name="sizeHint" stdset="0"> |
|
270 <size> |
|
271 <width>40</width> |
|
272 <height>20</height> |
|
273 </size> |
|
274 </property> |
|
275 </spacer> |
|
276 </item> |
|
277 </layout> |
|
278 </item> |
|
279 <item row="1" column="0"> |
|
280 <widget class="QCheckBox" name="systemCheckBox"> |
|
281 <property name="toolTip"> |
|
282 <string>Select to give the virtualenv access to the global site-packages</string> |
|
283 </property> |
|
284 <property name="text"> |
|
285 <string>System-wide Python Packages</string> |
|
286 </property> |
|
287 </widget> |
|
288 </item> |
|
289 <item row="1" column="1"> |
|
290 <widget class="QCheckBox" name="unzipCheckBox"> |
|
291 <property name="toolTip"> |
|
292 <string>Select to unzip setuptools when installing it</string> |
|
293 </property> |
|
294 <property name="text"> |
|
295 <string>Unzip Setuptool to virtualenv</string> |
|
296 </property> |
|
297 <property name="checked"> |
|
298 <bool>true</bool> |
|
299 </property> |
|
300 </widget> |
|
301 </item> |
|
302 <item row="2" column="0"> |
|
303 <widget class="QCheckBox" name="noSetuptoolsCheckBox"> |
|
304 <property name="toolTip"> |
|
305 <string>Select to not install setuptools (or pip) in the new virtualenv</string> |
|
306 </property> |
|
307 <property name="text"> |
|
308 <string>Don't install 'setuptool' (or pip) in the virtualenv</string> |
|
309 </property> |
|
310 </widget> |
|
311 </item> |
|
312 <item row="2" column="1"> |
|
313 <widget class="QCheckBox" name="noPipCcheckBox"> |
|
314 <property name="toolTip"> |
|
315 <string>Select to not install pip in the new virtualenv</string> |
|
316 </property> |
|
317 <property name="text"> |
|
318 <string>Don't install 'pip' in the virtualenv</string> |
|
319 </property> |
|
320 </widget> |
|
321 </item> |
|
322 <item row="3" column="0"> |
|
323 <widget class="QCheckBox" name="clearCheckBox"> |
|
324 <property name="toolTip"> |
|
325 <string>Select to clear the target first</string> |
|
326 </property> |
|
327 <property name="text"> |
|
328 <string>Clear out the target directory</string> |
|
329 </property> |
|
330 </widget> |
|
331 </item> |
|
332 <item row="3" column="1"> |
|
333 <widget class="QCheckBox" name="copyCheckBox"> |
|
334 <property name="toolTip"> |
|
335 <string>Select to always copy files rather than symlinking</string> |
|
336 </property> |
|
337 <property name="text"> |
|
338 <string>Always copy files</string> |
|
339 </property> |
|
340 </widget> |
|
341 </item> |
|
342 <item row="4" column="0"> |
|
343 <widget class="QCheckBox" name="symlinkCheckBox"> |
|
344 <property name="toolTip"> |
|
345 <string>Select to use symlinks instead of copies</string> |
|
346 </property> |
|
347 <property name="text"> |
|
348 <string>Use Symbolic Links</string> |
|
349 </property> |
|
350 </widget> |
|
351 </item> |
|
352 <item row="4" column="1"> |
|
353 <widget class="QCheckBox" name="upgradeCheckBox"> |
|
354 <property name="toolTip"> |
|
355 <string>Select to upgrade a virtual environment</string> |
|
356 </property> |
|
357 <property name="text"> |
|
358 <string>Upgrade</string> |
|
359 </property> |
|
360 </widget> |
|
361 </item> |
|
362 <item row="5" column="0"> |
|
363 <widget class="QCheckBox" name="logCheckBox"> |
|
364 <property name="toolTip"> |
|
365 <string>Select to generate a log file in the target directory</string> |
|
366 </property> |
|
367 <property name="text"> |
|
368 <string>Save a log file in the target directory after creation</string> |
|
369 </property> |
|
370 <property name="checked"> |
|
371 <bool>true</bool> |
|
372 </property> |
|
373 </widget> |
|
374 </item> |
|
375 <item row="5" column="1"> |
|
376 <widget class="QCheckBox" name="scriptCheckBox"> |
|
377 <property name="toolTip"> |
|
378 <string>Select to write a shell script/batch file to regenerate the virtualenv</string> |
|
379 </property> |
|
380 <property name="text"> |
|
381 <string>Save virtualenv generation script</string> |
|
382 </property> |
|
383 <property name="checked"> |
|
384 <bool>true</bool> |
|
385 </property> |
|
386 </widget> |
|
387 </item> |
|
388 <item row="6" column="0"> |
|
389 <widget class="QCheckBox" name="openCheckBox"> |
|
390 <property name="toolTip"> |
|
391 <string>Open the newly created virtualenv in a file manager window</string> |
|
392 </property> |
|
393 <property name="text"> |
|
394 <string>Open target directory after creation</string> |
|
395 </property> |
|
396 <property name="checked"> |
|
397 <bool>true</bool> |
|
398 </property> |
|
399 </widget> |
|
400 </item> |
|
401 </layout> |
|
402 </widget> |
|
403 </item> |
|
404 <item> |
|
405 <widget class="QDialogButtonBox" name="buttonBox"> |
|
406 <property name="orientation"> |
|
407 <enum>Qt::Horizontal</enum> |
|
408 </property> |
|
409 <property name="standardButtons"> |
|
410 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
411 </property> |
|
412 </widget> |
|
413 </item> |
|
414 </layout> |
|
415 </widget> |
|
416 <customwidgets> |
|
417 <customwidget> |
|
418 <class>E5ClearableLineEdit</class> |
|
419 <extends>QLineEdit</extends> |
|
420 <header>E5Gui/E5LineEdit.h</header> |
|
421 </customwidget> |
|
422 </customwidgets> |
|
423 <tabstops> |
|
424 <tabstop>virtualenvButton</tabstop> |
|
425 <tabstop>pyvenvButton</tabstop> |
|
426 <tabstop>targetDirectoryEdit</tabstop> |
|
427 <tabstop>targetDirectoryButton</tabstop> |
|
428 <tabstop>extraSearchPathEdit</tabstop> |
|
429 <tabstop>extraSearchPathButton</tabstop> |
|
430 <tabstop>promptPrefixEdit</tabstop> |
|
431 <tabstop>pythonExecEdit</tabstop> |
|
432 <tabstop>pythonExecButton</tabstop> |
|
433 <tabstop>verbositySpinBox</tabstop> |
|
434 <tabstop>versionComboBox</tabstop> |
|
435 <tabstop>systemCheckBox</tabstop> |
|
436 <tabstop>unzipCheckBox</tabstop> |
|
437 <tabstop>noSetuptoolsCheckBox</tabstop> |
|
438 <tabstop>noPipCcheckBox</tabstop> |
|
439 <tabstop>clearCheckBox</tabstop> |
|
440 <tabstop>copyCheckBox</tabstop> |
|
441 <tabstop>symlinkCheckBox</tabstop> |
|
442 <tabstop>upgradeCheckBox</tabstop> |
|
443 <tabstop>logCheckBox</tabstop> |
|
444 <tabstop>scriptCheckBox</tabstop> |
|
445 <tabstop>openCheckBox</tabstop> |
|
446 </tabstops> |
|
447 <resources/> |
|
448 <connections> |
|
449 <connection> |
|
450 <sender>buttonBox</sender> |
|
451 <signal>accepted()</signal> |
|
452 <receiver>VirtualenvConfigurationDialog</receiver> |
|
453 <slot>accept()</slot> |
|
454 <hints> |
|
455 <hint type="sourcelabel"> |
|
456 <x>248</x> |
|
457 <y>254</y> |
|
458 </hint> |
|
459 <hint type="destinationlabel"> |
|
460 <x>157</x> |
|
461 <y>274</y> |
|
462 </hint> |
|
463 </hints> |
|
464 </connection> |
|
465 <connection> |
|
466 <sender>buttonBox</sender> |
|
467 <signal>rejected()</signal> |
|
468 <receiver>VirtualenvConfigurationDialog</receiver> |
|
469 <slot>reject()</slot> |
|
470 <hints> |
|
471 <hint type="sourcelabel"> |
|
472 <x>316</x> |
|
473 <y>260</y> |
|
474 </hint> |
|
475 <hint type="destinationlabel"> |
|
476 <x>286</x> |
|
477 <y>274</y> |
|
478 </hint> |
|
479 </hints> |
|
480 </connection> |
|
481 </connections> |
|
482 </ui> |