|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>UF2FlashDialog</class> |
|
4 <widget class="QDialog" name="UF2FlashDialog"> |
|
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>Flash UF2 Device</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
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>Detected Devices:</string> |
|
26 </property> |
|
27 </widget> |
|
28 </item> |
|
29 <item row="0" column="1"> |
|
30 <widget class="QComboBox" name="devicesComboBox"> |
|
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="toolTip"> |
|
38 <string>Select the device to be flashed</string> |
|
39 </property> |
|
40 </widget> |
|
41 </item> |
|
42 <item row="1" column="0"> |
|
43 <widget class="QLabel" name="label_3"> |
|
44 <property name="text"> |
|
45 <string>MicroPython:</string> |
|
46 </property> |
|
47 </widget> |
|
48 </item> |
|
49 <item row="1" column="1"> |
|
50 <widget class="EricPathPicker" name="firmwarePicker" native="true"> |
|
51 <property name="sizePolicy"> |
|
52 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
53 <horstretch>0</horstretch> |
|
54 <verstretch>0</verstretch> |
|
55 </sizepolicy> |
|
56 </property> |
|
57 <property name="focusPolicy"> |
|
58 <enum>Qt::WheelFocus</enum> |
|
59 </property> |
|
60 <property name="toolTip"> |
|
61 <string>Enter the path of the MicroPython / CircuitPython firmware file</string> |
|
62 </property> |
|
63 </widget> |
|
64 </item> |
|
65 <item row="2" column="0"> |
|
66 <widget class="QLabel" name="label_2"> |
|
67 <property name="text"> |
|
68 <string>'Boot' Path:</string> |
|
69 </property> |
|
70 </widget> |
|
71 </item> |
|
72 <item row="2" column="1"> |
|
73 <widget class="EricPathPicker" name="bootPicker" native="true"> |
|
74 <property name="sizePolicy"> |
|
75 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
76 <horstretch>0</horstretch> |
|
77 <verstretch>0</verstretch> |
|
78 </sizepolicy> |
|
79 </property> |
|
80 <property name="focusPolicy"> |
|
81 <enum>Qt::WheelFocus</enum> |
|
82 </property> |
|
83 <property name="toolTip"> |
|
84 <string>Enter the path of the bootloader volume</string> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 </layout> |
|
89 </item> |
|
90 <item> |
|
91 <widget class="QPushButton" name="flashButton"> |
|
92 <property name="text"> |
|
93 <string>Flash MicroPython / CircuitPython</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item> |
|
98 <widget class="QFrame" name="infoFrame"> |
|
99 <property name="frameShape"> |
|
100 <enum>QFrame::NoFrame</enum> |
|
101 </property> |
|
102 <property name="frameShadow"> |
|
103 <enum>QFrame::Raised</enum> |
|
104 </property> |
|
105 <layout class="QVBoxLayout" name="verticalLayout"> |
|
106 <property name="leftMargin"> |
|
107 <number>0</number> |
|
108 </property> |
|
109 <property name="topMargin"> |
|
110 <number>0</number> |
|
111 </property> |
|
112 <property name="rightMargin"> |
|
113 <number>0</number> |
|
114 </property> |
|
115 <property name="bottomMargin"> |
|
116 <number>0</number> |
|
117 </property> |
|
118 <item> |
|
119 <widget class="QLabel" name="infoLabel"> |
|
120 <property name="text"> |
|
121 <string/> |
|
122 </property> |
|
123 </widget> |
|
124 </item> |
|
125 <item> |
|
126 <widget class="QTextEdit" name="infoEdit"> |
|
127 <property name="readOnly"> |
|
128 <bool>false</bool> |
|
129 </property> |
|
130 </widget> |
|
131 </item> |
|
132 </layout> |
|
133 </widget> |
|
134 </item> |
|
135 <item> |
|
136 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
137 <item> |
|
138 <widget class="QPushButton" name="refreshButton"> |
|
139 <property name="text"> |
|
140 <string>Refresh</string> |
|
141 </property> |
|
142 </widget> |
|
143 </item> |
|
144 <item> |
|
145 <widget class="QDialogButtonBox" name="buttonBox"> |
|
146 <property name="orientation"> |
|
147 <enum>Qt::Horizontal</enum> |
|
148 </property> |
|
149 <property name="standardButtons"> |
|
150 <set>QDialogButtonBox::Close</set> |
|
151 </property> |
|
152 </widget> |
|
153 </item> |
|
154 </layout> |
|
155 </item> |
|
156 </layout> |
|
157 </widget> |
|
158 <customwidgets> |
|
159 <customwidget> |
|
160 <class>EricPathPicker</class> |
|
161 <extends>QWidget</extends> |
|
162 <header>EricWidgets/EricPathPicker.h</header> |
|
163 <container>1</container> |
|
164 </customwidget> |
|
165 </customwidgets> |
|
166 <tabstops> |
|
167 <tabstop>devicesComboBox</tabstop> |
|
168 <tabstop>firmwarePicker</tabstop> |
|
169 <tabstop>bootPicker</tabstop> |
|
170 <tabstop>flashButton</tabstop> |
|
171 <tabstop>infoEdit</tabstop> |
|
172 <tabstop>refreshButton</tabstop> |
|
173 </tabstops> |
|
174 <resources/> |
|
175 <connections> |
|
176 <connection> |
|
177 <sender>buttonBox</sender> |
|
178 <signal>accepted()</signal> |
|
179 <receiver>UF2FlashDialog</receiver> |
|
180 <slot>accept()</slot> |
|
181 <hints> |
|
182 <hint type="sourcelabel"> |
|
183 <x>480</x> |
|
184 <y>576</y> |
|
185 </hint> |
|
186 <hint type="destinationlabel"> |
|
187 <x>596</x> |
|
188 <y>523</y> |
|
189 </hint> |
|
190 </hints> |
|
191 </connection> |
|
192 <connection> |
|
193 <sender>buttonBox</sender> |
|
194 <signal>rejected()</signal> |
|
195 <receiver>UF2FlashDialog</receiver> |
|
196 <slot>reject()</slot> |
|
197 <hints> |
|
198 <hint type="sourcelabel"> |
|
199 <x>448</x> |
|
200 <y>578</y> |
|
201 </hint> |
|
202 <hint type="destinationlabel"> |
|
203 <x>598</x> |
|
204 <y>454</y> |
|
205 </hint> |
|
206 </hints> |
|
207 </connection> |
|
208 </connections> |
|
209 </ui> |