WaypointView.ui 10.7 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WaypointView</class>
 <widget class="QWidget" name="WaypointView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
pixhawk's avatar
pixhawk committed
9
    <width>763</width>
pixhawk's avatar
pixhawk committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
    <height>40</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>200</width>
    <height>0</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <property name="styleSheet">
   <string>QWidget#colorIcon {}

QWidget {
background-color: #252528;
color: #DDDDDF;
border-color: #EEEEEE;
background-clip: border;
}

QCheckBox {
background-color: #252528;
color: #454545;
}

QGroupBox {
	border: 1px solid #EEEEEE;
	border-radius: 5px;
	padding: 0px 0px 0px 0px;
margin-top: 1ex; /* leave space at the top for the title */
	margin: 0px;
}

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
     font: bold 8px;
 }

QGroupBox#heartbeatIcon {
	background-color: red;
}

 QDockWidget {
	font: bold;
    border: 1px solid #32345E;
}

QPushButton {
	font-weight: bold;
	font-size: 12px;
	border: 1px solid #999999;
	border-radius: 10px;
	min-width:22px;
	max-width: 36px;
	min-height: 16px;
	max-height: 16px;
	padding: 2px;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555);
}

QPushButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555);
}

QPushButton#landButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffee01, stop:1 #ae8f00) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton:pressed#landButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bbaa00, stop:1 #a05b00) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton#killButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffb917, stop:1 #b37300) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton:pressed#killButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bb8500, stop:1 #903000) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QProgressBar {
	border: 1px solid white;
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	color: white;
	background-color: #111111;
}

QProgressBar:horizontal {
	height: 12px;
}

QProgressBar QLabel {
	font-size: 8px;
}

QProgressBar:vertical {
	width: 12px;
}

QProgressBar::chunk {
	background-color: #656565;
}

QProgressBar::chunk#batteryBar {
	background-color: green;
}

QProgressBar::chunk#speedBar {
	background-color: yellow;
}

QProgressBar::chunk#thrustBar {
	background-color: orange;
}</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <property name="margin">
    <number>0</number>
   </property>
   <property name="spacing">
    <number>0</number>
   </property>
   <item row="0" column="0">
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string/>
     </property>
pixhawk's avatar
pixhawk committed
158
     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,0,0,0,0,0">
pixhawk's avatar
pixhawk committed
159 160 161 162
      <property name="spacing">
       <number>2</number>
      </property>
      <property name="margin">
pixhawk's avatar
pixhawk committed
163
       <number>2</number>
pixhawk's avatar
pixhawk committed
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
      </property>
      <item>
       <widget class="QCheckBox" name="selectedBox">
        <property name="toolTip">
         <string>Currently selected waypoint</string>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
       </widget>
      </item>
      <item>
182
       <widget class="QLabel" name="idLabel">
pixhawk's avatar
pixhawk committed
183 184 185 186 187 188 189 190 191
        <property name="minimumSize">
         <size>
          <width>15</width>
          <height>0</height>
         </size>
        </property>
        <property name="toolTip">
         <string>Waypoint Sequence Number</string>
        </property>
pixhawk's avatar
pixhawk committed
192
        <property name="text">
193
         <string>TextLabel</string>
pixhawk's avatar
pixhawk committed
194
        </property>
pixhawk's avatar
pixhawk committed
195 196 197
        <property name="alignment">
         <set>Qt::AlignCenter</set>
        </property>
pixhawk's avatar
pixhawk committed
198 199 200 201 202 203 204 205 206 207
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>25</width>
pixhawk's avatar
pixhawk committed
208
          <height>0</height>
pixhawk's avatar
pixhawk committed
209 210 211 212 213 214
         </size>
        </property>
       </spacer>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="xSpinBox">
pixhawk's avatar
pixhawk committed
215 216 217 218
        <property name="toolTip">
         <string>Position X coordinate</string>
        </property>
        <property name="suffix">
pixhawk's avatar
pixhawk committed
219
         <string> m</string>
pixhawk's avatar
pixhawk committed
220
        </property>
pixhawk's avatar
pixhawk committed
221
        <property name="minimum">
pixhawk's avatar
pixhawk committed
222
         <double>-1000.000000000000000</double>
pixhawk's avatar
pixhawk committed
223 224
        </property>
        <property name="maximum">
pixhawk's avatar
pixhawk committed
225
         <double>1000.000000000000000</double>
pixhawk's avatar
pixhawk committed
226
        </property>
pixhawk's avatar
pixhawk committed
227 228 229
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
230 231 232 233
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="ySpinBox">
pixhawk's avatar
pixhawk committed
234 235 236 237
        <property name="toolTip">
         <string>Position Y coordinate</string>
        </property>
        <property name="suffix">
