PyInstaller/PyInstallerConfigDialog.ui

branch
eric7
changeset 38
fc9ef9dcd51a
parent 37
9ecfea29a47c
child 39
5b34af15d930
equal deleted inserted replaced
37:9ecfea29a47c 38:fc9ef9dcd51a
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>&amp;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>&amp;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="sizePolicy">
202 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
203 <horstretch>0</horstretch>
204 <verstretch>0</verstretch>
205 </sizepolicy>
206 </property>
207 <property name="focusPolicy">
208 <enum>Qt::StrongFocus</enum>
209 </property>
210 <property name="toolTip">
211 <string/>
212 </property>
213 </widget>
214 </item>
215 <item row="1" column="0">
216 <widget class="QLabel" name="label_4">
217 <property name="text">
218 <string>Icon ID:</string>
219 </property>
220 </widget>
221 </item>
222 <item row="1" column="1">
223 <widget class="E5ClearableLineEdit" name="iconIdEdit">
224 <property name="enabled">
225 <bool>false</bool>
226 </property>
227 <property name="toolTip">
228 <string>Enter the icon ID to be extracted from the exe file</string>
229 </property>
230 </widget>
231 </item>
232 </layout>
233 </widget>
234 </item>
235 <item>
236 <spacer name="verticalSpacer">
237 <property name="orientation">
238 <enum>Qt::Vertical</enum>
239 </property>
240 <property name="sizeHint" stdset="0">
241 <size>
242 <width>20</width>
243 <height>156</height>
244 </size>
245 </property>
246 </spacer>
247 </item>
248 </layout>
249 </widget>
250 <widget class="QWidget" name="macTab">
251 <attribute name="title">
252 <string>&amp;macOS Specific</string>
253 </attribute>
254 <layout class="QVBoxLayout" name="verticalLayout_4">
255 <item>
256 <layout class="QHBoxLayout" name="horizontalLayout_4">
257 <item>
258 <widget class="QLabel" name="label_5">
259 <property name="text">
260 <string>Bundle Identifier:</string>
261 </property>
262 </widget>
263 </item>
264 <item>
265 <widget class="E5ClearableLineEdit" name="bundleIdentifierEdit">
266 <property name="toolTip">
267 <string>Enter the macOS app bundle identifier</string>
268 </property>
269 </widget>
270 </item>
271 </layout>
272 </item>
273 <item>
274 <spacer name="verticalSpacer_2">
275 <property name="orientation">
276 <enum>Qt::Vertical</enum>
277 </property>
278 <property name="sizeHint" stdset="0">
279 <size>
280 <width>20</width>
281 <height>298</height>
282 </size>
283 </property>
284 </spacer>
285 </item>
286 </layout>
287 </widget>
288 </widget>
289 </item>
290 <item>
291 <widget class="QDialogButtonBox" name="buttonBox">
292 <property name="orientation">
293 <enum>Qt::Horizontal</enum>
294 </property>
295 <property name="standardButtons">
296 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
297 </property>
298 </widget>
299 </item>
300 </layout>
301 </widget>
302 <customwidgets>
303 <customwidget>
304 <class>E5PathPicker</class>
305 <extends>QWidget</extends>
306 <header>E5Gui/E5PathPicker.h</header>
307 <container>1</container>
308 </customwidget>
309 <customwidget>
310 <class>E5ClearableLineEdit</class>
311 <extends>QLineEdit</extends>
312 <header>E5Gui/E5LineEdit.h</header>
313 </customwidget>
314 </customwidgets>
315 <tabstops>
316 <tabstop>tabWidget</tabstop>
317 <tabstop>executableCombo</tabstop>
318 <tabstop>mainScriptButton</tabstop>
319 <tabstop>selectedScriptButton</tabstop>
320 <tabstop>inputFilePicker</tabstop>
321 <tabstop>oneDirButton</tabstop>
322 <tabstop>oneFileButton</tabstop>
323 <tabstop>nameEdit</tabstop>
324 <tabstop>keyEdit</tabstop>
325 <tabstop>cleanCheckBox</tabstop>
326 <tabstop>consoleButton</tabstop>
327 <tabstop>windowedButton</tabstop>
328 <tabstop>iconFilePicker</tabstop>
329 <tabstop>iconIdEdit</tabstop>
330 <tabstop>bundleIdentifierEdit</tabstop>
331 </tabstops>
332 <resources/>
333 <connections>
334 <connection>
335 <sender>buttonBox</sender>
336 <signal>accepted()</signal>
337 <receiver>PyInstallerConfigDialog</receiver>
338 <slot>accept()</slot>
339 <hints>
340 <hint type="sourcelabel">
341 <x>227</x>
342 <y>379</y>
343 </hint>
344 <hint type="destinationlabel">
345 <x>157</x>
346 <y>274</y>
347 </hint>
348 </hints>
349 </connection>
350 <connection>
351 <sender>buttonBox</sender>
352 <signal>rejected()</signal>
353 <receiver>PyInstallerConfigDialog</receiver>
354 <slot>reject()</slot>
355 <hints>
356 <hint type="sourcelabel">
357 <x>295</x>
358 <y>385</y>
359 </hint>
360 <hint type="destinationlabel">
361 <x>286</x>
362 <y>274</y>
363 </hint>
364 </hints>
365 </connection>
366 <connection>
367 <sender>selectedScriptButton</sender>
368 <signal>toggled(bool)</signal>
369 <receiver>inputFilePicker</receiver>
370 <slot>setEnabled(bool)</slot>
371 <hints>
372 <hint type="sourcelabel">
373 <x>119</x>
374 <y>116</y>
375 </hint>
376 <hint type="destinationlabel">
377 <x>124</x>
378 <y>150</y>
379 </hint>
380 </hints>
381 </connection>
382 </connections>
383 </ui>

eric ide

mercurial