OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / opmap / opmap_overlay_widget.ui
blobf57514c92630480a24047e7b8ab86e3c7d01a3ac
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>opmap_overlay_widget</class>
4 <widget class="QWidget" name="opmap_overlay_widget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>336</width>
10 <height>300</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="mouseTracking">
20 <bool>true</bool>
21 </property>
22 <property name="windowTitle">
23 <string>Form</string>
24 </property>
25 <property name="styleSheet">
26 <string notr="true">background-color: transparent;
27 border: none;</string>
28 </property>
29 <layout class="QVBoxLayout" name="verticalLayout_2">
30 <property name="leftMargin">
31 <number>0</number>
32 </property>
33 <property name="topMargin">
34 <number>20</number>
35 </property>
36 <property name="rightMargin">
37 <number>0</number>
38 </property>
39 <property name="bottomMargin">
40 <number>0</number>
41 </property>
42 <item>
43 <layout class="QHBoxLayout" name="horizontalLayout">
44 <item>
45 <spacer name="horizontalSpacer">
46 <property name="orientation">
47 <enum>Qt::Horizontal</enum>
48 </property>
49 <property name="sizeHint" stdset="0">
50 <size>
51 <width>40</width>
52 <height>20</height>
53 </size>
54 </property>
55 </spacer>
56 </item>
57 <item>
58 <widget class="QFrame" name="frame_2">
59 <property name="sizePolicy">
60 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
61 <horstretch>0</horstretch>
62 <verstretch>0</verstretch>
63 </sizepolicy>
64 </property>
65 <property name="styleSheet">
66 <string notr="true">background-color: rgba(0, 0, 0, 100);
67 border: none;
68 border-radius: 12px;</string>
69 </property>
70 <property name="frameShape">
71 <enum>QFrame::StyledPanel</enum>
72 </property>
73 <property name="frameShadow">
74 <enum>QFrame::Raised</enum>
75 </property>
76 <layout class="QVBoxLayout" name="verticalLayout">
77 <property name="spacing">
78 <number>3</number>
79 </property>
80 <property name="margin">
81 <number>3</number>
82 </property>
83 <item>
84 <widget class="QToolButton" name="toolButton">
85 <property name="sizePolicy">
86 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
87 <horstretch>0</horstretch>
88 <verstretch>0</verstretch>
89 </sizepolicy>
90 </property>
91 <property name="styleSheet">
92 <string notr="true">QToolButton { /* all types of tool button */
93 background-color: rgba(255, 255, 255, 0);
94 color: rgb(255, 255, 255);
95 /*border-style: none;*/
96 border: 0px;
98 QToolButton:hover {
99 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 160, 0, 255), stop:1 rgba(160, 100, 0, 255));
100 color: rgb(255, 255, 255);
102 QToolButton:pressed {
103 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
104 color: rgb(255, 255, 255);
107 QToolButton:checked {
108 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
109 color: rgb(255, 255, 255);
111 </string>
112 </property>
113 <property name="text">
114 <string/>
115 </property>
116 <property name="icon">
117 <iconset resource="opmap.qrc">
118 <normaloff>:/opmap/images/plus.png</normaloff>:/opmap/images/plus.png</iconset>
119 </property>
120 <property name="autoRaise">
121 <bool>true</bool>
122 </property>
123 </widget>
124 </item>
125 <item>
126 <widget class="QSlider" name="verticalSlider">
127 <property name="sizePolicy">
128 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
129 <horstretch>0</horstretch>
130 <verstretch>0</verstretch>
131 </sizepolicy>
132 </property>
133 <property name="styleSheet">
134 <string notr="true">QSlider {
135 background-color: rgba(0, 0, 0, 0);
138 QSlider::groove:horizontal {
139 border: none;
140 height: 4px;
141 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
142 margin: 2px 0;
145 QSlider::handle:horizontal {
146 border: 1px solid #5c5c5c;
147 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
148 width: 24px;
149 margin: -2px 0;
150 border-radius: 3px;
152 </string>
153 </property>
154 <property name="minimum">
155 <number>2</number>
156 </property>
157 <property name="maximum">
158 <number>19</number>
159 </property>
160 <property name="pageStep">
161 <number>1</number>
162 </property>
163 <property name="orientation">
164 <enum>Qt::Vertical</enum>
165 </property>
166 </widget>
167 </item>
168 <item>
169 <widget class="QToolButton" name="toolButton_2">
170 <property name="sizePolicy">
171 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
172 <horstretch>0</horstretch>
173 <verstretch>0</verstretch>
174 </sizepolicy>
175 </property>
176 <property name="styleSheet">
177 <string notr="true">QToolButton { /* all types of tool button */
178 background-color: rgba(255, 255, 255, 0);
179 color: rgb(255, 255, 255);
180 /*border-style: none;*/
181 border: 0px;
183 QToolButton:hover {
184 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 160, 0, 255), stop:1 rgba(160, 100, 0, 255));
185 color: rgb(255, 255, 255);
187 QToolButton:pressed {
188 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
189 color: rgb(255, 255, 255);
192 QToolButton:checked {
193 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
194 color: rgb(255, 255, 255);
196 </string>
197 </property>
198 <property name="text">
199 <string/>
200 </property>
201 <property name="icon">
202 <iconset resource="opmap.qrc">
203 <normaloff>:/opmap/images/minus.png</normaloff>:/opmap/images/minus.png</iconset>
204 </property>
205 <property name="autoRaise">
206 <bool>true</bool>
207 </property>
208 </widget>
209 </item>
210 </layout>
211 </widget>
212 </item>
213 <item>
214 <spacer name="horizontalSpacer_2">
215 <property name="orientation">
216 <enum>Qt::Horizontal</enum>
217 </property>
218 <property name="sizeType">
219 <enum>QSizePolicy::Fixed</enum>
220 </property>
221 <property name="sizeHint" stdset="0">
222 <size>
223 <width>10</width>
224 <height>20</height>
225 </size>
226 </property>
227 </spacer>
228 </item>
229 </layout>
230 </item>
231 <item>
232 <spacer name="verticalSpacer">
233 <property name="orientation">
234 <enum>Qt::Vertical</enum>
235 </property>
236 <property name="sizeHint" stdset="0">
237 <size>
238 <width>20</width>
239 <height>40</height>
240 </size>
241 </property>
242 </spacer>
243 </item>
244 <item>
245 <layout class="QHBoxLayout" name="horizontalLayout_2">
246 <item>
247 <spacer name="horizontalSpacer_5">
248 <property name="orientation">
249 <enum>Qt::Horizontal</enum>
250 </property>
251 <property name="sizeType">
252 <enum>QSizePolicy::Fixed</enum>
253 </property>
254 <property name="sizeHint" stdset="0">
255 <size>
256 <width>40</width>
257 <height>20</height>
258 </size>
259 </property>
260 </spacer>
261 </item>
262 <item>
263 <widget class="QFrame" name="frame">
264 <property name="sizePolicy">
265 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
266 <horstretch>0</horstretch>
267 <verstretch>0</verstretch>
268 </sizepolicy>
269 </property>
270 <property name="styleSheet">
271 <string notr="true">background-color: rgba(0, 0, 0, 100);
272 border: none;
273 border-radius: 8px;
274 border-bottom-left-radius: 0px;
275 border-bottom-right-radius: 0px; </string>
276 </property>
277 <property name="frameShape">
278 <enum>QFrame::StyledPanel</enum>
279 </property>
280 <property name="frameShadow">
281 <enum>QFrame::Raised</enum>
282 </property>
283 <layout class="QHBoxLayout" name="horizontalLayout_3">
284 <property name="topMargin">
285 <number>0</number>
286 </property>
287 <property name="bottomMargin">
288 <number>0</number>
289 </property>
290 <item>
291 <widget class="QLabel" name="labelStatus">
292 <property name="styleSheet">
293 <string notr="true">QLabel { /* all label types */
294 color: rgb(255, 255, 255);
295 background-color: rgba(255, 255, 255, 0);
296 border: none;
297 border-radius: 10px;
298 }</string>
299 </property>
300 <property name="frameShape">
301 <enum>QFrame::NoFrame</enum>
302 </property>
303 <property name="text">
304 <string>labelStatus</string>
305 </property>
306 <property name="alignment">
307 <set>Qt::AlignCenter</set>
308 </property>
309 <property name="margin">
310 <number>1</number>
311 </property>
312 </widget>
313 </item>
314 <item>
315 <spacer name="horizontalSpacer_3">
316 <property name="orientation">
317 <enum>Qt::Horizontal</enum>
318 </property>
319 <property name="sizeHint" stdset="0">
320 <size>
321 <width>40</width>
322 <height>20</height>
323 </size>
324 </property>
325 </spacer>
326 </item>
327 <item>
328 <widget class="QProgressBar" name="progressBarTiles">
329 <property name="sizePolicy">
330 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
331 <horstretch>0</horstretch>
332 <verstretch>0</verstretch>
333 </sizepolicy>
334 </property>
335 <property name="minimumSize">
336 <size>
337 <width>100</width>
338 <height>0</height>
339 </size>
340 </property>
341 <property name="maximumSize">
342 <size>
343 <width>100</width>
344 <height>16</height>
345 </size>
346 </property>
347 <property name="styleSheet">
348 <string notr="true">QProgressBar {
349 border: nonei;
350 border-radius: 5px;
351 padding: 3px;
352 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
353 color: rgb(255, 255, 255);
355 QProgressBar::chunk {
356 background-color: rgb(85, 85, 255);
357 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(160, 160, 255, 255), stop:1 rgba(80, 80, 160, 255));
358 border: none;
359 border-radius: 3px;
360 }</string>
361 </property>
362 <property name="value">
363 <number>24</number>
364 </property>
365 <property name="alignment">
366 <set>Qt::AlignCenter</set>
367 </property>
368 <property name="format">
369 <string>%v</string>
370 </property>
371 </widget>
372 </item>
373 </layout>
374 </widget>
375 </item>
376 <item>
377 <spacer name="horizontalSpacer_4">
378 <property name="orientation">
379 <enum>Qt::Horizontal</enum>
380 </property>
381 <property name="sizeType">
382 <enum>QSizePolicy::Fixed</enum>
383 </property>
384 <property name="sizeHint" stdset="0">
385 <size>
386 <width>40</width>
387 <height>20</height>
388 </size>
389 </property>
390 </spacer>
391 </item>
392 </layout>
393 </item>
394 </layout>
395 </widget>
396 <resources>
397 <include location="opmap.qrc"/>
398 </resources>
399 <connections/>
400 </ui>