pixhawk's avatar
pixhawk committed
238
         <string> m</string>
pixhawk's avatar
pixhawk committed
239
        </property>
pixhawk's avatar
pixhawk committed
240
        <property name="minimum">
pixhawk's avatar
pixhawk committed
241
         <double>-1000.000000000000000</double>
pixhawk's avatar
pixhawk committed
242 243
        </property>
        <property name="maximum">
pixhawk's avatar
pixhawk committed
244
         <double>1000.000000000000000</double>
pixhawk's avatar
pixhawk committed
245
        </property>
pixhawk's avatar
pixhawk committed
246 247 248
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
249 250 251 252 253 254 255
        <property name="value">
         <double>0.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="zSpinBox">
pixhawk's avatar
pixhawk committed
256
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
257
         <string>Position Z coordinate (negative)</string>
pixhawk's avatar
pixhawk committed
258 259
        </property>
        <property name="suffix">
pixhawk's avatar
pixhawk committed
260
         <string> m</string>
pixhawk's avatar
pixhawk committed
261
        </property>
pixhawk's avatar
pixhawk committed
262
        <property name="minimum">
pixhawk's avatar
pixhawk committed
263
         <double>-1000.000000000000000</double>
pixhawk's avatar
pixhawk committed
264 265
        </property>
        <property name="maximum">
pixhawk's avatar
pixhawk committed
266 267 268 269
         <double>0.000000000000000</double>
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
pixhawk's avatar
pixhawk committed
270 271 272 273
        </property>
       </widget>
      </item>
      <item>
pixhawk's avatar
pixhawk committed
274 275 276 277 278 279 280 281 282
       <widget class="QSpinBox" name="yawSpinBox">
        <property name="toolTip">
         <string>Yaw angle</string>
        </property>
        <property name="wrapping">
         <bool>true</bool>
        </property>
        <property name="suffix">
         <string>°</string>
pixhawk's avatar
pixhawk committed
283
        </property>
pixhawk's avatar
pixhawk committed
284 285 286
        <property name="minimum">
         <number>-180</number>
        </property>
pixhawk's avatar
pixhawk committed
287
        <property name="maximum">
pixhawk's avatar
pixhawk committed
288
         <number>180</number>
pixhawk's avatar
pixhawk committed
289
        </property>
pixhawk's avatar
pixhawk committed
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
        <property name="singleStep">
         <number>10</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="orbitSpinBox">
        <property name="toolTip">
         <string>Orbit radius</string>
        </property>
        <property name="suffix">
         <string> m</string>
        </property>
        <property name="minimum">
         <double>0.050000000000000</double>
        </property>
        <property name="maximum">
         <double>1.000000000000000</double>
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="holdTimeSpinBox">
pixhawk's avatar
pixhawk committed
316
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
317 318
         <string>Time in milliseconds that the MAV has to stay inside the orbit before advancing</string>
        </property>
pixhawk's avatar
pixhawk committed
319 320 321
        <property name="statusTip">
         <string/>
        </property>
pixhawk's avatar
pixhawk committed
322 323 324 325 326 327 328 329 330 331
        <property name="suffix">
         <string> ms</string>
        </property>
        <property name="maximum">
         <number>60000</number>
        </property>
        <property name="singleStep">
         <number>500</number>
        </property>
        <property name="value">
pixhawk's avatar
pixhawk committed
332
         <number>0</number>
pixhawk's avatar
pixhawk committed
333
        </property>
pixhawk's avatar
pixhawk committed
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="autoContinue">
        <property name="toolTip">
         <string>Automatically continue after this waypoint</string>
        </property>
        <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="upButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
354 355 356
        <property name="toolTip">
         <string>Move Up</string>
        </property>
pixhawk's avatar
pixhawk committed
357 358 359 360
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
361
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
362 363 364 365 366 367 368 369 370 371 372 373
          <normaloff>:/images/actions/go-up.svg</normaloff>:/images/actions/go-up.svg</iconset>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="downButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
374 375 376
        <property name="toolTip">
         <string>Move Down</string>
        </property>
pixhawk's avatar
pixhawk committed
377 378 379 380
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
381
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
382 383 384 385 386 387 388 389 390 391 392 393
          <normaloff>:/images/actions/go-down.svg</normaloff>:/images/actions/go-down.svg</iconset>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="removeButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
394 395 396
        <property name="toolTip">
         <string>Delete</string>
        </property>
pixhawk's avatar
pixhawk committed
397 398 399 400
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
401
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
402 403 404 405 406 407 408 409 410
          <normaloff>:/images/actions/list-remove.svg</normaloff>:/images/actions/list-remove.svg</iconset>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
pixhawk's avatar
pixhawk committed
411 412 413
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
414 415
 <connections/>
</ui>