WaypointList.ui 14.3 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>
lm's avatar
lm committed
35
36
37
   <property name="spacing">
    <number>0</number>
   </property>
38
39
   <item row="0" column="0">
    <widget class="QTabWidget" name="tabWidget">
40
41
42
     <property name="enabled">
      <bool>true</bool>
     </property>
43
     <property name="currentIndex">
44
      <number>0</number>
45
46
47
     </property>
     <widget class="QWidget" name="editTab">
      <attribute name="title">
48
       <string>Edit Waypoints</string>
49
50
      </attribute>
      <layout class="QGridLayout" name="gridLayout_2">
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>
lm's avatar
lm committed
63
       <property name="spacing">
64
65
        <number>6</number>
       </property>
66
67
       <item row="1" column="6">
        <widget class="QToolButton" name="addButton">
68
         <property name="toolTip">
69
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
70
71
         </property>
         <property name="statusTip">
72
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
73
74
         </property>
         <property name="whatsThis">
75
          <string>Add a new waypoint to this list. Transmit via write to the MAV.</string>
76
77
         </property>
         <property name="text">
78
79
80
81
82
          <string>...</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/files/images/actions/list-add.svg</normaloff>:/files/images/actions/list-add.svg</iconset>
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
         </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>
115
116
       <item row="1" column="0">
        <widget class="QPushButton" name="saveButton">
117
         <property name="toolTip">
118
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
119
120
         </property>
         <property name="statusTip">
121
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
122
123
         </property>
         <property name="whatsThis">
124
          <string>Save waypoints to a file on the local harddisk. Does not save them on the MAV.</string>
125
126
         </property>
         <property name="text">
127
          <string>Save WPs</string>
128
129
130
         </property>
        </widget>
       </item>
131
132
       <item row="1" column="2">
        <widget class="QLabel" name="statusLabel">
133
         <property name="toolTip">
134
          <string>The current waypoint transmission status</string>
135
136
         </property>
         <property name="statusTip">
137
          <string>The current waypoint transmission status</string>
138
139
         </property>
         <property name="whatsThis">
140
          <string>The current waypoint transmission status</string>
141
142
         </property>
         <property name="text">
143
          <string>Please add first waypoint.</string>
144
145
146
         </property>
        </widget>
       </item>
147
148
149
150
       <item row="0" column="0" colspan="10">
        <widget class="QScrollArea" name="scrollArea">
         <property name="widgetResizable">
          <bool>true</bool>
151
         </property>
152
153
154
155
156
         <widget class="QWidget" name="scrollAreaWidgetContents">
          <property name="geometry">
           <rect>
            <x>0</x>
            <y>0</y>
157
158
            <width>834</width>
            <height>325</height>
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
           </rect>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_2">
           <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>
177
178
        </widget>
       </item>
179
       <item row="1" column="8">
180
        <widget class="QPushButton" name="readButton">
181
182
183
         <property name="enabled">
          <bool>false</bool>
         </property>
184
185
186
187
188
189
190
191
192
193
         <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">
Jessica's avatar
Jessica committed
194
          <string>Get</string>
195
196
197
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
198
           <normaloff>:/files/images/status/software-update-available.svg</normaloff>:/files/images/status/software-update-available.svg</iconset>
199
200
201
         </property>
        </widget>
       </item>
202
       <item row="1" column="9">
203
        <widget class="QPushButton" name="transmitButton">
204
205
206
         <property name="enabled">
          <bool>false</bool>
         </property>
207
208
209
210
211
212
213
214
215
216
         <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">
Jessica's avatar
Jessica committed
217
          <string>Set</string>
218
219
220
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
221
           <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
222
223
224
         </property>
        </widget>
       </item>
225
226
       <item row="1" column="7">
        <widget class="QToolButton" name="clearWPListButton">
227
         <property name="toolTip">
228
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
229
230
         </property>
         <property name="statusTip">
231
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
232
233
         </property>
         <property name="whatsThis">
234
          <string>Delete all waypoints from this list. You have to click write to clear the list on the MAV as well.</string>
