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