|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>CircuitPythonFirmwareSelectionDialog</class> |
|
4 <widget class="QDialog" name="CircuitPythonFirmwareSelectionDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>500</width> |
|
10 <height>124</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Flash CircuitPython Firmware</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QGridLayout" name="gridLayout"> |
|
20 <item row="1" column="1"> |
|
21 <widget class="QComboBox" name="boardComboBox"> |
|
22 <property name="toolTip"> |
|
23 <string>Select the board type or 'Manual'</string> |
|
24 </property> |
|
25 <property name="sizeAdjustPolicy"> |
|
26 <enum>QComboBox::AdjustToContents</enum> |
|
27 </property> |
|
28 </widget> |
|
29 </item> |
|
30 <item row="0" column="1" colspan="3"> |
|
31 <widget class="E5PathPicker" name="firmwarePicker" native="true"> |
|
32 <property name="focusPolicy"> |
|
33 <enum>Qt::WheelFocus</enum> |
|
34 </property> |
|
35 <property name="toolTip"> |
|
36 <string>Enter the path of the CircuitPython firmware file</string> |
|
37 </property> |
|
38 </widget> |
|
39 </item> |
|
40 <item row="1" column="3"> |
|
41 <spacer name="horizontalSpacer"> |
|
42 <property name="orientation"> |
|
43 <enum>Qt::Horizontal</enum> |
|
44 </property> |
|
45 <property name="sizeHint" stdset="0"> |
|
46 <size> |
|
47 <width>339</width> |
|
48 <height>20</height> |
|
49 </size> |
|
50 </property> |
|
51 </spacer> |
|
52 </item> |
|
53 <item row="0" column="0"> |
|
54 <widget class="QLabel" name="label_3"> |
|
55 <property name="text"> |
|
56 <string>Firmware:</string> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="2" column="0"> |
|
61 <widget class="QLabel" name="label_2"> |
|
62 <property name="text"> |
|
63 <string>Boot Path:</string> |
|
64 </property> |
|
65 </widget> |
|
66 </item> |
|
67 <item row="1" column="0"> |
|
68 <widget class="QLabel" name="label"> |
|
69 <property name="text"> |
|
70 <string>Board Type:</string> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 <item row="2" column="1" colspan="3"> |
|
75 <widget class="E5PathPicker" name="bootPicker" native="true"> |
|
76 <property name="focusPolicy"> |
|
77 <enum>Qt::WheelFocus</enum> |
|
78 </property> |
|
79 <property name="toolTip"> |
|
80 <string>Enter the path to the device in bootloader mode</string> |
|
81 </property> |
|
82 </widget> |
|
83 </item> |
|
84 <item row="3" column="0" colspan="4"> |
|
85 <widget class="QDialogButtonBox" name="buttonBox"> |
|
86 <property name="orientation"> |
|
87 <enum>Qt::Horizontal</enum> |
|
88 </property> |
|
89 <property name="standardButtons"> |
|
90 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="1" column="2"> |
|
95 <widget class="QToolButton" name="retestButton"> |
|
96 <property name="enabled"> |
|
97 <bool>false</bool> |
|
98 </property> |
|
99 <property name="toolTip"> |
|
100 <string>Press to search the selected volume</string> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 </layout> |
|
105 </widget> |
|
106 <customwidgets> |
|
107 <customwidget> |
|
108 <class>E5PathPicker</class> |
|
109 <extends>QWidget</extends> |
|
110 <header>E5Gui/E5PathPicker.h</header> |
|
111 <container>1</container> |
|
112 </customwidget> |
|
113 </customwidgets> |
|
114 <tabstops> |
|
115 <tabstop>firmwarePicker</tabstop> |
|
116 <tabstop>boardComboBox</tabstop> |
|
117 <tabstop>retestButton</tabstop> |
|
118 <tabstop>bootPicker</tabstop> |
|
119 </tabstops> |
|
120 <resources/> |
|
121 <connections> |
|
122 <connection> |
|
123 <sender>buttonBox</sender> |
|
124 <signal>accepted()</signal> |
|
125 <receiver>CircuitPythonFirmwareSelectionDialog</receiver> |
|
126 <slot>accept()</slot> |
|
127 <hints> |
|
128 <hint type="sourcelabel"> |
|
129 <x>248</x> |
|
130 <y>254</y> |
|
131 </hint> |
|
132 <hint type="destinationlabel"> |
|
133 <x>157</x> |
|
134 <y>274</y> |
|
135 </hint> |
|
136 </hints> |
|
137 </connection> |
|
138 <connection> |
|
139 <sender>buttonBox</sender> |
|
140 <signal>rejected()</signal> |
|
141 <receiver>CircuitPythonFirmwareSelectionDialog</receiver> |
|
142 <slot>reject()</slot> |
|
143 <hints> |
|
144 <hint type="sourcelabel"> |
|
145 <x>316</x> |
|
146 <y>260</y> |
|
147 </hint> |
|
148 <hint type="destinationlabel"> |
|
149 <x>286</x> |
|
150 <y>274</y> |
|
151 </hint> |
|
152 </hints> |
|
153 </connection> |
|
154 </connections> |
|
155 </ui> |