235
236
         </property>
         <property name="text">
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
          <string>...</string>
         </property>
         <property name="icon">
          <iconset resource="../../qgroundcontrol.qrc">
           <normaloff>:/files/images/actions/process-stop.svg</normaloff>:/files/images/actions/process-stop.svg</iconset>
         </property>
        </widget>
       </item>
       <item row="1" column="5">
        <widget class="QToolButton" name="positionAddButton">
         <property name="enabled">
          <bool>false</bool>
         </property>
         <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>:/files/images/actions/go-bottom.svg</normaloff>:/files/images/actions/go-bottom.svg</iconset>
265
266
267
         </property>
        </widget>
       </item>
268
269
270
271
      </layout>
     </widget>
     <widget class="QWidget" name="viewTab">
      <attribute name="title">
272
       <string>Onboard Waypoints</string>
273
274
      </attribute>
      <layout class="QGridLayout" name="gridLayout_3">
275
276
277
278
279
280
281
282
283
284
285
286
       <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>
287
       <item row="0" column="0" colspan="3">
288
289
290
291
292
293
294
295
296
        <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>
297
298
            <width>834</width>
            <height>323</height>
299
300
301
302
303
           </rect>
          </property>
          <property name="autoFillBackground">
           <bool>true</bool>
          </property>
pixhawk's avatar
pixhawk committed
304
          <layout class="QVBoxLayout" name="verticalLayout">
305
306
307
308
309
           <item>
            <widget class="QWidget" name="viewOnlyListWidget" native="true">
             <property name="enabled">
              <bool>true</bool>
             </property>
pixhawk's avatar
pixhawk committed
310
311
             <property name="maximumSize">
              <size>
312
               <width>16777215</width>
pixhawk's avatar
pixhawk committed
313
314
315
               <height>16777215</height>
              </size>
             </property>
316
317
318
319
320
321
            </widget>
           </item>
          </layout>
         </widget>
        </widget>
       </item>
pixhawk's avatar
pixhawk committed
322
323
324
325
326
327
328
       <item row="1" column="0">
        <widget class="QLabel" name="viewStatusLabel">
         <property name="text">
          <string/>
         </property>
        </widget>
       </item>
329
       <item row="1" column="1">
330
331
332
333
334
335
336
337
338
339
340
341
        <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>
342
       <item row="1" column="2">
343
        <widget class="QPushButton" name="refreshButton">
344
345
346
         <property name="enabled">
          <bool>false</bool>
         </property>
347
348
349
350
351
352
353
354
355
356
357
358
359
360
         <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">
361
           <normaloff>:/files/images/actions/go-jump.svg</normaloff>:/files/images/actions/go-jump.svg</iconset>
362
363
         </property>
        </widget>
pixhawk's avatar
pixhawk committed
364
365
366
367
368
369
370
371
       </item>
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
  <action name="actionAddWaypoint">
   <property name="icon">
372
    <iconset resource="../../qgroundcontrol.qrc">
373
     <normaloff>:/files/images/actions/list-add.svg</normaloff>:/files/images/actions/list-add.svg</iconset>
pixhawk's avatar
pixhawk committed
374
375
376
377
378
379
380
381
382
383
   </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">
384
    <iconset resource="../../qgroundcontrol.qrc">
385
     <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
pixhawk's avatar
pixhawk committed
386
387
388
389
390
391
392
393
   </property>
   <property name="text">
    <string>Transmit</string>
   </property>
   <property name="toolTip">
    <string>Transmit waypoints to unmanned system</string>
   </property>
  </action>
394
395
  <action name="actionRead">
   <property name="icon">
396
    <iconset resource="../../qgroundcontrol.qrc">
397
     <normaloff>:/files/images/status/software-update-available.svg</normaloff>:/files/images/status/software-update-available.svg</iconset>
398
399
   </property>
   <property name="text">
Jessica's avatar
Jessica committed
400
    <string>Read</string>
401
402
   </property>
  </action>
pixhawk's avatar
pixhawk committed
403
404
 </widget>
 <resources>
405
  <include location="../../qgroundcontrol.qrc"/>
pixhawk's avatar
pixhawk committed
406
407
408
 </resources>
 <connections/>
</ui>