|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>EspFirmwareSelectionDialog</class> |
|
4 <widget class="QDialog" name="EspFirmwareSelectionDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>500</width> |
|
10 <height>198</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Flash MicroPython Firmware</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>ESP Chip Type:</string> |
|
26 </property> |
|
27 </widget> |
|
28 </item> |
|
29 <item row="0" column="1"> |
|
30 <widget class="QComboBox" name="espComboBox"> |
|
31 <property name="toolTip"> |
|
32 <string>Select the ESP chip type</string> |
|
33 </property> |
|
34 <property name="sizeAdjustPolicy"> |
|
35 <enum>QComboBox::AdjustToContents</enum> |
|
36 </property> |
|
37 </widget> |
|
38 </item> |
|
39 <item row="0" column="2"> |
|
40 <spacer name="horizontalSpacer"> |
|
41 <property name="orientation"> |
|
42 <enum>Qt::Horizontal</enum> |
|
43 </property> |
|
44 <property name="sizeHint" stdset="0"> |
|
45 <size> |
|
46 <width>318</width> |
|
47 <height>20</height> |
|
48 </size> |
|
49 </property> |
|
50 </spacer> |
|
51 </item> |
|
52 <item row="1" column="0"> |
|
53 <widget class="QLabel" name="label_2"> |
|
54 <property name="text"> |
|
55 <string>Firmware:</string> |
|
56 </property> |
|
57 </widget> |
|
58 </item> |
|
59 <item row="1" column="1" colspan="2"> |
|
60 <widget class="E5PathPicker" name="firmwarePicker" native="true"> |
|
61 <property name="focusPolicy"> |
|
62 <enum>Qt::WheelFocus</enum> |
|
63 </property> |
|
64 <property name="toolTip"> |
|
65 <string>Enter the path of the firmware file</string> |
|
66 </property> |
|
67 </widget> |
|
68 </item> |
|
69 <item row="2" column="0"> |
|
70 <widget class="QLabel" name="label_5"> |
|
71 <property name="text"> |
|
72 <string>Baud Rate:</string> |
|
73 </property> |
|
74 </widget> |
|
75 </item> |
|
76 <item row="2" column="1"> |
|
77 <widget class="QComboBox" name="baudRateComboBox"> |
|
78 <property name="toolTip"> |
|
79 <string>Select the baud rate to be used for flashing (default: 115.200 bps)</string> |
|
80 </property> |
|
81 </widget> |
|
82 </item> |
|
83 <item row="2" column="2"> |
|
84 <spacer name="horizontalSpacer_2"> |
|
85 <property name="orientation"> |
|
86 <enum>Qt::Horizontal</enum> |
|
87 </property> |
|
88 <property name="sizeHint" stdset="0"> |
|
89 <size> |
|
90 <width>298</width> |
|
91 <height>20</height> |
|
92 </size> |
|
93 </property> |
|
94 </spacer> |
|
95 </item> |
|
96 <item row="3" column="0"> |
|
97 <widget class="QLabel" name="label_3"> |
|
98 <property name="toolTip"> |
|
99 <string/> |
|
100 </property> |
|
101 <property name="text"> |
|
102 <string>Flash Mode:</string> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 <item row="3" column="1"> |
|
107 <widget class="QComboBox" name="modeComboBox"> |
|
108 <property name="toolTip"> |
|
109 <string>Select the flash mode</string> |
|
110 </property> |
|
111 </widget> |
|
112 </item> |
|
113 <item row="3" column="2"> |
|
114 <widget class="QLabel" name="label_4"> |
|
115 <property name="text"> |
|
116 <string>Leave empty to use the default mode.</string> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="4" column="0"> |
|
121 <widget class="QLabel" name="addressLabel"> |
|
122 <property name="text"> |
|
123 <string>Address:</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item row="4" column="1" colspan="2"> |
|
128 <widget class="E5ClearableLineEdit" name="addressEdit"> |
|
129 <property name="toolTip"> |
|
130 <string>Enter the flash addres in the hexadecimal form</string> |
|
131 </property> |
|
132 <property name="maxLength"> |
|
133 <number>4</number> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 </layout> |
|
138 </item> |
|
139 <item> |
|
140 <widget class="QDialogButtonBox" name="buttonBox"> |
|
141 <property name="orientation"> |
|
142 <enum>Qt::Horizontal</enum> |
|
143 </property> |
|
144 <property name="standardButtons"> |
|
145 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 </layout> |
|
150 </widget> |
|
151 <customwidgets> |
|
152 <customwidget> |
|
153 <class>E5PathPicker</class> |
|
154 <extends>QWidget</extends> |
|
155 <header>E5Gui/E5PathPicker.h</header> |
|
156 <container>1</container> |
|
157 </customwidget> |
|
158 <customwidget> |
|
159 <class>E5ClearableLineEdit</class> |
|
160 <extends>QLineEdit</extends> |
|
161 <header>E5Gui/E5LineEdit.h</header> |
|
162 </customwidget> |
|
163 </customwidgets> |
|
164 <tabstops> |
|
165 <tabstop>espComboBox</tabstop> |
|
166 <tabstop>firmwarePicker</tabstop> |
|
167 <tabstop>baudRateComboBox</tabstop> |
|
168 <tabstop>modeComboBox</tabstop> |
|
169 <tabstop>addressEdit</tabstop> |
|
170 </tabstops> |
|
171 <resources/> |
|
172 <connections> |
|
173 <connection> |
|
174 <sender>buttonBox</sender> |
|
175 <signal>accepted()</signal> |
|
176 <receiver>EspFirmwareSelectionDialog</receiver> |
|
177 <slot>accept()</slot> |
|
178 <hints> |
|
179 <hint type="sourcelabel"> |
|
180 <x>248</x> |
|
181 <y>254</y> |
|
182 </hint> |
|
183 <hint type="destinationlabel"> |
|
184 <x>157</x> |
|
185 <y>274</y> |
|
186 </hint> |
|
187 </hints> |
|
188 </connection> |
|
189 <connection> |
|
190 <sender>buttonBox</sender> |
|
191 <signal>rejected()</signal> |
|
192 <receiver>EspFirmwareSelectionDialog</receiver> |
|
193 <slot>reject()</slot> |
|
194 <hints> |
|
195 <hint type="sourcelabel"> |
|
196 <x>316</x> |
|
197 <y>260</y> |
|
198 </hint> |
|
199 <hint type="destinationlabel"> |
|
200 <x>286</x> |
|
201 <y>274</y> |
|
202 </hint> |
|
203 </hints> |
|
204 </connection> |
|
205 </connections> |
|
206 </ui> |