mainwindow.ui 15.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="enabled">
   <bool>true</bool>
  </property>
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1198</width>
    <height>768</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>0</width>
    <height>100</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>AcqPipe</string>
  </property>
  <property name="tabShape">
   <enum>QTabWidget::Rounded</enum>
  </property>
  <property name="dockNestingEnabled">
35
   <bool>true</bool>
36
37
  </property>
  <property name="dockOptions">
38
   <set>QMainWindow::AllowNestedDocks|QMainWindow::AllowTabbedDocks</set>
39
40
41
42
43
44
45
46
  </property>
  <widget class="QWidget" name="centralWidget"/>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>1198</width>
47
     <height>21</height>
48
49
    </rect>
   </property>
50
   <widget class="QMenu" name="menuFile">
51
52
53
54
55
56
57
58
    <property name="title">
     <string>&amp;File</string>
    </property>
    <addaction name="actionLoadImage"/>
    <addaction name="separator"/>
    <addaction name="actionNewProject"/>
    <addaction name="actionSaveProject"/>
    <addaction name="actionLoadProject"/>
Frédéric Larue's avatar
Frédéric Larue committed
59
    <addaction name="actionCloseProject"/>
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
    <addaction name="separator"/>
    <addaction name="actionQuit"/>
   </widget>
   <widget class="QMenu" name="menuView">
    <property name="title">
     <string>View</string>
    </property>
    <addaction name="actionViewProjectManager"/>
    <addaction name="actionViewTools"/>
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionDisplayPluginsList"/>
    <addaction name="actionAbout"/>
   </widget>
77
   <addaction name="menuFile"/>
78
79
80
81
82
83
84
85
86
87
88
89
   <addaction name="menuView"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QToolBar" name="toolBar">
   <property name="windowTitle">
    <string>toolBar</string>
   </property>
   <property name="movable">
    <bool>false</bool>
   </property>
   <property name="iconSize">
    <size>
90
91
     <width>32</width>
     <height>32</height>
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
    </size>
   </property>
   <property name="floatable">
    <bool>false</bool>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="action2DViewer"/>
   <addaction name="action3DViewer"/>
   <addaction name="actionIncreasePointSize"/>
   <addaction name="actionDecreasePointSize"/>
   <addaction name="actionSolidMode"/>
   <addaction name="actionWireframeMode"/>
   <addaction name="actionToggleShading"/>
   <addaction name="separator"/>
   <addaction name="actionClone"/>
   <addaction name="separator"/>
  </widget>
  <widget class="QDockWidget" name="dockProjectManager">
   <property name="minimumSize">
    <size>
     <width>192</width>
     <height>150</height>
    </size>
   </property>
   <property name="features">
122
    <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
123
   </property>
124
   <property name="allowedAreas">
125
    <set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
126
   </property>
127
   <property name="windowTitle">
128
    <string>Project manager</string>
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
   </property>
   <attribute name="dockWidgetArea">
    <number>2</number>
   </attribute>
   <widget class="QWidget" name="dockWidgetContents_4">
    <property name="minimumSize">
     <size>
      <width>192</width>
      <height>128</height>
     </size>
    </property>
    <layout class="QVBoxLayout" name="verticalLayout_3">
     <property name="spacing">
      <number>0</number>
     </property>
     <property name="leftMargin">
      <number>0</number>
     </property>
     <property name="topMargin">
      <number>0</number>
     </property>
     <property name="rightMargin">
      <number>0</number>
     </property>
     <property name="bottomMargin">
      <number>0</number>
     </property>
     <item>
      <widget class="QScrollArea" name="scrollArea_2">
       <property name="frameShape">
        <enum>QFrame::NoFrame</enum>
       </property>
       <property name="widgetResizable">
        <bool>true</bool>
       </property>
       <widget class="QWidget" name="scrollAreaWidgetContents_2">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>384</width>
170
          <height>300</height>
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
         </rect>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout_6">
         <property name="leftMargin">
          <number>2</number>
         </property>
         <property name="topMargin">
          <number>2</number>
         </property>
         <property name="rightMargin">
          <number>2</number>
         </property>
         <property name="bottomMargin">
          <number>2</number>
         </property>
         <item>
187
188
          <widget class="QWidget" name="widget_2" native="true">
           <layout class="QGridLayout" name="gridLayout" columnstretch="0,1">
189
190
191
192
193
194
195
196
197
198
199
200
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
             <number>0</number>
            </property>
201
            <property name="verticalSpacing">
202
203
             <number>2</number>
            </property>
204
205
            <item row="1" column="0">
             <widget class="QLabel" name="labelTypeFilter">
206
207
208
209
210
              <property name="text">
               <string>Type filter:</string>
              </property>
             </widget>
            </item>
211
            <item row="1" column="1">
212
213
             <widget class="QComboBox" name="comboTypeFilter"/>
            </item>
214
215
216
217
218
219
220
221
222
223
            <item row="0" column="0">
             <widget class="QLabel" name="labelProject">
              <property name="text">
               <string>Project:</string>
              </property>
             </widget>
            </item>
            <item row="0" column="1">
             <widget class="QComboBox" name="comboProject"/>
            </item>
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
255
256
257
258
259
260
261
262
263
264
           </layout>
          </widget>
         </item>
         <item>
          <widget class="UIDataWidget" name="tableCurrentProjContent">
           <property name="acceptDrops">
            <bool>true</bool>
           </property>
           <property name="alternatingRowColors">
            <bool>false</bool>
           </property>
           <property name="selectionBehavior">
            <enum>QAbstractItemView::SelectRows</enum>
           </property>
           <column>
            <property name="text">
             <string>Name</string>
            </property>
           </column>
           <column>
            <property name="text">
             <string>Type</string>
            </property>
           </column>
          </widget>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
    </layout>
   </widget>
  </widget>
  <widget class="QDockWidget" name="dockTools">
   <property name="minimumSize">
    <size>
     <width>384</width>
     <height>315</height>
    </size>
   </property>
   <property name="features">
