|
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>114</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>40</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="addressLabel"> |
|
71 <property name="text"> |
|
72 <string>Address:</string> |
|
73 </property> |
|
74 </widget> |
|
75 </item> |
|
76 <item row="2" column="1" colspan="2"> |
|
77 <widget class="E5ClearableLineEdit" name="addressEdit"> |
|
78 <property name="toolTip"> |
|
79 <string>Enter the flash addres in the hexadecimal form</string> |
|
80 </property> |
|
81 <property name="maxLength"> |
|
82 <number>4</number> |
|
83 </property> |
|
84 </widget> |
|
85 </item> |
|
86 </layout> |
|
87 </item> |
|
88 <item> |
|
89 <widget class="QDialogButtonBox" name="buttonBox"> |
|
90 <property name="orientation"> |
|
91 <enum>Qt::Horizontal</enum> |
|
92 </property> |
|
93 <property name="standardButtons"> |
|
94 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 </layout> |
|
99 </widget> |
|
100 <customwidgets> |
|
101 <customwidget> |
|
102 <class>E5PathPicker</class> |
|
103 <extends>QWidget</extends> |
|
104 <header>E5Gui/E5PathPicker.h</header> |
|
105 <container>1</container> |
|
106 </customwidget> |
|
107 <customwidget> |
|
108 <class>E5ClearableLineEdit</class> |
|
109 <extends>QLineEdit</extends> |
|
110 <header>E5Gui/E5LineEdit.h</header> |
|
111 </customwidget> |
|
112 </customwidgets> |
|
113 <tabstops> |
|
114 <tabstop>espComboBox</tabstop> |
|
115 <tabstop>firmwarePicker</tabstop> |
|
116 <tabstop>addressEdit</tabstop> |
|
117 </tabstops> |
|
118 <resources/> |
|
119 <connections> |
|
120 <connection> |
|
121 <sender>buttonBox</sender> |
|
122 <signal>accepted()</signal> |
|
123 <receiver>EspFirmwareSelectionDialog</receiver> |
|
124 <slot>accept()</slot> |
|
125 <hints> |
|
126 <hint type="sourcelabel"> |
|
127 <x>248</x> |
|
128 <y>254</y> |
|
129 </hint> |
|
130 <hint type="destinationlabel"> |
|
131 <x>157</x> |
|
132 <y>274</y> |
|
133 </hint> |
|
134 </hints> |
|
135 </connection> |
|
136 <connection> |
|
137 <sender>buttonBox</sender> |
|
138 <signal>rejected()</signal> |
|
139 <receiver>EspFirmwareSelectionDialog</receiver> |
|
140 <slot>reject()</slot> |
|
141 <hints> |
|
142 <hint type="sourcelabel"> |
|
143 <x>316</x> |
|
144 <y>260</y> |
|
145 </hint> |
|
146 <hint type="destinationlabel"> |
|
147 <x>286</x> |
|
148 <y>274</y> |
|
149 </hint> |
|
150 </hints> |
|
151 </connection> |
|
152 </connections> |
|
153 </ui> |