mainguiwindow.ui 16.4 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainGUIWindow</class>
 <widget class="QMainWindow" name="MainGUIWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
roangel's avatar
roangel committed
9
    <width>866</width>
10
    <height>763</height>
11
12
13
14
15
16
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainGUIWindow</string>
  </property>
  <widget class="QWidget" name="centralWidget">
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
   <layout class="QGridLayout" name="gridLayout_3">
    <item row="0" column="0">
     <widget class="QFrame" name="frame_drawing">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="frameShape">
       <enum>QFrame::StyledPanel</enum>
      </property>
      <property name="frameShadow">
       <enum>QFrame::Raised</enum>
      </property>
      <layout class="QGridLayout" name="gridLayout_4">
       <item row="2" column="1">
        <widget class="QPushButton" name="pushButton_fitAll">
         <property name="text">
          <string>Fit All</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0">
        <widget class="QPushButton" name="removeTable">
         <property name="text">
          <string>Remove Table</string>
         </property>
        </widget>
       </item>
       <item row="0" column="1">
        <widget class="QGroupBox" name="groupBox">
49
50
51
52
53
54
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
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
157
158
159
160
161
162
163
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
         <property name="title">
          <string>Creation Modes</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout">
          <item>
           <widget class="QRadioButton" name="radioButton_table_mode">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Tables</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QRadioButton" name="radioButton_crazyfly_zones_mode">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>CrazyFly Zones</string>
            </property>
            <property name="checkable">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QRadioButton" name="radioButton_lock_mode">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Lock</string>
            </property>
            <property name="checkable">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="1" column="1">
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>What to show</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_5">
          <item row="3" column="0">
           <widget class="QCheckBox" name="checkBox_grid">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Show Grid</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="4" column="0">
           <widget class="QCheckBox" name="checkBox_table">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Show Table</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="7" column="0">
           <widget class="QCheckBox" name="checkBox_vicon_crazyflies">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Show CFs</string>
            </property>
            <property name="checked">
             <bool>false</bool>
            </property>
           </widget>
          </item>
          <item row="0" column="0">
           <widget class="QCheckBox" name="checkBox_crazyfly_zones">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Show CF Zones</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QCheckBox" name="checkBox_vicon_markers">
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Show Markers</string>
            </property>
            <property name="checked">
             <bool>false</bool>
            </property>
           </widget>
          </item>
          <item row="7" column="1">
189
           <widget class="QDoubleSpinBox" name="scaleSpinBox">
190
191
192
193
194
195
196
            <property name="font">
             <font>
              <pointsize>7</pointsize>
             </font>
            </property>
           </widget>
          </item>
197
          <item row="1" column="1">
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
           <widget class="QCheckBox" name="checkBox_vicon_highlight_markers">
            <property name="font">
             <font>
              <pointsize>6</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Highlight Markers</string>
            </property>
            <property name="checkable">
             <bool>false</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
roangel's avatar
roangel committed
215
216
217
218
219
220
221
222
223
224
225
226
227
       <item row="0" column="0" rowspan="2">
        <widget class="myGraphicsView" name="graphicsView">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="mouseTracking">
          <bool>true</bool>
         </property>
        </widget>
       </item>
228
229
230
231
232
233
      </layout>
      <zorder>graphicsView</zorder>
      <zorder>removeTable</zorder>
      <zorder>groupBox</zorder>
      <zorder>groupBox_2</zorder>
      <zorder>pushButton_fitAll</zorder>
234
     </widget>
235
236
237
238
239
240
241
242
    </item>
    <item row="0" column="1">
     <widget class="QFrame" name="frame_3">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
243
      </property>
244
245
      <property name="frameShape">
       <enum>QFrame::StyledPanel</enum>
246
      </property>
247
248
      <property name="frameShadow">
       <enum>QFrame::Raised</enum>
249
      </property>
roangel's avatar
roangel committed
250
251
252
253
254
255
256
257
258
259
260
      <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
        <widget class="QTabWidget" name="tabWidget_2">
         <property name="currentIndex">
          <number>0</number>
         </property>
         <widget class="QWidget" name="links_tab">
          <attribute name="title">
           <string>Links</string>
          </attribute>
          <layout class="QGridLayout" name="gridLayout">
261
262
           <item row="5" column="1" colspan="6">
            <widget class="QLabel" name="err_message_student_id">
roangel's avatar
roangel committed
263
264
265
266
267
268
269
270
271
272
             <property name="font">
              <font>
               <pointsize>7</pointsize>
              </font>
             </property>
             <property name="text">
              <string>TextLabel</string>
             </property>
            </widget>
           </item>
273
           <item row="14" column="1" colspan="6">
274
            <widget class="QLabel" name="err_message_cf_zone">
roangel's avatar
roangel committed
275
276
277
278
279
280
281
282
283
284
             <property name="font">
              <font>
               <pointsize>7</pointsize>
              </font>
             </property>
             <property name="text">
              <string>TextLabel</string>
             </property>
            </widget>
           </item>
285
286
           <item row="9" column="1" colspan="6">
            <widget class="QLabel" name="err_message_cf">
roangel's avatar
roangel committed
287
288
289
290
291
292
293
294
295
296
             <property name="font">
              <font>
               <pointsize>7</pointsize>
              </font>
             </property>
             <property name="text">
              <string>TextLabel</string>
             </property>
            </widget>
           </item>
roangel's avatar
roangel committed
297
           <item row="4" column="1">
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
            <widget class="QSpinBox" name="spinBox_student_ids">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimum">
              <number>1</number>
             </property>
             <property name="maximum">
              <number>20</number>
             </property>
             <property name="value">
              <number>1</number>
             </property>
            </widget>
           </item>
           <item row="2" column="1">
            <widget class="QListWidget" name="list_discovered_student_ids">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
           </item>
