PyInstallerInterface/PyInstallerConfigDialog.ui

branch
eric7
changeset 38
fc9ef9dcd51a
parent 4
52f0572b5908
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="EricPathPicker" 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="QLineEdit" name="nameEdit">
119 <property name="toolTip">
120 <string>Enter an optional name for the application</string>
121 </property>
122 <property name="clearButtonEnabled">
123 <bool>true</bool>
124 </property>
125 </widget>
126 </item>
127 <item row="1" column="0">
128 <widget class="QLabel" name="label_2">
129 <property name="text">
130 <string>Encryption Key (optional):</string>
131 </property>
132 </widget>
133 </item>
134 <item row="1" column="1">
135 <widget class="QLineEdit" name="keyEdit">
136 <property name="toolTip">
137 <string>Enter an optional key used to encrypt Python bytecode</string>
138 </property>
139 <property name="clearButtonEnabled">
140 <bool>true</bool>
141 </property>
142 </widget>
143 </item>
144 </layout>
145 </item>
146 <item>
147 <widget class="QCheckBox" name="cleanCheckBox">
148 <property name="text">
149 <string>Clean Before Building</string>
150 </property>
151 </widget>
152 </item>
153 </layout>
154 </widget>
155 <widget class="QWidget" name="windowsMacTab">
156 <attribute name="title">
157 <string>&amp;Windows and macOS</string>
158 </attribute>
159 <layout class="QVBoxLayout" name="verticalLayout_3">
160 <item>
161 <widget class="QGroupBox" name="groupBox_4">
162 <property name="title">
163 <string>Application Mode</string>
164 </property>
165 <layout class="QHBoxLayout" name="horizontalLayout_3">
166 <item>
167 <widget class="QRadioButton" name="consoleButton">
168 <property name="toolTip">
169 <string>Select for a console application</string>
170 </property>
171 <property name="text">
172 <string>Console Application</string>
173 </property>
174 <property name="checked">
175 <bool>true</bool>
176 </property>
177 </widget>
178 </item>
179 <item>
180 <widget class="QRadioButton" name="windowedButton">
181 <property name="toolTip">
182 <string>Select for a windowed application (i.e. do not open a console window)</string>
183 </property>
184 <property name="text">
185 <string>Windowed Application</string>
186 </property>
187 </widget>
188 </item>
189 </layout>
190 </widget>
191 </item>
192 <item>
193 <widget class="QGroupBox" name="groupBox_5">
194 <property name="title">
195 <string>Icon</string>
196 </property>
197 <layout class="QGridLayout" name="gridLayout_3">
198 <item row="0" column="0">
199 <widget class="QLabel" name="label_3">
200 <property name="text">
201 <string>Icon File:</string>
202 </property>
203 </widget>
204 </item>
205 <item row="0" column="1">
206 <widget class="EricPathPicker" name="iconFilePicker" native="true">
207 <property name="sizePolicy">
208 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
209 <horstretch>0</horstretch>
210 <verstretch>0</verstretch>
211 </sizepolicy>
212 </property>
213 <property name="focusPolicy">
214 <enum>Qt::StrongFocus</enum>
215 </property>
216 <property name="toolTip">
217 <string/>
218 </property>
219 </widget>
220 </item>
221 <item row="1" column="0">
222 <widget class="QLabel" name="label_4">
223 <property name="text">
224 <string>Icon ID:</string>
225 </property>
226 </widget>
227 </item>
228 <item row="1" column="1">
229 <widget class="QLineEdit" name="iconIdEdit">
230 <property name="enabled">
231 <bool>false</bool>
232 </property>
233 <property name="toolTip">
234 <string>Enter the icon ID to be extracted from the exe file</string>
235 </property>
236 <property name="clearButtonEnabled">
237 <bool>true</bool>
238 </property>
239 </widget>
240 </item>
241 </layout>
242 </widget>
243 </item>
244 <item>
245 <spacer name="verticalSpacer">
246 <property name="orientation">
247 <enum>Qt::Vertical</enum>
248 </property>
249 <property name="sizeHint" stdset="0">
250 <size>
251 <width>20</width>
252 <height>156</height>
253 </size>
254 </property>
255 </spacer>
256 </item>
257 </layout>
258 </widget>
259 <widget class="QWidget" name="macTab">
260 <attribute name="title">
261 <string>&amp;macOS Specific</string>
262 </attribute>
263 <layout class="QVBoxLayout" name="verticalLayout_4">
264 <item>
265 <layout class="QHBoxLayout" name="horizontalLayout_4">
266 <item>
267 <widget class="QLabel" name="label_5">
268 <property name="text">
269 <string>Bundle Identifier:</string>
270 </property>
271 </widget>
272 </item>
273 <item>
274 <widget class="QLineEdit" name="bundleIdentifierEdit">
275 <property name="toolTip">
276 <string>Enter the macOS app bundle identifier</string>
277 </property>
278 <property name="clearButtonEnabled">
279 <bool>true</bool>
280 </property>
281 </widget>
282 </item>
283 </layout>
284 </item>
285 <item>
286 <spacer name="verticalSpacer_2">
287 <property name="orientation">
288 <enum>Qt::Vertical</enum>
289 </property>
290 <property name="sizeHint" stdset="0">
291 <size>
292 <width>20</width>
293 <height>298</height>
294 </size>
295 </property>
296 </spacer>
297 </item>
298 </layout>
299 </widget>
300 </widget>
301 </item>
302 <item>
303 <widget class="QDialogButtonBox" name="buttonBox">
304 <property name="orientation">
305 <enum>Qt::Horizontal</enum>
306 </property>
307 <property name="standardButtons">
308 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
309 </property>
310 </widget>
311 </item>
312 </layout>
313 </widget>
314 <customwidgets>
315 <customwidget>
316 <class>EricPathPicker</class>
317 <extends>QWidget</extends>
318 <header>EricWidgets/EricPathPicker.h</header>
319 <container>1</container>
320 </customwidget>
321 </customwidgets>
322 <tabstops>
323 <tabstop>tabWidget</tabstop>
324 <tabstop>executableCombo</tabstop>
325 <tabstop>mainScriptButton</tabstop>
326 <tabstop>selectedScriptButton</tabstop>
327 <tabstop>inputFilePicker</tabstop>
328 <tabstop>oneDirButton</tabstop>
329 <tabstop>oneFileButton</tabstop>
330 <tabstop>nameEdit</tabstop>
331 <tabstop>keyEdit</tabstop>
332 <tabstop>cleanCheckBox</tabstop>
333 <tabstop>consoleButton</tabstop>
334 <tabstop>windowedButton</tabstop>
335 <tabstop>iconFilePicker</tabstop>
336 <tabstop>iconIdEdit</tabstop>
337 <tabstop>bundleIdentifierEdit</tabstop>
338 </tabstops>
339 <resources/>
340 <connections>
341 <connection>
342 <sender>buttonBox</sender>
343 <signal>accepted()</signal>
344 <receiver>PyInstallerConfigDialog</receiver>
345 <slot>accept()</slot>
346 <hints>
347 <hint type="sourcelabel">
348 <x>227</x>
349 <y>379</y>
350 </hint>
351 <hint type="destinationlabel">
352 <x>157</x>
353 <y>274</y>
354 </hint>
355 </hints>
356 </connection>
357 <connection>
358 <sender>buttonBox</sender>
359 <signal>rejected()</signal>
360 <receiver>PyInstallerConfigDialog</receiver>
361 <slot>reject()</slot>
362 <hints>
363 <hint type="sourcelabel">
364 <x>295</x>
365 <y>385</y>
366 </hint>
367 <hint type="destinationlabel">
368 <x>286</x>
369 <y>274</y>
370 </hint>
371 </hints>
372 </connection>
373 <connection>
374 <sender>selectedScriptButton</sender>
375 <signal>toggled(bool)</signal>
376 <receiver>inputFilePicker</receiver>
377 <slot>setEnabled(bool)</slot>
378 <hints>
379 <hint type="sourcelabel">
380 <x>119</x>
381 <y>116</y>
382 </hint>
383 <hint type="destinationlabel">
384 <x>124</x>
385 <y>150</y>
386 </hint>
387 </hints>
388 </connection>
389 </connections>
390 </ui>

eric ide

mercurial