WaypointList.ui 14.7 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>854</width>
    <height>398</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">
23 24 25 26 27 28 29 30 31 32 33 34
   <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>
35 36 37
   <item row="0" column="0">
    <widget class="QTabWidget" name="tabWidget">
     <property name="currentIndex">
38
      <number>1</number>
39 40 41
     </property>
     <widget class="QWidget" name="editTab">
      <attribute name="title">
42
       <string>Edit Waypoints</string>
43 44
      </attribute>
      <layout class="QGridLayout" name="gridLayout_2">
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
       <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>
       <property name="horizontalSpacing">
        <number>12</number>
       </property>
       <property name="verticalSpacing">
        <number>6</number>
       </property>
63 64 65 66 67 68 69 70 71 72
       <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>
73 74
            <width>834</width>
            <height>325</height>
75 76 77 78 79 80
           </rect>
          </property>
          <layout class="QHBoxLayout" name="horizontalLayout">
           <property name="spacing">
            <number>0</number>
           </property>
81 82 83 84 85 86 87 88 89 90
           <property name="leftMargin">
            <number>4</number>
           </property>
           <property name="topMargin">
            <number>8</number>
           </property>
           <property name="rightMargin">
            <number>4</number>
           </property>
           <property name="bottomMargin">
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
            <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">
157
         <property name="toolTip">
158
          <string>Set the current vehicle position as new waypoint</string>
159 160
         </property>
         <property name="statusTip">
161
          <string>Set the current vehicle position as new waypoint</string>
162 163
         </property>
         <property name="whatsThis">
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
          <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>
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
       <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>
271 272 273 274
      </layout>
     </widget>
     <widget class="QWidget" name="viewTab">
      <attribute name="title">
275
       <string>Onboard Waypoints</string>
276 277
      </attribute>
      <layout class="QGridLayout" name="gridLayout_3">
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
       <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>
       <property name="horizontalSpacing">
        <number>12</number>
       </property>
       <property name="verticalSpacing">
        <number>6</number>
       </property>
       <item row="0" column="0" colspan="3">
297 298 299 300 301 302 303 304 305
        <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>
306 307
            <width>834</width>
            <height>331</height>
308 309 310 311 312 313
           </rect>
          </property>
          <property name="autoFillBackground">
           <bool>true</bool>
          </property>
          <layout class="QHBoxLayout" name="horizontalLayout_3">
314 315 316 317 318 319 320 321 322 323 324 325
           <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>
326 327 328 329 330 331 332 333 334 335 336
           <item>
            <widget class="QWidget" name="viewOnlyListWidget" native="true">
             <property name="enabled">
              <bool>true</bool>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
        </widget>
       </item>
337
       <item row="1" column="1">
338 339 340 341 342 343 344 345 346 347 348 349
        <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>
350
       <item row="1" column="2">
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
        <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>
367 368
         </property>
        </widget>
pixhawk's avatar
pixhawk committed
369
       </item>
370 371 372 373 374 375 376
       <item row="1" column="0">
        <widget class="QLabel" name="viewStatusLabel">
         <property name="text">
          <string>TextLabel</string>
         </property>
        </widget>
       </item>
pixhawk's avatar
pixhawk committed
377 378 379 380 381 382 383
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
  <action name="actionAddWaypoint">
   <property name="icon">
384
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
385 386 387 388 389 390 391 392 393 394 395
     <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">
396
    <iconset resource="../../qgroundcontrol.qrc">
pixhawk's avatar
pixhawk committed
397 398 399 400 401 402 403 404 405
     <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>
406 407
  <action name="actionRead">
   <property name="icon">
408
    <iconset resource="../../qgroundcontrol.qrc">
409 410 411 412 413 414
     <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
415 416
 </widget>
 <resources>
417
  <include location="../../qgroundcontrol.qrc"/>
pixhawk's avatar
pixhawk committed
418 419 420
 </resources>
 <connections/>
</ui>