WaypointList.ui 9.23 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
    <width>798</width>
10
    <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" columnstretch="1,1,5,5,100,10,5,5,5,5,5">
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="11">
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 40
        <width>786</width>
        <height>174</height>
pixhawk's avatar
pixhawk committed
41 42 43 44 45 46 47 48 49 50
       </rect>
      </property>
      <layout class="QHBoxLayout" name="horizontalLayout">
       <property name="spacing">
        <number>0</number>
       </property>
       <property name="margin">
        <number>4</number>
       </property>
       <item>
51 52 53 54 55 56 57 58 59 60 61
        <widget class="QWidget" name="listWidget" 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>
pixhawk's avatar
pixhawk committed
62 63 64 65 66
       </item>
      </layout>
     </widget>
    </widget>
   </item>
67
   <item row="2" column="9">
68
    <widget class="QPushButton" name="readButton">
69 70 71 72 73 74 75 76 77
     <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>
pixhawk's avatar
pixhawk committed
78
     <property name="text">
79
      <string>Read</string>
pixhawk's avatar
pixhawk committed
80 81
     </property>
     <property name="icon">
82
      <iconset resource="../../qgroundcontrol.qrc">
83
       <normaloff>:/images/status/software-update-available.svg</normaloff>:/images/status/software-update-available.svg</iconset>
pixhawk's avatar
pixhawk committed
84 85 86
     </property>
    </widget>
   </item>
87
   <item row="2" column="10">
88
    <widget class="QPushButton" name="transmitButton">
89 90 91 92 93 94 95 96 97
     <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>
pixhawk's avatar
pixhawk committed
98
     <property name="text">
99 100 101
      <string>Write</string>
     </property>
     <property name="icon">
102
      <iconset resource="../../qgroundcontrol.qrc">
103
       <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
pixhawk's avatar
pixhawk committed
104 105 106
     </property>
    </widget>
   </item>
107
   <item row="2" column="7">
108
    <widget class="QToolButton" name="addButton">
109 110 111 112 113 114 115 116 117
     <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>
118
     <property name="text">
119
      <string>...</string>
120 121
     </property>
     <property name="icon">
122
      <iconset resource="../../qgroundcontrol.qrc">
123
       <normaloff>:/images/actions/list-add.svg</normaloff>:/images/actions/list-add.svg</iconset>
124 125 126
     </property>
    </widget>
   </item>
127 128
   <item row="2" column="3">
    <widget class="QPushButton" name="loadButton">
129 130 131 132 133 134 135 136 137
     <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>
138
     <property name="text">
139
      <string>Load WPs</string>
140
     </property>
141 142 143 144
    </widget>
   </item>
   <item row="2" column="2">
    <widget class="QPushButton" name="saveButton">
145 146 147 148 149 150 151 152 153
     <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>
154 155
     <property name="text">
      <string>Save WPs</string>
156 157 158
     </property>
    </widget>
   </item>
159
   <item row="2" column="5">
160 161 162 163 164 165 166 167 168 169 170 171
    <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>
172
   <item row="2" column="6">
173 174 175 176
    <widget class="QToolButton" name="positionAddButton">
     <property name="toolTip">
      <string>Set the current vehicle position as new waypoint</string>
     </property>
177 178 179 180 181 182
     <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>
183 184 185 186
     <property name="text">
      <string>...</string>
     </property>
     <property name="icon">
187
      <iconset resource="../../qgroundcontrol.qrc">
188 189 190 191
       <normaloff>:/images/actions/go-bottom.svg</normaloff>:/images/actions/go-bottom.svg</iconset>
     </property>
    </widget>
   </item>
192
   <item row="2" column="8">
193 194 195 196 197 198 199 200 201 202
    <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>
203
     <property name="text">
204
      <string>...</string>
205 206
     </property>
     <property name="icon">
207
      <iconset resource="../../qgroundcontrol.qrc">
208 209 210 211
       <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
     </property>
    </widget>
   </item>
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
   <item row="2" column="4">
    <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>
pixhawk's avatar
pixhawk committed
228 229 230
  </layout>
  <action name="actionAddWaypoint">
   <property name="icon">
231
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
232 233 234 235 236 237 238 239 240 241 242
     <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">
243
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
244 245 246 247 248 249 250 251 252
     <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>
253 254
  <action name="actionRead">
   <property name="icon">
255
    <iconset resource="../../qgroundcontrol.qrc">
256 257 258 259 260 261
     <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
262 263
 </widget>
 <resources>
264
  <include location="../../qgroundcontrol.qrc"/>
pixhawk's avatar
pixhawk committed
265 266 267
 </resources>
 <connections/>
</ui>