Skip to content
WaypointList.ui 15.7 KiB
Newer Older
pixhawk's avatar
pixhawk committed
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WaypointList</class>
 <widget class="QWidget" name="WaypointList">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>854</width>
    <height>398</height>
pixhawk's avatar
pixhawk committed
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>100</width>
    <height>120</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>8</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
    <number>0</number>
   </property>
lm's avatar
lm committed
   <property name="spacing">
    <number>0</number>
   </property>
   <item row="0" column="0">
    <widget class="QTabWidget" name="tabWidget">
     <property name="currentIndex">
pixhawk's avatar
pixhawk committed
      <number>1</number>
     </property>
     <widget class="QWidget" name="editTab">
      <attribute name="title">
       <string>Edit Waypoints</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_2">
       <property name="leftMargin">
        <number>6</number>
       </property>
       <property name="topMargin">
        <number>0</number>
       </property>
       <property name="rightMargin">
        <number>6</number>
       </property>
       <property name="bottomMargin">
        <number>6</number>
       </property>
lm's avatar
lm committed
       <property name="spacing">
        <number>6</number>
       </property>
       <item row="0" column="0" colspan="9">
        <widget class="QScrollArea" name="scrollArea">
         <property name="widgetResizable">
          <bool>true</bool>
         </property>
         <widget class="QWidget" name="scrollAreaWidgetContents">
          <property name="geometry">
           <rect>
            <x>0</x>
            <y>0</y>
            <width>836</width>
            <height>316</height>
           </rect>
          </property>
          <layout class="QHBoxLayout" name="horizontalLayout">
           <property name="spacing">
            <number>0</number>
           </property>
           <property name="leftMargin">
            <number>4</number>
           </property>
           <property name="topMargin">
            <number>8</number>
           </property>
           <property name="rightMargin">
            <number>4</number>
           </property>
           <property name="bottomMargin">
            <number>4</number>
           </property>
           <item>
            <widget class="QWidget" name="editableListWidget" native="true">
             <property name="toolTip">
              <string>Waypoint list. The list is empty until you issue a read command or add waypoints.</string>
             </property>
             <property name="statusTip">
              <string>Waypoint list. The list is empty until you issue a read command or add waypoints.</string>
             </property>
             <property name="whatsThis">
              <string>Waypoint list. The list is empty until you issue a read command or add waypoints.</string>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
        </widget>
       </item>
       <item row="1" column="0">
        <widget class="QPushButton" name="saveButton">
         <property name="toolTip">
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
         </property>
         <property name="statusTip">
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
         </property>
         <property name="whatsThis">
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
         </property>
         <property name="text">
          <string>Save WPs</string>
         </property>
        </widget>
       </item>
       <item row="1" column="1">
        <widget class="QPushButton" name="loadButton">
         <property name="toolTip">
          <string>Load waypoints from a file on the local harddisk. Does not load the waypoints on the MAV.</string>
         </property>
         <property name="statusTip">
          <string>Load waypoints from a file on the local harddisk. Does not load the waypoints on the MAV.</string>
         </property>
         <property name="whatsThis">
          <string>Load waypoints from a file on the local harddisk. Does not load the waypoints on the MAV.</string>
         </property>
         <property name="text">
          <string>Load WPs</string>
         </property>
        </widget>
       </item>
       <item row="1" column="3">
        <spacer name="horizontalSpacer">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>127</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item row="1" column="4">
        <widget class="QToolButton" name="positionAddButton">
         <property name="toolTip">
          <string>Set the current vehicle position as new waypoint</string>
         </property>
         <property name="statusTip">
          <string>Set the current vehicle position as new waypoint</string>
         </property>
         <property name="whatsThis">
          <string>Set the current vehicle position as new waypoint</string>
         </property>
         <property name="text">
          <string>...</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/actions/go-bottom.svg</normaloff>:/images/actions/go-bottom.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="5">
        <widget class="QToolButton" name="addButton">
         <property name="toolTip">
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
         </property>
         <property name="statusTip">
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
         </property>
         <property name="whatsThis">
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
         </property>
         <property name="text">
          <string>...</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/actions/list-add.svg</normaloff>:/images/actions/list-add.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="6">
        <widget class="QToolButton" name="clearWPListButton">
         <property name="toolTip">
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
         </property>
         <property name="statusTip">
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
         </property>
         <property name="whatsThis">
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
         </property>
         <property name="text">
          <string>...</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="7">
        <widget class="QPushButton" name="readButton">
         <property name="toolTip">
          <string>Read all waypoints from the MAV. Clears the list on this computer.</string>
         </property>
         <property name="statusTip">
          <string>Read all waypoints from the MAV. Clears the list on this computer.</string>
         </property>
         <property name="whatsThis">
          <string>Read all waypoints from the MAV. Clears the list on this computer.</string>
         </property>
         <property name="text">
          <string>Read</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/status/software-update-available.svg</normaloff>:/images/status/software-update-available.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="8">
        <widget class="QPushButton" name="transmitButton">
         <property name="toolTip">
          <string>Transmit all waypoints on this list to the MAV.</string>
         </property>
         <property name="statusTip">
          <string>Transmit all waypoints on this list to the MAV.</string>
         </property>
         <property name="whatsThis">
          <string>Transmit all waypoints on this list to the MAV.</string>
         </property>
         <property name="text">
          <string>Write</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="2">
        <widget class="QLabel" name="statusLabel">
         <property name="toolTip">
          <string>The current waypoint transmission status</string>
         </property>
         <property name="statusTip">
          <string>The current waypoint transmission status</string>
         </property>
         <property name="whatsThis">
          <string>The current waypoint transmission status</string>
         </property>
         <property name="text">
          <string>Please add first waypoint.</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="viewTab">
      <attribute name="title">
       <string>Onboard Waypoints</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_3">
       <item row="0" column="0" colspan="3">
        <widget class="QScrollArea" name="readOnlyScrollArea">
         <property name="widgetResizable">
          <bool>true</bool>
         </property>
         <widget class="QWidget" name="scrollAreaWidgetContents_2">
          <property name="geometry">
           <rect>
            <x>0</x>
            <y>0</y>
