LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / plugins / config / airframe.ui
blob92353fbd4347be5d09b11405b0bb1d2513606691
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>AircraftWidget</class>
4 <widget class="QWidget" name="AircraftWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>880</width>
10 <height>608</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_10">
17 <property name="spacing">
18 <number>0</number>
19 </property>
20 <item>
21 <layout class="QHBoxLayout" name="horizontalLayout">
22 <property name="leftMargin">
23 <number>0</number>
24 </property>
25 <property name="topMargin">
26 <number>0</number>
27 </property>
28 <property name="rightMargin">
29 <number>0</number>
30 </property>
31 <property name="bottomMargin">
32 <number>9</number>
33 </property>
34 <item>
35 <widget class="QLabel" name="label">
36 <property name="sizePolicy">
37 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
38 <horstretch>0</horstretch>
39 <verstretch>0</verstretch>
40 </sizepolicy>
41 </property>
42 <property name="text">
43 <string>Vehicle name</string>
44 </property>
45 </widget>
46 </item>
47 <item>
48 <spacer name="horizontalSpacer_2">
49 <property name="orientation">
50 <enum>Qt::Horizontal</enum>
51 </property>
52 <property name="sizeType">
53 <enum>QSizePolicy::Fixed</enum>
54 </property>
55 <property name="sizeHint" stdset="0">
56 <size>
57 <width>6</width>
58 <height>20</height>
59 </size>
60 </property>
61 </spacer>
62 </item>
63 <item alignment="Qt::AlignLeft">
64 <widget class="QLineEdit" name="nameEdit">
65 <property name="sizePolicy">
66 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
67 <horstretch>0</horstretch>
68 <verstretch>0</verstretch>
69 </sizepolicy>
70 </property>
71 <property name="minimumSize">
72 <size>
73 <width>300</width>
74 <height>0</height>
75 </size>
76 </property>
77 <property name="inputMask">
78 <string/>
79 </property>
80 <property name="maxLength">
81 <number>20</number>
82 </property>
83 <property name="placeholderText">
84 <string>Enter name of vehicle. Max 20 characters.</string>
85 </property>
86 </widget>
87 </item>
88 <item>
89 <spacer name="horizontalSpacer">
90 <property name="orientation">
91 <enum>Qt::Horizontal</enum>
92 </property>
93 <property name="sizeType">
94 <enum>QSizePolicy::Minimum</enum>
95 </property>
96 <property name="sizeHint" stdset="0">
97 <size>
98 <width>20</width>
99 <height>20</height>
100 </size>
101 </property>
102 </spacer>
103 </item>
104 <item>
105 <widget class="QPushButton" name="vehicleSetupWizardButton">
106 <property name="text">
107 <string>Vehicle Setup Wizard...</string>
108 </property>
109 </widget>
110 </item>
111 <item>
112 <spacer name="horizontalSpacer_3">
113 <property name="orientation">
114 <enum>Qt::Horizontal</enum>
115 </property>
116 <property name="sizeHint" stdset="0">
117 <size>
118 <width>40</width>
119 <height>20</height>
120 </size>
121 </property>
122 </spacer>
123 </item>
124 </layout>
125 </item>
126 <item>
127 <widget class="QTabBar" name="aircraftType" native="true"/>
128 </item>
129 <item>
130 <widget class="QFrame" name="vehicleTypeFrame">
131 <property name="sizePolicy">
132 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
133 <horstretch>0</horstretch>
134 <verstretch>0</verstretch>
135 </sizepolicy>
136 </property>
137 <property name="layoutDirection">
138 <enum>Qt::LeftToRight</enum>
139 </property>
140 <property name="autoFillBackground">
141 <bool>false</bool>
142 </property>
143 <property name="styleSheet">
144 <string notr="true">#vehicleTypeFrame{
145 color: rgb(180, 180, 180);
146 margin-top: -1px;
147 }</string>
148 </property>
149 <property name="frameShape">
150 <enum>QFrame::StyledPanel</enum>
151 </property>
152 <property name="frameShadow">
153 <enum>QFrame::Raised</enum>
154 </property>
155 <layout class="QVBoxLayout" name="verticalLayout_2">
156 <item>
157 <widget class="QStackedWidget" name="airframesWidget">
158 <property name="sizePolicy">
159 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
160 <horstretch>0</horstretch>
161 <verstretch>0</verstretch>
162 </sizepolicy>
163 </property>
164 <property name="maximumSize">
165 <size>
166 <width>16777215</width>
167 <height>16777215</height>
168 </size>
169 </property>
170 <property name="font">
171 <font>
172 <kerning>true</kerning>
173 </font>
174 </property>
175 <property name="frameShape">
176 <enum>QFrame::NoFrame</enum>
177 </property>
178 <property name="currentIndex">
179 <number>-1</number>
180 </property>
181 </widget>
182 </item>
183 </layout>
184 </widget>
185 </item>
186 <item>
187 <spacer name="verticalSpacer">
188 <property name="orientation">
189 <enum>Qt::Vertical</enum>
190 </property>
191 <property name="sizeType">
192 <enum>QSizePolicy::Fixed</enum>
193 </property>
194 <property name="sizeHint" stdset="0">
195 <size>
196 <width>20</width>
197 <height>9</height>
198 </size>
199 </property>
200 </spacer>
201 </item>
202 <item>
203 <layout class="QHBoxLayout" name="bottomLayout">
204 <property name="spacing">
205 <number>4</number>
206 </property>
207 <item>
208 <spacer name="horizontalSpacer_10">
209 <property name="orientation">
210 <enum>Qt::Horizontal</enum>
211 </property>
212 <property name="sizeHint" stdset="0">
213 <size>
214 <width>5</width>
215 <height>25</height>
216 </size>
217 </property>
218 </spacer>
219 </item>
220 <item>
221 <widget class="QPushButton" name="airframeHelp">
222 <property name="sizePolicy">
223 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
224 <horstretch>0</horstretch>
225 <verstretch>0</verstretch>
226 </sizepolicy>
227 </property>
228 <property name="maximumSize">
229 <size>
230 <width>25</width>
231 <height>25</height>
232 </size>
233 </property>
234 <property name="toolTip">
235 <string>Takes you to the wiki page</string>
236 </property>
237 <property name="text">
238 <string/>
239 </property>
240 <property name="icon">
241 <iconset resource="../coreplugin/core.qrc">
242 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
243 </property>
244 <property name="iconSize">
245 <size>
246 <width>25</width>
247 <height>25</height>
248 </size>
249 </property>
250 <property name="flat">
251 <bool>true</bool>
252 </property>
253 </widget>
254 </item>
255 <item>
256 <widget class="QPushButton" name="saveAircraftToRAM">
257 <property name="toolTip">
258 <string>Send to board, but don't save permanently (flash or SD).</string>
259 </property>
260 <property name="text">
261 <string>Apply</string>
262 </property>
263 </widget>
264 </item>
265 <item>
266 <widget class="QPushButton" name="saveAircraftToSD">
267 <property name="toolTip">
268 <string>Applies and Saves all settings to flash or SD depending on board.</string>
269 </property>
270 <property name="text">
271 <string>Save</string>
272 </property>
273 </widget>
274 </item>
275 </layout>
276 </item>
277 </layout>
278 </widget>
279 <customwidgets>
280 <customwidget>
281 <class>QTabBar</class>
282 <extends>QWidget</extends>
283 <header>qtabbar.h</header>
284 <container>1</container>
285 </customwidget>
286 </customwidgets>
287 <tabstops>
288 <tabstop>nameEdit</tabstop>
289 <tabstop>vehicleSetupWizardButton</tabstop>
290 <tabstop>airframeHelp</tabstop>
291 <tabstop>saveAircraftToRAM</tabstop>
292 <tabstop>saveAircraftToSD</tabstop>
293 </tabstops>
294 <resources>
295 <include location="../coreplugin/core.qrc"/>
296 </resources>
297 <connections/>
298 </ui>