|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>PyInstallerConfigDialog</class> |
|
4 <widget class="QDialog" name="PyInstallerConfigDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>435</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>PyInstaller 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="QTabWidget" name="tabWidget"> |
|
22 <property name="currentIndex"> |
|
23 <number>0</number> |
|
24 </property> |
|
25 <widget class="QWidget" name="generalTab"> |
|
26 <attribute name="title"> |
|
27 <string>&General</string> |
|
28 </attribute> |
|
29 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
30 <item> |
|
31 <widget class="QGroupBox" name="groupBox_2"> |
|
32 <property name="title"> |
|
33 <string>Executable</string> |
|
34 </property> |
|
35 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
36 <item> |
|
37 <widget class="QComboBox" name="executableCombo"> |
|
38 <property name="toolTip"> |
|
39 <string>Select the executable to be run</string> |
|
40 </property> |
|
41 </widget> |
|
42 </item> |
|
43 </layout> |
|
44 </widget> |
|
45 </item> |
|
46 <item> |
|
47 <widget class="QGroupBox" name="groupBox"> |
|
48 <property name="title"> |
|
49 <string>Input File</string> |
|
50 </property> |
|
51 <layout class="QGridLayout" name="gridLayout"> |
|
52 <item row="0" column="0"> |
|
53 <widget class="QRadioButton" name="mainScriptButton"> |
|
54 <property name="text"> |
|
55 <string>Project Main Script</string> |
|
56 </property> |
|
57 <property name="checked"> |
|
58 <bool>true</bool> |
|
59 </property> |
|
60 </widget> |
|
61 </item> |
|
62 <item row="0" column="1"> |
|
63 <widget class="QRadioButton" name="selectedScriptButton"> |
|
64 <property name="text"> |
|
65 <string>Script or Spec File</string> |
|
66 </property> |
|
67 </widget> |
|
68 </item> |
|
69 <item row="1" column="0" colspan="2"> |
|
70 <widget class="E5PathPicker" name="inputFilePicker" native="true"> |
|
71 <property name="enabled"> |
|
72 <bool>false</bool> |
|
73 </property> |
|
74 <property name="focusPolicy"> |
|
75 <enum>Qt::StrongFocus</enum> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 </layout> |
|
80 </widget> |
|
81 </item> |
|
82 <item> |
|
83 <widget class="QGroupBox" name="groupBox_3"> |
|
84 <property name="title"> |
|
85 <string>Generate Option</string> |
|
86 </property> |
|
87 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
88 <item> |
|
89 <widget class="QRadioButton" name="oneDirButton"> |
|
90 <property name="text"> |
|
91 <string>One Directory</string> |
|
92 </property> |
|
93 <property name="checked"> |
|
94 <bool>true</bool> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item> |
|
99 <widget class="QRadioButton" name="oneFileButton"> |
|
100 <property name="text"> |
|
101 <string>One File</string> |
|
102 </property> |
|
103 </widget> |
|
104 </item> |
|
105 </layout> |
|
106 </widget> |
|
107 </item> |
|
108 <item> |
|
109 <layout class="QGridLayout" name="gridLayout_2"> |
|
110 <item row="0" column="0"> |
|
111 <widget class="QLabel" name="label"> |
|
112 <property name="text"> |
|
113 <string>Name (optional):</string> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item row="0" column="1"> |
|
118 <widget class="E5ClearableLineEdit" name="nameEdit"> |
|
119 <property name="toolTip"> |
|
120 <string>Enter an optional name for the application</string> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item row="1" column="0"> |
|
125 <widget class="QLabel" name="label_2"> |
|
126 <property name="text"> |
|
127 <string>Encryption Key (optional):</string> |
|
128 </property> |
|
129 </widget> |
|
130 </item> |
|
131 <item row="1" column="1"> |
|
132 <widget class="E5ClearableLineEdit" name="keyEdit"> |
|
133 <property name="toolTip"> |
|
134 <string>Enter an optional key used to encrypt Python bytecode</string> |
|
135 </property> |
|
136 </widget> |
|
137 </item> |
|
138 </layout> |
|
139 </item> |
|
140 <item> |
|
141 <widget class="QCheckBox" name="cleanCheckBox"> |
|
142 <property name="text"> |
|
143 <string>Clean Before Building</string> |
|
144 </property> |
|
145 </widget> |
|
146 </item> |
|
147 </layout> |
|
148 </widget> |
|
149 <widget class="QWidget" name="windowsMacTab"> |
|
150 <attribute name="title"> |
|
151 <string>&Windows and macOS</string> |
|
152 </attribute> |
|
153 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
154 <item> |
|
155 <widget class="QGroupBox" name="groupBox_4"> |
|
156 <property name="title"> |
|
157 <string>Application Mode</string> |
|
158 </property> |
|
159 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
160 <item> |
|
161 <widget class="QRadioButton" name="consoleButton"> |
|
162 <property name="toolTip"> |
|
163 <string>Select for a console application</string> |
|
164 </property> |
|
165 <property name="text"> |
|
166 <string>Console Application</string> |
|
167 </property> |
|
168 <property name="checked"> |
|
169 <bool>true</bool> |
|
170 </property> |
|
171 </widget> |
|
172 </item> |
|
173 <item> |
|
174 <widget class="QRadioButton" name="windowedButton"> |
|
175 <property name="toolTip"> |
|
176 <string>Select for a windowed application (i.e. do not open a console window)</string> |
|
177 </property> |
|
178 <property name="text"> |
|
179 <string>Windowed Application</string> |
|
180 </property> |
|
181 </widget> |
|
182 </item> |
|
183 </layout> |
|
184 </widget> |
|
185 </item> |
|
186 <item> |
|
187 <widget class="QGroupBox" name="groupBox_5"> |
|
188 <property name="title"> |
|
189 <string>Icon</string> |
|
190 </property> |
|
191 <layout class="QGridLayout" name="gridLayout_3"> |
|
192 <item row="0" column="0"> |
|
193 <widget class="QLabel" name="label_3"> |
|
194 <property name="text"> |
|
195 <string>Icon File:</string> |
|
196 </property> |
|
197 </widget> |
|
198 </item> |
|
199 <item row="0" column="1"> |
|
200 <widget class="E5PathPicker" name="iconFilePicker" native="true"> |
|
201 <property name="enabled"> |
|
202 <bool>false</bool> |
|
203 </property> |
|
204 <property name="sizePolicy"> |
|
205 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
206 <horstretch>0</horstretch> |
|
207 <verstretch>0</verstretch> |
|
208 </sizepolicy> |
|
209 </property> |
|
210 <property name="focusPolicy"> |
|
211 <enum>Qt::StrongFocus</enum> |
|
212 </property> |
|
213 <property name="toolTip"> |
|
214 <string/> |
|
215 </property> |
|
216 </widget> |
|
217 </item> |
|
218 <item row="1" column="0"> |
|
219 <widget class="QLabel" name="label_4"> |
|
220 <property name="text"> |
|
221 <string>Icon ID:</string> |
|
222 </property> |
|
223 </widget> |
|
224 </item> |
|
225 <item row="1" column="1"> |
|
226 <widget class="E5ClearableLineEdit" name="iconIdEdit"> |
|
227 <property name="enabled"> |
|
228 <bool>false</bool> |
|
229 </property> |
|
230 <property name="toolTip"> |
|
231 <string>Enter the icon ID to be extracted from the exe file</string> |
|
232 </property> |
|
233 </widget> |
|
234 </item> |
|
235 </layout> |
|
236 </widget> |
|
237 </item> |
|
238 <item> |
|
239 <spacer name="verticalSpacer"> |
|
240 <property name="orientation"> |
|
241 <enum>Qt::Vertical</enum> |
|
242 </property> |
|
243 <property name="sizeHint" stdset="0"> |
|
244 <size> |
|
245 <width>20</width> |
|
246 <height>156</height> |
|
247 </size> |
|
248 </property> |
|
249 </spacer> |
|
250 </item> |
|
251 </layout> |
|
252 </widget> |
|
253 <widget class="QWidget" name="macTab"> |
|
254 <attribute name="title"> |
|
255 <string>&macOS Specific</string> |
|
256 </attribute> |
|
257 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
258 <item> |
|
259 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
260 <item> |
|
261 <widget class="QLabel" name="label_5"> |
|
262 <property name="text"> |
|
263 <string>Bundle Identifier:</string> |
|
264 </property> |
|
265 </widget> |
|
266 </item> |
|
267 <item> |
|
268 <widget class="E5ClearableLineEdit" name="BundleIdentifierEdit"> |
|
269 <property name="toolTip"> |
|
270 <string>Enter the macOS app bundle identifier</string> |
|
271 </property> |
|
272 </widget> |
|
273 </item> |
|
274 </layout> |
|
275 </item> |
|
276 <item> |
|
277 <spacer name="verticalSpacer_2"> |
|
278 <property name="orientation"> |
|
279 <enum>Qt::Vertical</enum> |
|
280 </property> |
|
281 <property name="sizeHint" stdset="0"> |
|
282 <size> |
|
283 <width>20</width> |
|
284 <height>298</height> |
|
285 </size> |
|
286 </property> |
|
287 </spacer> |
|
288 </item> |
|
289 </layout> |
|
290 </widget> |
|
291 </widget> |
|
292 </item> |
|
293 <item> |
|
294 <widget class="QDialogButtonBox" name="buttonBox"> |
|
295 <property name="orientation"> |
|
296 <enum>Qt::Horizontal</enum> |
|
297 </property> |
|
298 <property name="standardButtons"> |
|
299 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
300 </property> |
|
301 </widget> |
|
302 </item> |
|
303 </layout> |
|
304 </widget> |
|
305 <customwidgets> |
|
306 <customwidget> |
|
307 <class>E5PathPicker</class> |
|
308 <extends>QWidget</extends> |
|
309 <header>E5Gui/E5PathPicker.h</header> |
|
310 <container>1</container> |
|
311 </customwidget> |
|
312 <customwidget> |
|
313 <class>E5ClearableLineEdit</class> |
|
314 <extends>QLineEdit</extends> |
|
315 <header>E5Gui/E5LineEdit.h</header> |
|
316 </customwidget> |
|
317 </customwidgets> |
|
318 <tabstops> |
|
319 <tabstop>tabWidget</tabstop> |
|
320 <tabstop>executableCombo</tabstop> |
|
321 <tabstop>mainScriptButton</tabstop> |
|
322 <tabstop>selectedScriptButton</tabstop> |
|
323 <tabstop>inputFilePicker</tabstop> |
|
324 <tabstop>oneDirButton</tabstop> |
|
325 <tabstop>oneFileButton</tabstop> |
|
326 <tabstop>nameEdit</tabstop> |
|
327 <tabstop>keyEdit</tabstop> |
|
328 <tabstop>cleanCheckBox</tabstop> |
|
329 <tabstop>consoleButton</tabstop> |
|
330 <tabstop>windowedButton</tabstop> |
|
331 <tabstop>iconFilePicker</tabstop> |
|
332 <tabstop>iconIdEdit</tabstop> |
|
333 <tabstop>BundleIdentifierEdit</tabstop> |
|
334 </tabstops> |
|
335 <resources/> |
|
336 <connections> |
|
337 <connection> |
|
338 <sender>buttonBox</sender> |
|
339 <signal>accepted()</signal> |
|
340 <receiver>PyInstallerConfigDialog</receiver> |
|
341 <slot>accept()</slot> |
|
342 <hints> |
|
343 <hint type="sourcelabel"> |
|
344 <x>227</x> |
|
345 <y>379</y> |
|
346 </hint> |
|
347 <hint type="destinationlabel"> |
|
348 <x>157</x> |
|
349 <y>274</y> |
|
350 </hint> |
|
351 </hints> |
|
352 </connection> |
|
353 <connection> |
|
354 <sender>buttonBox</sender> |
|
355 <signal>rejected()</signal> |
|
356 <receiver>PyInstallerConfigDialog</receiver> |
|
357 <slot>reject()</slot> |
|
358 <hints> |
|
359 <hint type="sourcelabel"> |
|
360 <x>295</x> |
|
361 <y>385</y> |
|
362 </hint> |
|
363 <hint type="destinationlabel"> |
|
364 <x>286</x> |
|
365 <y>274</y> |
|
366 </hint> |
|
367 </hints> |
|
368 </connection> |
|
369 <connection> |
|
370 <sender>selectedScriptButton</sender> |
|
371 <signal>toggled(bool)</signal> |
|
372 <receiver>inputFilePicker</receiver> |
|
373 <slot>setEnabled(bool)</slot> |
|
374 <hints> |
|
375 <hint type="sourcelabel"> |
|
376 <x>119</x> |
|
377 <y>116</y> |
|
378 </hint> |
|
379 <hint type="destinationlabel"> |
|
380 <x>124</x> |
|
381 <y>150</y> |
|
382 </hint> |
|
383 </hints> |
|
384 </connection> |
|
385 </connections> |
|
386 </ui> |