pixhawk's avatar
pixhawk committed
            <width>830</width>
            <height>304</height>
           </rect>
          </property>
          <property name="autoFillBackground">
           <bool>true</bool>
          </property>
pixhawk's avatar
pixhawk committed
          <layout class="QVBoxLayout" name="verticalLayout">
           <item>
            <widget class="QWidget" name="viewOnlyListWidget" native="true">
             <property name="enabled">
              <bool>true</bool>
             </property>
pixhawk's avatar
pixhawk committed
             <property name="maximumSize">
              <size>
               <width>828</width>
               <height>16777215</height>
              </size>
             </property>
             <layout class="QGridLayout" name="gridLayout_4">
              <item row="0" column="0">
               <widget class="QLabel" name="label">
                <property name="text">
                 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:36pt;&quot;&gt;MAV ##&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                </property>
               </widget>
              </item>
             </layout>
            </widget>
           </item>
          </layout>
         </widget>
        </widget>
       </item>
pixhawk's avatar
pixhawk committed
       <item row="1" column="0">
        <widget class="QLabel" name="viewStatusLabel">
         <property name="text">
          <string/>
         </property>
        </widget>
       </item>
       <item row="1" column="1">
        <spacer name="horizontalSpacer_2">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>714</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item row="1" column="2">
        <widget class="QPushButton" name="refreshButton">
         <property name="toolTip">
          <string>Read all waypoints from the MAV and display in View tab..</string>
         </property>
         <property name="statusTip">
          <string>Read all waypoints from the MAV and display in View tab..</string>
         </property>
         <property name="whatsThis">
          <string>Read all waypoints from the MAV and display in View tab.</string>
         </property>
         <property name="text">
          <string>Refresh</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/images/actions/go-jump.svg</normaloff>:/images/actions/go-jump.svg</iconset>
         </property>
        </widget>
pixhawk's avatar
pixhawk committed
       </item>
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
  <action name="actionAddWaypoint">
   <property name="icon">
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
     <normaloff>:/images/actions/list-add.svg</normaloff>:/images/actions/list-add.svg</iconset>
   </property>
   <property name="text">
    <string>Add Waypoint</string>
   </property>
   <property name="toolTip">
    <string>Add a new waypoint to the end of the list</string>
   </property>
  </action>
  <action name="actionTransmit">
   <property name="icon">
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
     <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
   </property>
   <property name="text">
    <string>Transmit</string>
   </property>
   <property name="toolTip">
    <string>Transmit waypoints to unmanned system</string>
   </property>
  </action>
  <action name="actionRead">
   <property name="icon">
    <iconset resource="../../qgroundcontrol.qrc">
     <normaloff>:/images/status/software-update-available.svg</normaloff>:/images/status/software-update-available.svg</iconset>
   </property>
   <property name="text">
    <string>Read</string>
   </property>
  </action>
pixhawk's avatar
pixhawk committed
 </widget>
 <resources>
  <include location="../../qgroundcontrol.qrc"/>
pixhawk's avatar
pixhawk committed
 </resources>
 <connections/>
</ui>