|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>ConvertToUF2Dialog</class> |
|
4 <widget class="QDialog" name="ConvertToUF2Dialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Convert To UF2</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <layout class="QGridLayout" name="gridLayout"> |
|
22 <item row="0" column="0"> |
|
23 <widget class="QLabel" name="label"> |
|
24 <property name="text"> |
|
25 <string>Firmware File:</string> |
|
26 </property> |
|
27 </widget> |
|
28 </item> |
|
29 <item row="0" column="1" colspan="2"> |
|
30 <widget class="EricPathPicker" name="firmwarePicker" native="true"> |
|
31 <property name="sizePolicy"> |
|
32 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
33 <horstretch>0</horstretch> |
|
34 <verstretch>0</verstretch> |
|
35 </sizepolicy> |
|
36 </property> |
|
37 <property name="focusPolicy"> |
|
38 <enum>Qt::WheelFocus</enum> |
|
39 </property> |
|
40 <property name="toolTip"> |
|
41 <string>Enter the path of the MicroPython firmware file to be converted.</string> |
|
42 </property> |
|
43 </widget> |
|
44 </item> |
|
45 <item row="1" column="0"> |
|
46 <widget class="QLabel" name="label_2"> |
|
47 <property name="text"> |
|
48 <string>Chip Family:</string> |
|
49 </property> |
|
50 </widget> |
|
51 </item> |
|
52 <item row="1" column="1" colspan="2"> |
|
53 <widget class="QComboBox" name="familiesComboBox"> |
|
54 <property name="toolTip"> |
|
55 <string>Select the chip family of the firmware file.</string> |
|
56 </property> |
|
57 </widget> |
|
58 </item> |
|
59 <item row="2" column="0"> |
|
60 <widget class="QLabel" name="label_3"> |
|
61 <property name="text"> |
|
62 <string>Base Address:</string> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 <item row="2" column="1"> |
|
67 <widget class="QLineEdit" name="addressEdit"> |
|
68 <property name="toolTip"> |
|
69 <string>Enter the base address for .bin firmware files or leave empty to use the default (0x2000).</string> |
|
70 </property> |
|
71 <property name="maxLength"> |
|
72 <number>4</number> |
|
73 </property> |
|
74 <property name="clearButtonEnabled"> |
|
75 <bool>true</bool> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 <item row="2" column="2"> |
|
80 <spacer name="horizontalSpacer"> |
|
81 <property name="orientation"> |
|
82 <enum>Qt::Horizontal</enum> |
|
83 </property> |
|
84 <property name="sizeHint" stdset="0"> |
|
85 <size> |
|
86 <width>338</width> |
|
87 <height>20</height> |
|
88 </size> |
|
89 </property> |
|
90 </spacer> |
|
91 </item> |
|
92 <item row="3" column="0" colspan="3"> |
|
93 <widget class="QPushButton" name="convertButton"> |
|
94 <property name="toolTip"> |
|
95 <string>Press to start the conversion process.</string> |
|
96 </property> |
|
97 <property name="text"> |
|
98 <string>Convert</string> |
|
99 </property> |
|
100 </widget> |
|
101 </item> |
|
102 </layout> |
|
103 </item> |
|
104 <item> |
|
105 <widget class="QTextEdit" name="outputEdit"> |
|
106 <property name="readOnly"> |
|
107 <bool>true</bool> |
|
108 </property> |
|
109 </widget> |
|
110 </item> |
|
111 <item> |
|
112 <widget class="QDialogButtonBox" name="buttonBox"> |
|
113 <property name="orientation"> |
|
114 <enum>Qt::Horizontal</enum> |
|
115 </property> |
|
116 <property name="standardButtons"> |
|
117 <set>QDialogButtonBox::Close</set> |
|
118 </property> |
|
119 </widget> |
|
120 </item> |
|
121 </layout> |
|
122 </widget> |
|
123 <customwidgets> |
|
124 <customwidget> |
|
125 <class>EricPathPicker</class> |
|
126 <extends>QWidget</extends> |
|
127 <header>eric7/EricWidgets/EricPathPicker.h</header> |
|
128 <container>1</container> |
|
129 </customwidget> |
|
130 </customwidgets> |
|
131 <tabstops> |
|
132 <tabstop>firmwarePicker</tabstop> |
|
133 <tabstop>familiesComboBox</tabstop> |
|
134 <tabstop>addressEdit</tabstop> |
|
135 <tabstop>convertButton</tabstop> |
|
136 <tabstop>outputEdit</tabstop> |
|
137 </tabstops> |
|
138 <resources/> |
|
139 <connections> |
|
140 <connection> |
|
141 <sender>buttonBox</sender> |
|
142 <signal>accepted()</signal> |
|
143 <receiver>ConvertToUF2Dialog</receiver> |
|
144 <slot>accept()</slot> |
|
145 <hints> |
|
146 <hint type="sourcelabel"> |
|
147 <x>248</x> |
|
148 <y>254</y> |
|
149 </hint> |
|
150 <hint type="destinationlabel"> |
|
151 <x>157</x> |
|
152 <y>274</y> |
|
153 </hint> |
|
154 </hints> |
|
155 </connection> |
|
156 <connection> |
|
157 <sender>buttonBox</sender> |
|
158 <signal>rejected()</signal> |
|
159 <receiver>ConvertToUF2Dialog</receiver> |
|
160 <slot>reject()</slot> |
|
161 <hints> |
|
162 <hint type="sourcelabel"> |
|
163 <x>316</x> |
|
164 <y>260</y> |
|
165 </hint> |
|
166 <hint type="destinationlabel"> |
|
167 <x>286</x> |
|
168 <y>274</y> |
|
169 </hint> |
|
170 </hints> |
|
171 </connection> |
|
172 </connections> |
|
173 </ui> |