Skip to content
WaypointView.ui 15.7 KiB
Newer Older
pixhawk's avatar
pixhawk committed
<?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>
    <width>1389</width>
    <height>33</height>
pixhawk's avatar
pixhawk committed
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
pixhawk's avatar
pixhawk committed
    <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="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
pixhawk's avatar
pixhawk committed
     <property name="title">
      <string/>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0">
pixhawk's avatar
pixhawk committed
      <property name="spacing">
       <number>2</number>
      </property>
      <property name="margin">
pixhawk's avatar
pixhawk committed
       <number>2</number>
pixhawk's avatar
pixhawk committed
      </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>
       <widget class="QLabel" name="idLabel">
pixhawk's avatar
pixhawk committed
        <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
        <property name="text">
         <string>TextLabel</string>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="alignment">
         <set>Qt::AlignCenter</set>
        </property>
pixhawk's avatar
pixhawk committed
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="comboBox_action">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
pixhawk's avatar
pixhawk committed
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="comboBox_frame">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="posNSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="toolTip">
         <string>Position X coordinate</string>
        </property>
        <property name="prefix">
         <string>N </string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="suffix">
pixhawk's avatar
pixhawk committed
         <string> m</string>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="minimum">
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="maximum">
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="posESpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="toolTip">
         <string>Position Y coordinate</string>
        </property>
        <property name="prefix">
         <string>E </string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="suffix">
pixhawk's avatar
pixhawk committed
         <string> m</string>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="minimum">
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="maximum">
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="value">
         <double>0.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="posDSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
         <string>Position Z coordinate (negative)</string>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="prefix">
         <string>D </string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="suffix">
pixhawk's avatar
pixhawk committed
         <string> m</string>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="minimum">
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="maximum">
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="latSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="prefix">
         <string>lat </string>
        </property>
        <property name="suffix">
         <string>°</string>
        </property>
        <property name="decimals">
         <number>7</number>
        </property>
        <property name="minimum">
         <double>-90.000000000000000</double>
        </property>
        <property name="maximum">
         <double>90.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="lonSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="prefix">
         <string>lon </string>
        </property>
        <property name="suffix">
         <string>°</string>
        </property>
        <property name="decimals">
         <number>7</number>
        </property>
        <property name="minimum">
         <double>-180.000000000000000</double>
        </property>
        <property name="maximum">
         <double>180.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="altSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="prefix">
         <string>alt </string>
        </property>
        <property name="suffix">
         <string>m</string>
        </property>
        <property name="decimals">
         <number>7</number>
        </property>
        <property name="minimum">
         <double>-100000.000000000000000</double>
        </property>
        <property name="maximum">
         <double>100000.000000000000000</double>
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
      <item>
pixhawk's avatar
pixhawk committed
       <widget class="QSpinBox" name="yawSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <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
        </property>
pixhawk's avatar
pixhawk committed
        <property name="minimum">
         <number>-180</number>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="maximum">
pixhawk's avatar
pixhawk committed
         <number>180</number>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
        <property name="singleStep">
         <number>10</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="orbitSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <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>100.000000000000000</double>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
        <property name="value">
         <double>20.000000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="holdTimeSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
         <string>Time in milliseconds that the MAV has to stay inside the orbit before advancing</string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="statusTip">
         <string/>
        </property>
pixhawk's avatar
pixhawk committed
        <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
         <number>0</number>
pixhawk's avatar
pixhawk committed
        </property>
pixhawk's avatar
pixhawk committed
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="takeOffAngleSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="toolTip">
         <string>Take off angle</string>
pixhawk's avatar
pixhawk committed
        </property>
        <property name="prefix">
pixhawk's avatar
pixhawk committed
         <string/>
James Goppert's avatar
James Goppert committed
        </property>
        <property name="suffix">
         <string>°</string>
        </property>
James Goppert's avatar
James Goppert committed
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="autoContinue">
James Goppert's avatar
James Goppert committed
        <property name="toolTip">
         <string>Automatically continue after this waypoint</string>
James Goppert's avatar
James Goppert committed
        </property>
        <property name="text">
         <string/>
pixhawk's avatar
pixhawk committed
        </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
        <property name="toolTip">
         <string>Move Up</string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
          <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
        <property name="toolTip">
         <string>Move Down</string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
          <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
        <property name="toolTip">
         <string>Delete</string>
        </property>
pixhawk's avatar
pixhawk committed
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
          <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
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
 <connections/>
</ui>