|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>VirtualenvAddEditDialog</class> |
|
4 <widget class="QDialog" name="VirtualenvAddEditDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>700</width> |
|
10 <height>220</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="sizeGripEnabled"> |
|
14 <bool>true</bool> |
|
15 </property> |
|
16 <layout class="QGridLayout" name="gridLayout"> |
|
17 <item row="0" column="0"> |
|
18 <widget class="QLabel" name="label"> |
|
19 <property name="text"> |
|
20 <string>Logical Name:</string> |
|
21 </property> |
|
22 </widget> |
|
23 </item> |
|
24 <item row="0" column="1"> |
|
25 <widget class="E5ClearableLineEdit" name="nameEdit"> |
|
26 <property name="toolTip"> |
|
27 <string>Enter a unique name for the virtual environment</string> |
|
28 </property> |
|
29 </widget> |
|
30 </item> |
|
31 <item row="1" column="0"> |
|
32 <widget class="QLabel" name="label_2"> |
|
33 <property name="text"> |
|
34 <string>Directory:</string> |
|
35 </property> |
|
36 </widget> |
|
37 </item> |
|
38 <item row="1" column="1"> |
|
39 <widget class="E5PathPicker" name="targetDirectoryPicker" native="true"> |
|
40 <property name="sizePolicy"> |
|
41 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
42 <horstretch>0</horstretch> |
|
43 <verstretch>0</verstretch> |
|
44 </sizepolicy> |
|
45 </property> |
|
46 <property name="focusPolicy"> |
|
47 <enum>Qt::WheelFocus</enum> |
|
48 </property> |
|
49 <property name="toolTip"> |
|
50 <string>Enter the directory of the virtual environment</string> |
|
51 </property> |
|
52 </widget> |
|
53 </item> |
|
54 <item row="2" column="0"> |
|
55 <widget class="QLabel" name="label_3"> |
|
56 <property name="text"> |
|
57 <string>Python Interpreter:</string> |
|
58 </property> |
|
59 </widget> |
|
60 </item> |
|
61 <item row="2" column="1"> |
|
62 <widget class="E5PathPicker" name="pythonExecPicker" native="true"> |
|
63 <property name="sizePolicy"> |
|
64 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
65 <horstretch>0</horstretch> |
|
66 <verstretch>0</verstretch> |
|
67 </sizepolicy> |
|
68 </property> |
|
69 <property name="focusPolicy"> |
|
70 <enum>Qt::WheelFocus</enum> |
|
71 </property> |
|
72 <property name="toolTip"> |
|
73 <string>Enter the Python interpreter of the virtual environment</string> |
|
74 </property> |
|
75 </widget> |
|
76 </item> |
|
77 <item row="3" column="0"> |
|
78 <widget class="QLabel" name="label_4"> |
|
79 <property name="text"> |
|
80 <string>Python Variant:</string> |
|
81 </property> |
|
82 </widget> |
|
83 </item> |
|
84 <item row="3" column="1"> |
|
85 <widget class="QComboBox" name="variantComboBox"> |
|
86 <property name="toolTip"> |
|
87 <string>Select the Python variant</string> |
|
88 </property> |
|
89 <item> |
|
90 <property name="text"> |
|
91 <string notr="true">Python 3</string> |
|
92 </property> |
|
93 </item> |
|
94 <item> |
|
95 <property name="text"> |
|
96 <string notr="true">Python 2</string> |
|
97 </property> |
|
98 </item> |
|
99 </widget> |
|
100 </item> |
|
101 <item row="4" column="0" colspan="2"> |
|
102 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
103 <item> |
|
104 <widget class="QCheckBox" name="globalCheckBox"> |
|
105 <property name="toolTip"> |
|
106 <string>Select,if this is a global environment (i.e. no virtual environment directory to be given)</string> |
|
107 </property> |
|
108 <property name="whatsThis"> |
|
109 <string><b>Global Environment</b> |
|
110 <p>Setting this indicates, that the environment is defined globally, i.e. not user specific. Usually such environments cannot be deleted by a standard user. The respective button of the Virtual Environment Manager dialog will be disabled for these entries.</p></string> |
|
111 </property> |
|
112 <property name="text"> |
|
113 <string>Global Environment</string> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item> |
|
118 <widget class="QCheckBox" name="anacondaCheckBox"> |
|
119 <property name="toolTip"> |
|
120 <string>Select, if this is a Conda environment</string> |
|
121 </property> |
|
122 <property name="text"> |
|
123 <string>Conda Environment</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item> |
|
128 <widget class="QCheckBox" name="remoteCheckBox"> |
|
129 <property name="toolTip"> |
|
130 <string>Select, if this is a remotely accessed environment</string> |
|
131 </property> |
|
132 <property name="text"> |
|
133 <string>Remote Environment</string> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 <item> |
|
138 <spacer name="horizontalSpacer"> |
|
139 <property name="orientation"> |
|
140 <enum>Qt::Horizontal</enum> |
|
141 </property> |
|
142 <property name="sizeHint" stdset="0"> |
|
143 <size> |
|
144 <width>40</width> |
|
145 <height>20</height> |
|
146 </size> |
|
147 </property> |
|
148 </spacer> |
|
149 </item> |
|
150 </layout> |
|
151 </item> |
|
152 <item row="5" column="0"> |
|
153 <widget class="QLabel" name="label_5"> |
|
154 <property name="text"> |
|
155 <string>PATH Prefix:</string> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 <item row="5" column="1"> |
|
160 <widget class="E5ClearableLineEdit" name="execPathEdit"/> |
|
161 </item> |
|
162 <item row="6" column="0" colspan="2"> |
|
163 <widget class="QDialogButtonBox" name="buttonBox"> |
|
164 <property name="orientation"> |
|
165 <enum>Qt::Horizontal</enum> |
|
166 </property> |
|
167 <property name="standardButtons"> |
|
168 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
169 </property> |
|
170 </widget> |
|
171 </item> |
|
172 </layout> |
|
173 </widget> |
|
174 <customwidgets> |
|
175 <customwidget> |
|
176 <class>E5PathPicker</class> |
|
177 <extends>QWidget</extends> |
|
178 <header>E5Gui/E5PathPicker.h</header> |
|
179 <container>1</container> |
|
180 </customwidget> |
|
181 <customwidget> |
|
182 <class>E5ClearableLineEdit</class> |
|
183 <extends>QLineEdit</extends> |
|
184 <header>E5Gui/E5LineEdit.h</header> |
|
185 </customwidget> |
|
186 </customwidgets> |
|
187 <tabstops> |
|
188 <tabstop>nameEdit</tabstop> |
|
189 <tabstop>targetDirectoryPicker</tabstop> |
|
190 <tabstop>pythonExecPicker</tabstop> |
|
191 <tabstop>variantComboBox</tabstop> |
|
192 <tabstop>globalCheckBox</tabstop> |
|
193 <tabstop>anacondaCheckBox</tabstop> |
|
194 <tabstop>remoteCheckBox</tabstop> |
|
195 <tabstop>execPathEdit</tabstop> |
|
196 </tabstops> |
|
197 <resources/> |
|
198 <connections> |
|
199 <connection> |
|
200 <sender>buttonBox</sender> |
|
201 <signal>accepted()</signal> |
|
202 <receiver>VirtualenvAddEditDialog</receiver> |
|
203 <slot>accept()</slot> |
|
204 <hints> |
|
205 <hint type="sourcelabel"> |
|
206 <x>248</x> |
|
207 <y>254</y> |
|
208 </hint> |
|
209 <hint type="destinationlabel"> |
|
210 <x>157</x> |
|
211 <y>274</y> |
|
212 </hint> |
|
213 </hints> |
|
214 </connection> |
|
215 <connection> |
|
216 <sender>buttonBox</sender> |
|
217 <signal>rejected()</signal> |
|
218 <receiver>VirtualenvAddEditDialog</receiver> |
|
219 <slot>reject()</slot> |
|
220 <hints> |
|
221 <hint type="sourcelabel"> |
|
222 <x>316</x> |
|
223 <y>260</y> |
|
224 </hint> |
|
225 <hint type="destinationlabel"> |
|
226 <x>286</x> |
|
227 <y>274</y> |
|
228 </hint> |
|
229 </hints> |
|
230 </connection> |
|
231 </connections> |
|
232 </ui> |