265
    <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
266
   </property>
267
   <property name="allowedAreas">
268
    <set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
269
   </property>
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
   <property name="windowTitle">
    <string>Tools</string>
   </property>
   <attribute name="dockWidgetArea">
    <number>2</number>
   </attribute>
   <widget class="QWidget" name="dockWidgetContents_2">
    <property name="minimumSize">
     <size>
      <width>384</width>
      <height>0</height>
     </size>
    </property>
    <layout class="QVBoxLayout" name="verticalLayout_2">
     <property name="leftMargin">
      <number>0</number>
     </property>
     <property name="topMargin">
      <number>0</number>
     </property>
     <property name="rightMargin">
      <number>0</number>
     </property>
     <property name="bottomMargin">
      <number>0</number>
     </property>
     <item>
      <widget class="QScrollArea" name="scrollArea">
       <property name="frameShape">
        <enum>QFrame::NoFrame</enum>
       </property>
       <property name="widgetResizable">
        <bool>true</bool>
       </property>
       <widget class="QWidget" name="scrollAreaWidgetContents">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>384</width>
310
          <height>360</height>
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
         </rect>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout_4">
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="AlgorithmSelector" name="toolSelector" native="true"/>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
    </layout>
   </widget>
  </widget>
  <action name="actionQuit">
   <property name="text">
    <string>Quit</string>
   </property>
  </action>
  <action name="actionViewProjectManager">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="checked">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Project manager</string>
   </property>
  </action>
  <action name="actionViewTools">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="checked">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Tools</string>
   </property>
  </action>
  <action name="actionNewProject">
   <property name="text">
    <string>New project</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+N</string>
   </property>
  </action>
  <action name="actionLoadProject">
   <property name="text">
    <string>Load project</string>
   </property>
375
376
377
   <property name="shortcut">
    <string>Ctrl+P</string>
   </property>
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
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
490
491
492
493
494
  </action>
  <action name="actionSaveProject">
   <property name="text">
    <string>Save project</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+S</string>
   </property>
  </action>
  <action name="actionAbout">
   <property name="text">
    <string>About</string>
   </property>
  </action>
  <action name="actionIncreasePointSize">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconIncreasePointSize.png</normaloff>:/images/resources/iconIncreasePointSize.png</iconset>
   </property>
   <property name="text">
    <string>IncreasePointSize</string>
   </property>
   <property name="toolTip">
    <string>Increase point size</string>
   </property>
  </action>
  <action name="actionDecreasePointSize">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconDecreasePointSize.png</normaloff>:/images/resources/iconDecreasePointSize.png</iconset>
   </property>
   <property name="text">
    <string>DecreasePointSize</string>
   </property>
   <property name="toolTip">
    <string>Decrease point size</string>
   </property>
  </action>
  <action name="action3DViewer">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/icon3DViewer.png</normaloff>:/images/resources/icon3DViewer.png</iconset>
   </property>
   <property name="text">
    <string>3DViewer</string>
   </property>
   <property name="toolTip">
    <string>Switch to 3D viewer</string>
   </property>
  </action>
  <action name="action2DViewer">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/icon2DViewer.png</normaloff>:/images/resources/icon2DViewer.png</iconset>
   </property>
   <property name="text">
    <string>2DViewer</string>
   </property>
   <property name="toolTip">
    <string>Switch to 2D viewer</string>
   </property>
  </action>
  <action name="actionClone">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconClone.png</normaloff>:/images/resources/iconClone.png</iconset>
   </property>
   <property name="text">
    <string>Clone</string>
   </property>
   <property name="toolTip">
    <string>Cloning of the selected items</string>
   </property>
  </action>
  <action name="actionWireframeMode">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconWireframe.png</normaloff>:/images/resources/iconWireframe.png</iconset>
   </property>
   <property name="text">
    <string>Wireframe mode</string>
   </property>
   <property name="toolTip">
    <string>Switch to wireframe mode</string>
   </property>
  </action>
  <action name="actionSolidMode">
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconSolid.png</normaloff>:/images/resources/iconSolid.png</iconset>
   </property>
   <property name="text">
    <string>Solid mode</string>
   </property>
   <property name="toolTip">
    <string>Switch to solid mode</string>
   </property>
  </action>
  <action name="actionToggleShading">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="mainapp.qrc">
     <normaloff>:/images/resources/iconShading.png</normaloff>:/images/resources/iconShading.png</iconset>
   </property>
   <property name="text">
    <string>Toggle shading</string>
   </property>
  </action>
  <action name="actionDisplayPluginsList">
   <property name="text">
    <string>Plugins list</string>
   </property>
  </action>
  <action name="actionLoadImage">
   <property name="text">
495
    <string>Load file</string>
496
497
498
499
500
   </property>
   <property name="shortcut">
    <string>Ctrl+L</string>
   </property>
  </action>
Frédéric Larue's avatar
Frédéric Larue committed
501
502
503
504
505
506
507
508
  <action name="actionCloseProject">
   <property name="text">
    <string>Close project</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+X</string>
   </property>
  </action>
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>AlgorithmSelector</class>
   <extends>QWidget</extends>
   <header>AlgorithmSelector.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>UIDataWidget</class>
   <extends>QTreeWidget</extends>
   <header location="global">UIDataWidget.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="mainapp.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionQuit</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>299</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>