WaypointList.ui 5.47 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>WaypointList</class>
 <widget class="QWidget" name="WaypointList">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>476</width>
    <height>218</height>
pixhawk's avatar
pixhawk committed
11 12 13 14 15 16 17 18 19 20 21
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>100</width>
    <height>120</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
22
  <layout class="QGridLayout" name="gridLayout" rowstretch="100,0,0,0">
pixhawk's avatar
pixhawk committed
23 24 25 26 27 28
   <property name="margin">
    <number>4</number>
   </property>
   <property name="spacing">
    <number>4</number>
   </property>
29
   <item row="0" column="0" colspan="10">
pixhawk's avatar
pixhawk committed
30 31 32 33 34 35 36 37 38
    <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>
39
        <width>466</width>
40
        <height>163</height>
pixhawk's avatar
pixhawk committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
       </rect>
      </property>
      <layout class="QHBoxLayout" name="horizontalLayout">
       <property name="spacing">
        <number>0</number>
       </property>
       <property name="margin">
        <number>4</number>
       </property>
       <item>
        <widget class="QWidget" name="listWidget" native="true"/>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
57
   <item row="2" column="8">
58
    <widget class="QPushButton" name="readButton">
pixhawk's avatar
pixhawk committed
59
     <property name="text">
60
      <string>Read</string>
pixhawk's avatar
pixhawk committed
61 62 63
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
64
       <normaloff>:/images/status/software-update-available.svg</normaloff>:/images/status/software-update-available.svg</iconset>
pixhawk's avatar
pixhawk committed
65 66 67
     </property>
    </widget>
   </item>
68
   <item row="2" column="9">
69
    <widget class="QPushButton" name="transmitButton">
pixhawk's avatar
pixhawk committed
70
     <property name="text">
71 72 73 74 75
      <string>Write</string>
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
       <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
pixhawk's avatar
pixhawk committed
76 77 78
     </property>
    </widget>
   </item>
79
   <item row="3" column="0" colspan="10">
80
    <widget class="QLabel" name="statusLabel">
pixhawk's avatar
pixhawk committed
81
     <property name="text">
82
      <string>TextLabel</string>
pixhawk's avatar
pixhawk committed
83 84 85
     </property>
    </widget>
   </item>
86
   <item row="2" column="6">
87
    <widget class="QToolButton" name="addButton">
88
     <property name="text">
89
      <string>...</string>
90 91 92
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
93
       <normaloff>:/images/actions/list-add.svg</normaloff>:/images/actions/list-add.svg</iconset>
94 95 96
     </property>
    </widget>
   </item>
97 98
   <item row="2" column="3">
    <widget class="QPushButton" name="loadButton">
99
     <property name="text">
100
      <string>Load WPs</string>
101
     </property>
102 103 104 105 106 107
    </widget>
   </item>
   <item row="2" column="2">
    <widget class="QPushButton" name="saveButton">
     <property name="text">
      <string>Save WPs</string>
108 109 110
     </property>
    </widget>
   </item>
111 112 113 114 115 116 117 118 119 120 121 122 123
   <item row="2" column="4">
    <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>
124 125 126 127 128 129 130 131 132 133 134 135 136 137
   <item row="2" column="5">
    <widget class="QToolButton" name="positionAddButton">
     <property name="toolTip">
      <string>Set the current vehicle position as new waypoint</string>
     </property>
     <property name="text">
      <string>...</string>
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
       <normaloff>:/images/actions/go-bottom.svg</normaloff>:/images/actions/go-bottom.svg</iconset>
     </property>
    </widget>
   </item>
138 139 140 141 142 143 144 145 146 147 148
   <item row="2" column="7">
    <widget class="QPushButton" name="clearWPListButton">
     <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>
pixhawk's avatar
pixhawk committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
  </layout>
  <action name="actionAddWaypoint">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <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="../../mavground.qrc">
     <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>
174 175 176 177 178 179 180 181 182
  <action name="actionRead">
   <property name="icon">
    <iconset resource="../../mavground.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
183 184 185 186 187 188
 </widget>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections/>
</ui>