326
           <item row="13" column="1">
327
328
329
330
331
            <widget class="QComboBox" name="comboBoxCFZones"/>
           </item>
           <item row="8" column="1">
            <widget class="QComboBox" name="comboBoxCFs"/>
           </item>
332
333
           <item row="3" column="1">
            <widget class="QLabel" name="label_4">
roangel's avatar
roangel committed
334
             <property name="text">
335
              <string>Choose Student ID:</string>
roangel's avatar
roangel committed
336
337
338
             </property>
            </widget>
           </item>
339
           <item row="6" column="1">
roangel's avatar
roangel committed
340
341
342
343
344
345
            <widget class="QLabel" name="label_2">
             <property name="text">
              <string>Choose CF to link:</string>
             </property>
            </widget>
           </item>
346
           <item row="12" column="1">
roangel's avatar
roangel committed
347
348
349
350
351
352
            <widget class="QLabel" name="label_3">
             <property name="text">
              <string>Choose CF Zone to link:</string>
             </property>
            </widget>
           </item>
353
           <item row="8" column="6">
roangel's avatar
roangel committed
354
355
356
            <widget class="QPushButton" name="refresh_cfs_button">
             <property name="text">
              <string>Refresh CFs</string>
357
             </property>
roangel's avatar
roangel committed
358
359
            </widget>
           </item>
360
           <item row="2" column="6">
roangel's avatar
roangel committed
361
362
363
            <widget class="QPushButton" name="refresh_student_ids_button">
             <property name="text">
              <string>Refresh IDs</string>
364
             </property>
roangel's avatar
roangel committed
365
366
            </widget>
           </item>
367
           <item row="15" column="1" colspan="6">
368
            <widget class="QTableWidget" name="table_links">
369
370
             <property name="minimumSize">
              <size>
roangel's avatar
roangel committed
371
               <width>273</width>
372
373
374
               <height>0</height>
              </size>
             </property>
375
376
377
378
379
380
381
382
383
384
             <property name="wordWrap">
              <bool>true</bool>
             </property>
             <property name="rowCount">
              <number>0</number>
             </property>
             <property name="columnCount">
              <number>0</number>
             </property>
             <attribute name="horizontalHeaderVisible">
roangel's avatar
roangel committed
385
              <bool>true</bool>
386
387
388
             </attribute>
            </widget>
           </item>
389
           <item row="13" column="6">
390
391
392
393
394
395
            <widget class="QPushButton" name="link_button">
             <property name="text">
              <string>Link!</string>
             </property>
            </widget>
           </item>
396
           <item row="17" column="6">
397
398
399
400
401
402
            <widget class="QPushButton" name="unlink_button">
             <property name="text">
              <string>Unlink!</string>
             </property>
            </widget>
           </item>
403
           <item row="19" column="6">
404
405
406
407
408
409
            <widget class="QPushButton" name="save_in_DB_button">
             <property name="text">
              <string>Save in DB</string>
             </property>
            </widget>
           </item>
410
           <item row="18" column="6">
411
412
413
414
415
416
            <widget class="QPushButton" name="load_from_DB_button">
             <property name="text">
              <string>Load from DB</string>
             </property>
            </widget>
           </item>
417
418
419
420
421
422
423
424
           <item row="10" column="1">
            <widget class="QLabel" name="label">
             <property name="text">
              <string>Radio Address:</string>
             </property>
            </widget>
           </item>
           <item row="10" column="6">
425
426
427
428
429
430
431
432
            <widget class="QLineEdit" name="radioAddress_text">
             <property name="readOnly">
              <bool>true</bool>
             </property>
             <property name="clearButtonEnabled">
              <bool>false</bool>
             </property>
            </widget>
433
434
435
436
437
438
439
440
441
442
443
444
445
           </item>
           <item row="11" column="6">
            <widget class="QLabel" name="err_message_radio_address">
             <property name="font">
              <font>
               <pointsize>7</pointsize>
              </font>
             </property>
             <property name="text">
              <string>TextLabel</string>
             </property>
            </widget>
           </item>
roangel's avatar
roangel committed
446
447
448
449
450
          </layout>
         </widget>
        </widget>
       </item>
      </layout>
451
     </widget>
452
    </item>
roangel's avatar
roangel committed
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
    <item row="1" column="0" colspan="2">
     <widget class="QFrame" name="frame">
      <property name="sizePolicy">
       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="frameShape">
       <enum>QFrame::StyledPanel</enum>
      </property>
      <property name="frameShadow">
       <enum>QFrame::Raised</enum>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout_3">
       <item>
        <widget class="QTabWidget" name="tabWidget">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="layoutDirection">
          <enum>Qt::LeftToRight</enum>
         </property>
         <property name="currentIndex">
          <number>-1</number>
         </property>
         <property name="tabsClosable">
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
490
   </layout>
491
492
493
494
495
496
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
roangel's avatar
roangel committed
497
     <width>866</width>
498
499
500
501
502
503
504
505
506
     <height>19</height>
    </rect>
   </property>
  </widget>
  <widget class="QToolBar" name="mainToolBar">
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
roangel's avatar
roangel committed
507
    <bool>false</bool>
508
509
510
511
512
513
514
515
516
   </attribute>
  </widget>
  <widget class="QStatusBar" name="statusBar"/>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>myGraphicsView</class>
   <extends>QGraphicsView</extends>
517
   <header>myGraphicsView.h</header>
518
519
520
521
522
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>