LP-106 Setup Wizard refresh : Add dual servo setup (dual aileron or
[librepilot.git] / ground / gcs / src / plugins / setupwizard / pages / autoupdatepage.ui
blob35446f27bf4ebf52d52a3307388ec5aeb2ca1c86
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>AutoUpdatePage</class>
4 <widget class="QWizardPage" name="AutoUpdatePage">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>600</width>
10 <height>400</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>WizardPage</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QLabel" name="label">
19 <property name="text">
20 <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;
21 &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;
22 p, li { white-space: pre-wrap; }
23 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
24 &lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600;&quot;&gt;Firmware Update&lt;/span&gt;&lt;/p&gt;
25 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;It is necessary that your firmware and ground control software are the same version.&lt;/span&gt;&lt;/p&gt;
26 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;When you are ready you can start the upgrade below by pushing the button. It is critical that nothing disturbs the board while the firmware is being written.&lt;/span&gt;&lt;/p&gt;
27 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;It is recommended that you erase all settings on the board when upgrading firmware. Using saved settings for a previous version of the firmware &lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt; font-weight:600;&quot;&gt;may result in undefined behaviour&lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt; and in worst case danger. It is possible to suppress the erase by deselecting the check box below.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
28 </property>
29 <property name="alignment">
30 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
31 </property>
32 <property name="wordWrap">
33 <bool>true</bool>
34 </property>
35 </widget>
36 </item>
37 <item>
38 <spacer name="verticalSpacer">
39 <property name="orientation">
40 <enum>Qt::Vertical</enum>
41 </property>
42 <property name="sizeHint" stdset="0">
43 <size>
44 <width>20</width>
45 <height>40</height>
46 </size>
47 </property>
48 </spacer>
49 </item>
50 <item alignment="Qt::AlignHCenter">
51 <widget class="QCheckBox" name="eraseSettings">
52 <property name="text">
53 <string>Erase all settings</string>
54 </property>
55 <property name="checked">
56 <bool>true</bool>
57 </property>
58 </widget>
59 </item>
60 <item>
61 <layout class="QHBoxLayout" name="horizontalLayout">
62 <item>
63 <widget class="QToolButton" name="startUpdate">
64 <property name="toolTip">
65 <string>Upgrade now</string>
66 </property>
67 <property name="styleSheet">
68 <string notr="true">QToolButton { border: none }</string>
69 </property>
70 <property name="text">
71 <string>Upgrade</string>
72 </property>
73 <property name="icon">
74 <iconset resource="../wizardResources.qrc">
75 <normaloff>:/setupwizard/resources/bttn-upgrade-up.png</normaloff>
76 <normalon>:/setupwizard/resources/bttn-upgrade-down.png</normalon>:/setupwizard/resources/bttn-upgrade-up.png</iconset>
77 </property>
78 <property name="iconSize">
79 <size>
80 <width>200</width>
81 <height>70</height>
82 </size>
83 </property>
84 </widget>
85 </item>
86 </layout>
87 </item>
88 <item>
89 <layout class="QVBoxLayout" name="verticalLayout_2">
90 <item>
91 <widget class="QLabel" name="statusLabel">
92 <property name="text">
93 <string>Ready...</string>
94 </property>
95 </widget>
96 </item>
97 <item>
98 <widget class="QProgressBar" name="levellinProgressBar">
99 <property name="styleSheet">
100 <string notr="true">QProgressBar {
101 border: 2px solid grey;
102 border-radius: 5px;
103 text-align: center;
105 QProgressBar::chunk {
106 background-color: #3D6699;
107 width: 10px;
108 margin: 0.5px;
109 }</string>
110 </property>
111 <property name="value">
112 <number>0</number>
113 </property>
114 <property name="format">
115 <string/>
116 </property>
117 </widget>
118 </item>
119 </layout>
120 </item>
121 <item>
122 <widget class="QLabel" name="progressLabel">
123 <property name="text">
124 <string/>
125 </property>
126 </widget>
127 </item>
128 </layout>
129 </widget>
130 <resources>
131 <include location="../wizardResources.qrc"/>
132 </resources>
133 <connections/>
134 </ui>