Skip to content
Snippets Groups Projects
UASView.ui 17.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • pixhawk's avatar
    pixhawk committed
    <?xml version="1.0" encoding="UTF-8"?>
    <ui version="4.0">
     <class>UASView</class>
     <widget class="QWidget" name="UASView">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
    
        <width>310</width>
        <height>111</height>
    
    pixhawk's avatar
    pixhawk committed
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="minimumSize">
       <size>
    
    pixhawk's avatar
    pixhawk committed
        <height>0</height>
       </size>
      </property>
      <property name="windowTitle">
       <string>Form</string>
      </property>
      <property name="styleSheet">
    
       <string notr="true">QWidget#colorIcon {}
    
    pixhawk's avatar
    pixhawk committed
    
    QWidget {
    
    pixhawk's avatar
    pixhawk committed
    background-color: none;
    
    pixhawk's avatar
    pixhawk committed
    color: #DDDDDF;
    border-color: #EEEEEE;
    background-clip: margin;
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QLabel#nameLabel {
    	font: bold 16px;
    	color: #3C7B9E;
    }
    
    QLabel#modeLabel {
    	font: 12px;
    }
    
    QLabel#stateLabel {
    	font: 12px;
    }
    
    QLabel#gpsLabel {
    	font: 8px;
    }
    
    QLabel#positionLabel {
    	font: 8px;
    }
    
    QLabel#timeElapsedLabel {
    	font: 8px;
    }
    
    QLabel#groundDistanceLabel {
    	font: 8px;
    }
    
    QLabel#speedLabel {
    	font: 8px;
    }
    
    QLabel#timeRemainingLabel {
    	font: 8px;
    }
    
    QLabel#waypointLabel {
    
    pixhawk's avatar
    pixhawk committed
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QGroupBox {
    
    pixhawk's avatar
    pixhawk committed
    	border: 1px solid #4A4A4F;
    
    pixhawk's avatar
    pixhawk committed
    	padding: 0px 0px 0px 0px;
    	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;
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QToolButton#typeButton {
    	font-weight: bold;
    	font-size: 12px;
    
    pixhawk's avatar
    pixhawk committed
    	border-radius: 5px;
    	min-width:44px;
    	max-width: 44px;
    	min-height: 44px;
    	max-height: 44px;
    	padding: 0px;
    	background-color: none;
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QPushButton {
    	font-weight: bold;
    	font-size: 12px;
    	border: 1px solid #999999;
    	border-radius: 10px;
    
    	min-width: 20px;
    
    pixhawk's avatar
    pixhawk committed
    	max-width: 40px;
    	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);
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QPushButton#abortButton {
    
    pixhawk's avatar
    pixhawk committed
    	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
    
    pixhawk's avatar
    pixhawk committed
                                 stop:0 #ffee01, stop:1 #ae8f00);
    
    pixhawk's avatar
    pixhawk committed
    }
    
    
    pixhawk's avatar
    pixhawk committed
    QPushButton:pressed#abortButton {
    
    pixhawk's avatar
    pixhawk committed
    	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
    
    pixhawk's avatar
    pixhawk committed
                                 stop:0 #bbaa00, stop:1 #a05b00);
    
    pixhawk's avatar
    pixhawk committed
    }
    
    QPushButton#killButton {
    	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
    
    pixhawk's avatar
    pixhawk committed
                                 stop:0 #ffb917, stop:1 #b37300);
    
    pixhawk's avatar
    pixhawk committed
    }
    
    QPushButton:pressed#killButton {
    	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
    
    pixhawk's avatar
    pixhawk committed
                                 stop:0 #bb8500, stop:1 #903000);
    
    pixhawk's avatar
    pixhawk committed
    }
    
    
    pixhawk's avatar
    pixhawk committed
    
    
    QProgressBar:horizontal {
    	border: 1px solid #4A4A4F;
    	border-radius: 4px;
    	text-align: center;
    	padding: 2px;
    	color: #DDDDDF;
    	background-color: #111118;
    }
    
    QProgressBar:vertical {
    
    pixhawk's avatar
    pixhawk committed
    	border: 1px solid #4A4A4F;
    
    pixhawk's avatar
    pixhawk committed
    	border-radius: 4px;
    	text-align: center;
    
    	font-size: 7px;
    
    pixhawk's avatar
    pixhawk committed
    	padding: 2px;
    
    pixhawk's avatar
    pixhawk committed
    	color: #DDDDDF;
    	background-color: #111118;
    
    pixhawk's avatar
    pixhawk committed
    }
    
    QProgressBar:horizontal {
    
    pixhawk's avatar
    pixhawk committed
    	height: 10px;
    
    pixhawk's avatar
    pixhawk committed
    }
    
    
    QProgressBar:horizontal QLabel {
    	font-size: 9px;
    }
    
    QProgressBar:vertical QLabel {
    	font-size: 7px;
    
    pixhawk's avatar
    pixhawk committed
    }
    
    QProgressBar:vertical {
    
    pixhawk's avatar
    pixhawk committed
    }
    
    QProgressBar::chunk {
    	background-color: #656565;
    }
    
    QProgressBar::chunk#batteryBar {
    	background-color: green;
    }
    
    QProgressBar::chunk#speedBar {
    	background-color: yellow;
    }
    
    QProgressBar::chunk#thrustBar {
    	background-color: orange;
    
    }
    
    QToolTip {
            background-color: #090909;
            border: 1px solid #379AC3;
    	border-radius: 3px;
        color: #DDDDDF;
    }
    
    QMenu {
        border: 1px solid #379AC3;
    background-color: #050508;
    color: #DDDDDF;
    background-clip: border;
    font-size: 11px;
    }
    
    QMenu::separator {
         height: 1px;
         background: #379AC3;
         margin-top: 8px;
         margin-bottom: 4px;
         margin-left: 5px;
         margin-right: 5px;
     }</string>
    
    pixhawk's avatar
    pixhawk committed
      </property>
      <layout class="QHBoxLayout" name="horizontalLayout_2">
    
       <property name="spacing">
        <number>2</number>
       </property>
    
    pixhawk's avatar
    pixhawk committed
       <property name="margin">
    
    pixhawk's avatar
    pixhawk committed
       </property>
       <item>
    
        <widget class="QGroupBox" name="uasViewFrame">
    
    pixhawk's avatar
    pixhawk committed
         <property name="sizePolicy">
    
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    
    pixhawk's avatar
    pixhawk committed
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="minimumSize">
          <size>
    
           <width>0</width>
    
    pixhawk's avatar
    pixhawk committed
           <height>0</height>
          </size>
         </property>
         <property name="title">
          <string/>
         </property>
    
         <layout class="QGridLayout" name="gridLayout" columnstretch="10,10,1,10,10,10,100,100">
    
    pixhawk's avatar
    pixhawk committed
          <property name="horizontalSpacing">
    
    pixhawk's avatar
    pixhawk committed
          </property>
          <property name="verticalSpacing">
           <number>2</number>
          </property>
          <property name="margin">
    
    pixhawk's avatar
    pixhawk committed
          </property>
          <item row="0" column="0" rowspan="5" colspan="2">
           <widget class="QToolButton" name="typeButton">
            <property name="minimumSize">
             <size>
    
              <width>44</width>
              <height>44</height>
    
    pixhawk's avatar
    pixhawk committed
             </size>
            </property>
            <property name="maximumSize">
             <size>
    
              <width>44</width>
              <height>44</height>
    
    pixhawk's avatar
    pixhawk committed
             </size>
            </property>
            <property name="baseSize">
             <size>
              <width>30</width>
              <height>30</height>
             </size>
            </property>
            <property name="text">
             <string>...</string>
            </property>
            <property name="icon">
             <iconset resource="../../mavground.qrc">
              <normaloff>:/images/mavs/unknown.svg</normaloff>:/images/mavs/unknown.svg</iconset>
            </property>
            <property name="iconSize">
             <size>
              <width>42</width>
              <height>42</height>
             </size>
            </property>
           </widget>
          </item>
          <item row="0" column="2" rowspan="8">
           <spacer name="horizontalSpacer_2">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
    
            <property name="sizeType">
             <enum>QSizePolicy::MinimumExpanding</enum>
            </property>
    
    pixhawk's avatar
    pixhawk committed
            <property name="sizeHint" stdset="0">
             <size>
    
              <width>4</width>
    
    pixhawk's avatar
    pixhawk committed
              <height>88</height>
             </size>
            </property>
           </spacer>
          </item>
          <item row="0" column="3" colspan="3">
           <widget class="QLabel" name="nameLabel">
            <property name="maximumSize">
             <size>
              <width>16777215</width>
              <height>16</height>
             </size>
            </property>
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
    
    pixhawk's avatar
    pixhawk committed
              <weight>75</weight>
    
    pixhawk's avatar
    pixhawk committed
              <italic>false</italic>
    
    pixhawk's avatar
    pixhawk committed
              <bold>true</bold>
             </font>
            </property>
            <property name="text">
             <string>UAS001</string>
            </property>
           </widget>
          </item>
          <item row="0" column="6" colspan="2">
    
    pixhawk's avatar
    pixhawk committed
           <widget class="QLabel" name="modeLabel">
    
    pixhawk's avatar
    pixhawk committed
            <property name="maximumSize">
             <size>
              <width>16777215</width>
              <height>16</height>
             </size>
            </property>
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
    
    pixhawk's avatar
    pixhawk committed
              <weight>50</weight>
    
    pixhawk's avatar
    pixhawk committed
              <italic>false</italic>
    
    pixhawk's avatar
    pixhawk committed
              <bold>false</bold>
             </font>
            </property>
            <property name="text">
    
    pixhawk's avatar
    pixhawk committed
            </property>
           </widget>
          </item>
          <item row="1" column="3" rowspan="3">
           <widget class="QLabel" name="timeRemainingLabel">
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
             <string>00:00:00</string>
            </property>
           </widget>
          </item>
          <item row="1" column="4" rowspan="3" colspan="2">
           <widget class="QLabel" name="timeElapsedLabel">
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
             <string>00:00:00</string>
            </property>
           </widget>
          </item>
    
    pixhawk's avatar
    pixhawk committed
          <item row="3" column="6" rowspan="2" colspan="2">
    
    pixhawk's avatar
    pixhawk committed
           <widget class="QProgressBar" name="thrustBar">
            <property name="font">
             <font>
              <pointsize>8</pointsize>
             </font>
            </property>
            <property name="value">
             <number>0</number>
            </property>
           </widget>
          </item>
          <item row="4" column="3">
           <widget class="QLabel" name="groundDistanceLabel">
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
             <string>00.00 m</string>
            </property>
           </widget>
          </item>
          <item row="4" column="4" colspan="2">
    
    pixhawk's avatar
    pixhawk committed
           <widget class="QLabel" name="speedLabel">
    
    pixhawk's avatar
    pixhawk committed
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
    
    pixhawk's avatar
    pixhawk committed
             <string>00.0 m/s</string>
    
    pixhawk's avatar
    pixhawk committed
            </property>
           </widget>
          </item>
          <item row="5" column="0" rowspan="3">
           <widget class="QGroupBox" name="heartbeatIcon">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>18</width>
              <height>0</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
              <width>18</width>
              <height>40</height>
             </size>
            </property>
            <property name="title">
             <string/>
            </property>
           </widget>
          </item>
          <item row="5" column="1" rowspan="3">
           <widget class="QProgressBar" name="batteryBar">
            <property name="minimumSize">
             <size>
              <width>18</width>
              <height>0</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
              <width>18</width>
              <height>40</height>
             </size>
            </property>
            <property name="font">
             <font>
              <pointsize>6</pointsize>
             </font>
            </property>
            <property name="value">
             <number>0</number>
            </property>
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
           </widget>
          </item>
          <item row="5" column="3" rowspan="2" colspan="2">
           <widget class="QLabel" name="stateLabel">
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
    
    pixhawk's avatar
    pixhawk committed
            </property>
           </widget>
          </item>
          <item row="7" column="3" colspan="2">
           <widget class="QLabel" name="waypointLabel">
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
    
             <string>---</string>
    
    pixhawk's avatar
    pixhawk committed
            </property>
    
    pixhawk's avatar
    pixhawk committed
            <property name="alignment">
             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
            </property>
    
    pixhawk's avatar
    pixhawk committed
           </widget>
          </item>
    
          <item row="2" column="6" colspan="2">
    
    pixhawk's avatar
    pixhawk committed
           <widget class="QLabel" name="positionLabel">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>12</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
              <width>16777215</width>
              <height>12</height>
             </size>
            </property>
            <property name="font">
             <font>
    
    pixhawk's avatar
    pixhawk committed
              <pointsize>-1</pointsize>
              <weight>50</weight>
              <italic>false</italic>
              <bold>false</bold>
    
    pixhawk's avatar
    pixhawk committed
             </font>
            </property>
            <property name="text">
             <string>00.0  00.0  00.0 m</string>
            </property>
           </widget>
          </item>
          <item row="5" column="6" colspan="2">
           <widget class="QLabel" name="statusTextLabel">
            <property name="maximumSize">
             <size>
              <width>16777215</width>
              <height>12</height>
             </size>
            </property>
            <property name="font">
             <font>
              <pointsize>10</pointsize>
             </font>
            </property>
            <property name="text">
    
    pixhawk's avatar
    pixhawk committed
            </property>
           </widget>
          </item>
    
    pixhawk's avatar
    pixhawk committed
          <item row="6" column="5" rowspan="2" colspan="3">
    
    pixhawk's avatar
    pixhawk committed
           <layout class="QHBoxLayout" name="horizontalLayout">
            <property name="spacing">
             <number>4</number>
            </property>
            <property name="sizeConstraint">
    
    pixhawk's avatar
    pixhawk committed
             <enum>QLayout::SetMinimumSize</enum>
    
    pixhawk's avatar
    pixhawk committed
            </property>
            <item>
             <widget class="QPushButton" name="liftoffButton">
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/control/launch.svg</normaloff>:/images/control/launch.svg</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="haltButton">
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/actions/media-playback-pause.svg</normaloff>:/images/actions/media-playback-pause.svg</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="continueButton">
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/actions/media-playback-start.svg</normaloff>:/images/actions/media-playback-start.svg</iconset>
              </property>
             </widget>
            </item>
            <item>
    
    pixhawk's avatar
    pixhawk committed
             <widget class="QPushButton" name="landButton">
    
    pixhawk's avatar
    pixhawk committed
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/control/land.svg</normaloff>:/images/control/land.svg</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="shutdownButton">
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
    
    pixhawk's avatar
    pixhawk committed
                <normaloff>:/images/actions/system-log-out.svg</normaloff>:/images/actions/system-log-out.svg</iconset>
    
    pixhawk's avatar
    pixhawk committed
              </property>
             </widget>
            </item>
            <item>
    
    pixhawk's avatar
    pixhawk committed
             <widget class="QPushButton" name="abortButton">
    
    pixhawk's avatar
    pixhawk committed
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/actions/media-playback-stop.svg</normaloff>:/images/actions/media-playback-stop.svg</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="killButton">
              <property name="minimumSize">
               <size>
    
                <width>26</width>
    
    pixhawk's avatar
    pixhawk committed
                <height>22</height>
               </size>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="../../mavground.qrc">
                <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
     <resources>
      <include location="../../mavground.qrc"/>
     </resources>
     <connections/>
    </ui>