OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / uploader / uploader.ui
blob0d68898afbfad95c61666b15a195aa3555a57288
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>UploaderWidget</class>
4 <widget class="QWidget" name="UploaderWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>812</width>
10 <height>523</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QScrollArea" name="scrollArea">
19 <property name="frameShape">
20 <enum>QFrame::NoFrame</enum>
21 </property>
22 <property name="widgetResizable">
23 <bool>true</bool>
24 </property>
25 <widget class="QWidget" name="scrollAreaWidgetContents">
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>778</width>
31 <height>615</height>
32 </rect>
33 </property>
34 <layout class="QVBoxLayout" name="verticalLayout_2">
35 <item>
36 <widget class="QFrame" name="buttonFrame">
37 <property name="frameShape">
38 <enum>QFrame::NoFrame</enum>
39 </property>
40 <property name="frameShadow">
41 <enum>QFrame::Raised</enum>
42 </property>
43 <property name="lineWidth">
44 <number>0</number>
45 </property>
46 <layout class="QVBoxLayout" name="verticalLayout_3">
47 <property name="spacing">
48 <number>0</number>
49 </property>
50 <property name="leftMargin">
51 <number>0</number>
52 </property>
53 <property name="topMargin">
54 <number>0</number>
55 </property>
56 <property name="rightMargin">
57 <number>0</number>
58 </property>
59 <property name="bottomMargin">
60 <number>0</number>
61 </property>
62 <item>
63 <layout class="QGridLayout" name="gridLayout">
64 <property name="leftMargin">
65 <number>0</number>
66 </property>
67 <property name="topMargin">
68 <number>0</number>
69 </property>
70 <property name="rightMargin">
71 <number>0</number>
72 </property>
73 <property name="spacing">
74 <number>6</number>
75 </property>
76 <item row="1" column="5" colspan="2">
77 <widget class="QPushButton" name="eraseBootButton">
78 <property name="enabled">
79 <bool>true</bool>
80 </property>
81 <property name="toolTip">
82 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reboot the board and clear its settings memory.&lt;/p&gt;&lt;p&gt; Useful if the board cannot boot properly.&lt;/p&gt;&lt;p&gt; Blue led starts blinking quick for 20-30 seconds than the board will start normally&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;If telemetry is not running, select the link using the dropdown&lt;/p&gt;&lt;p&gt;menu on the right.&lt;/p&gt;&lt;p&gt;PLEASE NOTE: Supported with bootloader versions 4.0 and later&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
83 </property>
84 <property name="text">
85 <string>Erase Settings</string>
86 </property>
87 </widget>
88 </item>
89 <item row="1" column="0">
90 <widget class="QPushButton" name="autoUpdateEraseButton">
91 <property name="enabled">
92 <bool>false</bool>
93 </property>
94 <property name="toolTip">
95 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Automatic firmware upgrade.&lt;/p&gt;&lt;p&gt;This &lt;span style=&quot; font-weight:600; color:#e21111;&quot;&gt;will erase ALL settings&lt;/span&gt; in the board. Please&lt;br/&gt;backup settings before using this if you want to&lt;br/&gt;be able to retain them.&lt;/p&gt;&lt;p&gt;This can be done with board already connected&lt;br/&gt;or by connecting board after button is clicked.&lt;br/&gt;Running upgrade with a connected board works &lt;br/&gt;for all boards &lt;span style=&quot; font-weight:600;&quot;&gt;except OPLink&lt;/span&gt; that needs to be &lt;br/&gt;connected after the button is clicked.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
96 </property>
97 <property name="text">
98 <string>Upgrade &amp;&amp; Erase</string>
99 </property>
100 </widget>
101 </item>
102 <item row="1" column="2">
103 <widget class="QPushButton" name="resetButton">
104 <property name="enabled">
105 <bool>false</bool>
106 </property>
107 <property name="toolTip">
108 <string>Reset the system.
109 (Only enabled if telemetry link is established, either
110 through serial or USB)</string>
111 </property>
112 <property name="text">
113 <string>Reset</string>
114 </property>
115 </widget>
116 </item>
117 <item row="1" column="3" colspan="2">
118 <widget class="QPushButton" name="safeBootButton">
119 <property name="enabled">
120 <bool>true</bool>
121 </property>
122 <property name="toolTip">
123 <string>Boots the system into safe mode (ie. default HwSettings).
124 Only useful if the system is halted
125 (mainboard blue LED blinking slowly, orange LED off)
127 If telemetry is not running, select the link using the dropdown
128 menu on the right.</string>
129 </property>
130 <property name="text">
131 <string>Safe Boot</string>
132 </property>
133 </widget>
134 </item>
135 <item row="1" column="8">
136 <widget class="QLabel" name="boardStatus">
137 <property name="minimumSize">
138 <size>
139 <width>70</width>
140 <height>0</height>
141 </size>
142 </property>
143 <property name="font">
144 <font>
145 <weight>75</weight>
146 <bold>true</bold>
147 </font>
148 </property>
149 <property name="text">
150 <string>Running</string>
151 </property>
152 </widget>
153 </item>
154 <item row="0" column="0">
155 <widget class="QPushButton" name="autoUpdateButton">
156 <property name="enabled">
157 <bool>false</bool>
158 </property>
159 <property name="minimumSize">
160 <size>
161 <width>75</width>
162 <height>0</height>
163 </size>
164 </property>
165 <property name="toolTip">
166 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Automatic firmware upgrade. &lt;/p&gt;&lt;p&gt;This can be done with board already connected&lt;br/&gt;or by connecting board after button is clicked.&lt;br/&gt;Running upgrade with a connected board works &lt;br/&gt;for all boards &lt;span style=&quot; font-weight:600;&quot;&gt;except OPLink&lt;/span&gt; that needs to be &lt;br/&gt;connected after the button is clicked.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
167 </property>
168 <property name="text">
169 <string>Upgrade</string>
170 </property>
171 </widget>
172 </item>
173 <item row="0" column="1">
174 <spacer name="horizontalSpacer">
175 <property name="orientation">
176 <enum>Qt::Horizontal</enum>
177 </property>
178 <property name="sizeHint" stdset="0">
179 <size>
180 <width>40</width>
181 <height>20</height>
182 </size>
183 </property>
184 </spacer>
185 </item>
186 <item row="0" column="5" colspan="2">
187 <widget class="QPushButton" name="rescueButton">
188 <property name="toolTip">
189 <string>Start a guided procedure to manually
190 recover a system which does not boot.
192 Rescue is possible in USB mode only.</string>
193 </property>
194 <property name="text">
195 <string>Rescue</string>
196 </property>
197 </widget>
198 </item>
199 <item row="0" column="3" colspan="2">
200 <widget class="QPushButton" name="bootButton">
201 <property name="enabled">
202 <bool>true</bool>
203 </property>
204 <property name="toolTip">
205 <string>Boots the system.
206 Only useful if the system is halted
207 (mainboard blue LED blinking slowly, green LED on)
209 If telemetry is not running, select the link using the dropdown
210 menu on the right.</string>
211 </property>
212 <property name="text">
213 <string>Boot</string>
214 </property>
215 </widget>
216 </item>
217 <item row="0" column="8">
218 <widget class="QComboBox" name="telemetryLink">
219 <property name="toolTip">
220 <string>When telemetry is not connected, select the communication
221 method using this combo box.
223 You can use this to force a communication channel when doing
224 a &quot;Boot&quot; (button on the left). It is updated automatically when
225 halting a running board.</string>
226 </property>
227 </widget>
228 </item>
229 <item row="0" column="2">
230 <widget class="QPushButton" name="haltButton">
231 <property name="enabled">
232 <bool>false</bool>
233 </property>
234 <property name="toolTip">
235 <string>Tells the mainboard to go down
236 to bootloader mode.
237 (Only enabled if telemetry link is established, either
238 through serial or USB)</string>
239 </property>
240 <property name="text">
241 <string>Halt</string>
242 </property>
243 </widget>
244 </item>
245 <item row="0" column="10" alignment="Qt::AlignHCenter">
246 <widget class="QToolButton" name="refreshPorts">
247 <property name="minimumSize">
248 <size>
249 <width>0</width>
250 <height>23</height>
251 </size>
252 </property>
253 <property name="toolTip">
254 <string>Refresh the list of serial ports</string>
255 </property>
256 <property name="text">
257 <string>...</string>
258 </property>
259 </widget>
260 </item>
261 <item row="1" column="10">
262 <widget class="QPushButton" name="pbHelp">
263 <property name="text">
264 <string/>
265 </property>
266 <property name="icon">
267 <iconset resource="../coreplugin/core.qrc">
268 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
269 </property>
270 <property name="iconSize">
271 <size>
272 <width>18</width>
273 <height>18</height>
274 </size>
275 </property>
276 <property name="flat">
277 <bool>true</bool>
278 </property>
279 </widget>
280 </item>
281 </layout>
282 </item>
283 </layout>
284 </widget>
285 </item>
286 <item>
287 <widget class="QGroupBox" name="autoUpdateGroupBox">
288 <property name="title">
289 <string>Upgrade</string>
290 </property>
291 <layout class="QGridLayout" name="gridLayout_2">
292 <item row="1" column="1">
293 <widget class="QPushButton" name="autoUpdateOkButton">
294 <property name="text">
295 <string>OK</string>
296 </property>
297 </widget>
298 </item>
299 <item row="1" column="0">
300 <widget class="QProgressBar" name="autoUpdateProgressBar">
301 <property name="value">
302 <number>0</number>
303 </property>
304 <property name="textVisible">
305 <bool>true</bool>
306 </property>
307 </widget>
308 </item>
309 <item row="0" column="0" colspan="2">
310 <widget class="QLabel" name="autoUpdateLabel">
311 <property name="text">
312 <string>Progress</string>
313 </property>
314 <property name="wordWrap">
315 <bool>true</bool>
316 </property>
317 </widget>
318 </item>
319 </layout>
320 </widget>
321 </item>
322 <item>
323 <widget class="QSplitter" name="splitter">
324 <property name="orientation">
325 <enum>Qt::Vertical</enum>
326 </property>
327 <widget class="QTabWidget" name="systemElements">
328 <property name="currentIndex">
329 <number>0</number>
330 </property>
331 <widget class="QWidget" name="defaultTab">
332 <attribute name="title">
333 <string>Mainboard</string>
334 </attribute>
335 <layout class="QHBoxLayout" name="horizontalLayout_2">
336 <item>
337 <widget class="QTextEdit" name="textEdit">
338 <property name="html">
339 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
340 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
341 p, li { white-space: pre-wrap; }
342 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
343 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;To upgrade the firmware in your boards, press Upgrade or &lt;/p&gt;
344 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Upgrade &amp;amp; Erase and follow instructions.&lt;/p&gt;
345 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;or&lt;/p&gt;
346 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;proceed as follows:&lt;/p&gt;
347 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
348 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Connect telemetry&lt;/p&gt;
349 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Once telemetry is running, press &amp;quot;Halt&amp;quot; above&lt;/p&gt;
350 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- You will get a list of devices.&lt;/p&gt;
351 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- You can then upload/download to/from each board as you wish&lt;/p&gt;
352 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- You can resume operations by pressing &amp;quot;Boot&amp;quot;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
353 </property>
354 </widget>
355 </item>
356 </layout>
357 </widget>
358 </widget>
359 <widget class="QTextBrowser" name="textBrowser">
360 <property name="horizontalScrollBarPolicy">
361 <enum>Qt::ScrollBarAlwaysOff</enum>
362 </property>
363 <property name="html">
364 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
365 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
366 p, li { white-space: pre-wrap; }
367 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
368 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
369 </property>
370 </widget>
371 </widget>
372 </item>
373 </layout>
374 </widget>
375 </widget>
376 </item>
377 </layout>
378 </widget>
379 <resources>
380 <include location="../coreplugin/core.qrc"/>
381 </resources>
382 <connections/>
383 </ui>