src/eric7/MicroPython/Devices/EspDialogs/EspFirmwareSelectionDialog.ui

branch
eric7
changeset 9762
333374cf3a18
parent 9751
606ac0e26533
child 9820
67597e003373
equal deleted inserted replaced
9761:296b0223716b 9762:333374cf3a18
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>228</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="3" column="0">
23 <widget class="QLabel" name="label_5">
24 <property name="text">
25 <string>Baud Rate:</string>
26 </property>
27 </widget>
28 </item>
29 <item row="4" column="2">
30 <widget class="QLabel" name="label_4">
31 <property name="text">
32 <string>Leave empty to use the default mode.</string>
33 </property>
34 </widget>
35 </item>
36 <item row="5" column="0">
37 <widget class="QLabel" name="addressLabel">
38 <property name="text">
39 <string>Address:</string>
40 </property>
41 </widget>
42 </item>
43 <item row="5" column="1" colspan="2">
44 <widget class="QLineEdit" name="addressEdit">
45 <property name="toolTip">
46 <string>Enter the flash addres in the hexadecimal form</string>
47 </property>
48 <property name="maxLength">
49 <number>7</number>
50 </property>
51 <property name="clearButtonEnabled">
52 <bool>true</bool>
53 </property>
54 </widget>
55 </item>
56 <item row="4" column="1">
57 <widget class="QComboBox" name="modeComboBox">
58 <property name="toolTip">
59 <string>Select the flash mode</string>
60 </property>
61 </widget>
62 </item>
63 <item row="4" column="0">
64 <widget class="QLabel" name="label_3">
65 <property name="toolTip">
66 <string/>
67 </property>
68 <property name="text">
69 <string>Flash Mode:</string>
70 </property>
71 </widget>
72 </item>
73 <item row="1" column="0">
74 <widget class="QLabel" name="label_2">
75 <property name="text">
76 <string>Firmware:</string>
77 </property>
78 </widget>
79 </item>
80 <item row="3" column="2">
81 <spacer name="horizontalSpacer_2">
82 <property name="orientation">
83 <enum>Qt::Horizontal</enum>
84 </property>
85 <property name="sizeHint" stdset="0">
86 <size>
87 <width>298</width>
88 <height>20</height>
89 </size>
90 </property>
91 </spacer>
92 </item>
93 <item row="0" column="1">
94 <widget class="QComboBox" name="espComboBox">
95 <property name="toolTip">
96 <string>Select the ESP chip type</string>
97 </property>
98 <property name="sizeAdjustPolicy">
99 <enum>QComboBox::AdjustToContents</enum>
100 </property>
101 </widget>
102 </item>
103 <item row="3" column="1">
104 <widget class="QComboBox" name="baudRateComboBox">
105 <property name="toolTip">
106 <string>Select the baud rate to be used for flashing (default: 115.200 bps)</string>
107 </property>
108 </widget>
109 </item>
110 <item row="1" column="1" colspan="2">
111 <widget class="EricPathPicker" name="firmwarePicker" native="true">
112 <property name="sizePolicy">
113 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
114 <horstretch>0</horstretch>
115 <verstretch>0</verstretch>
116 </sizepolicy>
117 </property>
118 <property name="focusPolicy">
119 <enum>Qt::WheelFocus</enum>
120 </property>
121 <property name="toolTip">
122 <string>Enter the path of the firmware file</string>
123 </property>
124 </widget>
125 </item>
126 <item row="0" column="0">
127 <widget class="QLabel" name="label">
128 <property name="text">
129 <string>ESP Chip Type:</string>
130 </property>
131 </widget>
132 </item>
133 <item row="0" column="2">
134 <spacer name="horizontalSpacer">
135 <property name="orientation">
136 <enum>Qt::Horizontal</enum>
137 </property>
138 <property name="sizeHint" stdset="0">
139 <size>
140 <width>318</width>
141 <height>20</height>
142 </size>
143 </property>
144 </spacer>
145 </item>
146 <item row="2" column="0" colspan="3">
147 <widget class="QCheckBox" name="cpyCheckBox">
148 <property name="toolTip">
149 <string>Check this, if the firware to be loaded is CircuitPython (changes the flash address for some chips).</string>
150 </property>
151 <property name="text">
152 <string>Firmware is CircuitPython</string>
153 </property>
154 </widget>
155 </item>
156 </layout>
157 </item>
158 <item>
159 <widget class="QDialogButtonBox" name="buttonBox">
160 <property name="orientation">
161 <enum>Qt::Horizontal</enum>
162 </property>
163 <property name="standardButtons">
164 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
165 </property>
166 </widget>
167 </item>
168 </layout>
169 </widget>
170 <customwidgets>
171 <customwidget>
172 <class>EricPathPicker</class>
173 <extends>QWidget</extends>
174 <header>eric7/EricWidgets/EricPathPicker.h</header>
175 <container>1</container>
176 </customwidget>
177 </customwidgets>
178 <tabstops>
179 <tabstop>espComboBox</tabstop>
180 <tabstop>firmwarePicker</tabstop>
181 <tabstop>cpyCheckBox</tabstop>
182 <tabstop>baudRateComboBox</tabstop>
183 <tabstop>modeComboBox</tabstop>
184 <tabstop>addressEdit</tabstop>
185 </tabstops>
186 <resources/>
187 <connections>
188 <connection>
189 <sender>buttonBox</sender>
190 <signal>accepted()</signal>
191 <receiver>EspFirmwareSelectionDialog</receiver>
192 <slot>accept()</slot>
193 <hints>
194 <hint type="sourcelabel">
195 <x>248</x>
196 <y>254</y>
197 </hint>
198 <hint type="destinationlabel">
199 <x>157</x>
200 <y>274</y>
201 </hint>
202 </hints>
203 </connection>
204 <connection>
205 <sender>buttonBox</sender>
206 <signal>rejected()</signal>
207 <receiver>EspFirmwareSelectionDialog</receiver>
208 <slot>reject()</slot>
209 <hints>
210 <hint type="sourcelabel">
211 <x>316</x>
212 <y>260</y>
213 </hint>
214 <hint type="destinationlabel">
215 <x>286</x>
216 <y>274</y>
217 </hint>
218 </hints>
219 </connection>
220 </connections>
221 </ui>

eric ide

mercurial