##// END OF EJS Templates
Sub widget classes
trabillard -
r1095:9bc87db31c2c
parent child
Show More
@@ -0,0 +1,21
1 #ifndef CATALOGUEEVENTSWIDGET_H
2 #define CATALOGUEEVENTSWIDGET_H
3
4 #include <QWidget>
5
6 namespace Ui {
7 class CatalogueEventsWidget;
8 }
9
10 class CatalogueEventsWidget : public QWidget {
11 Q_OBJECT
12
13 public:
14 explicit CatalogueEventsWidget(QWidget *parent = 0);
15 ~CatalogueEventsWidget();
16
17 private:
18 Ui::CatalogueEventsWidget *ui;
19 };
20
21 #endif // CATALOGUEEVENTSWIDGET_H
@@ -0,0 +1,21
1 #ifndef CATALOGUEINSPECTORWIDGET_H
2 #define CATALOGUEINSPECTORWIDGET_H
3
4 #include <QWidget>
5
6 namespace Ui {
7 class CatalogueInspectorWidget;
8 }
9
10 class CatalogueInspectorWidget : public QWidget {
11 Q_OBJECT
12
13 public:
14 explicit CatalogueInspectorWidget(QWidget *parent = 0);
15 ~CatalogueInspectorWidget();
16
17 private:
18 Ui::CatalogueInspectorWidget *ui;
19 };
20
21 #endif // CATALOGUEINSPECTORWIDGET_H
@@ -0,0 +1,21
1 #ifndef CATALOGUESIDEBARWIDGET_H
2 #define CATALOGUESIDEBARWIDGET_H
3
4 #include <QWidget>
5
6 namespace Ui {
7 class CatalogueSideBarWidget;
8 }
9
10 class CatalogueSideBarWidget : public QWidget {
11 Q_OBJECT
12
13 public:
14 explicit CatalogueSideBarWidget(QWidget *parent = 0);
15 ~CatalogueSideBarWidget();
16
17 private:
18 Ui::CatalogueSideBarWidget *ui;
19 };
20
21 #endif // CATALOGUESIDEBARWIDGET_H
@@ -0,0 +1,13
1 #include "Catalogue/CatalogueEventsWidget.h"
2 #include "ui_CatalogueEventsWidget.h"
3
4 CatalogueEventsWidget::CatalogueEventsWidget(QWidget *parent)
5 : QWidget(parent), ui(new Ui::CatalogueEventsWidget)
6 {
7 ui->setupUi(this);
8 }
9
10 CatalogueEventsWidget::~CatalogueEventsWidget()
11 {
12 delete ui;
13 }
@@ -0,0 +1,13
1 #include "Catalogue/CatalogueInspectorWidget.h"
2 #include "ui_CatalogueInspectorWidget.h"
3
4 CatalogueInspectorWidget::CatalogueInspectorWidget(QWidget *parent)
5 : QWidget(parent), ui(new Ui::CatalogueInspectorWidget)
6 {
7 ui->setupUi(this);
8 }
9
10 CatalogueInspectorWidget::~CatalogueInspectorWidget()
11 {
12 delete ui;
13 }
@@ -0,0 +1,13
1 #include "Catalogue/CatalogueSideBarWidget.h"
2 #include "ui_CatalogueSideBarWidget.h"
3
4 CatalogueSideBarWidget::CatalogueSideBarWidget(QWidget *parent)
5 : QWidget(parent), ui(new Ui::CatalogueSideBarWidget)
6 {
7 ui->setupUi(this);
8 }
9
10 CatalogueSideBarWidget::~CatalogueSideBarWidget()
11 {
12 delete ui;
13 }
@@ -0,0 +1,19
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>CatalogueEventsWidget</class>
4 <widget class="QWidget" name="CatalogueEventsWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>300</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 </widget>
17 <resources/>
18 <connections/>
19 </ui>
@@ -0,0 +1,19
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>CatalogueInspectorWidget</class>
4 <widget class="QWidget" name="CatalogueInspectorWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>300</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 </widget>
17 <resources/>
18 <connections/>
19 </ui>
@@ -0,0 +1,19
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>CatalogueSideBarWidget</class>
4 <widget class="QWidget" name="CatalogueSideBarWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>300</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 </widget>
17 <resources/>
18 <connections/>
19 </ui>
@@ -132,7 +132,7
132 <x>0</x>
132 <x>0</x>
133 <y>0</y>
133 <y>0</y>
134 <width>800</width>
134 <width>800</width>
135 <height>28</height>
135 <height>21</height>
136 </rect>
136 </rect>
137 </property>
137 </property>
138 </widget>
138 </widget>
@@ -20,7 +20,10 gui_moc_headers = [
20 'include/Visualization/ColorScaleEditor.h',
20 'include/Visualization/ColorScaleEditor.h',
21 'include/Actions/SelectionZoneAction.h',
21 'include/Actions/SelectionZoneAction.h',
22 'include/Visualization/VisualizationMultiZoneSelectionDialog.h',
22 'include/Visualization/VisualizationMultiZoneSelectionDialog.h',
23 'include/Catalogue/CatalogueExplorer.h'
23 'include/Catalogue/CatalogueExplorer.h',
24 'include/Catalogue/CatalogueEventsWidget.h',
25 'include/Catalogue/CatalogueSideBarWidget.h',
26 'include/Catalogue/CatalogueInspectorWidget.h'
24 ]
27 ]
25
28
26 gui_ui_files = [
29 gui_ui_files = [
@@ -38,7 +41,10 gui_ui_files = [
38 'ui/Visualization/VisualizationZoneWidget.ui',
41 'ui/Visualization/VisualizationZoneWidget.ui',
39 'ui/Visualization/ColorScaleEditor.ui',
42 'ui/Visualization/ColorScaleEditor.ui',
40 'ui/Visualization/VisualizationMultiZoneSelectionDialog.ui',
43 'ui/Visualization/VisualizationMultiZoneSelectionDialog.ui',
41 'ui/Catalogue/CatalogueExplorer.ui'
44 'ui/Catalogue/CatalogueExplorer.ui',
45 'ui/Catalogue/CatalogueEventsWidget.ui',
46 'ui/Catalogue/CatalogueSideBarWidget.ui',
47 'ui/Catalogue/CatalogueInspectorWidget.ui'
42 ]
48 ]
43
49
44 gui_qresources = ['resources/sqpguiresources.qrc']
50 gui_qresources = ['resources/sqpguiresources.qrc']
@@ -94,7 +100,10 gui_sources = [
94 'src/Actions/ActionsGuiController.cpp',
100 'src/Actions/ActionsGuiController.cpp',
95 'src/Visualization/VisualizationActionManager.cpp',
101 'src/Visualization/VisualizationActionManager.cpp',
96 'src/Visualization/VisualizationMultiZoneSelectionDialog.cpp',
102 'src/Visualization/VisualizationMultiZoneSelectionDialog.cpp',
97 'src/Catalogue/CatalogueExplorer.cpp'
103 'src/Catalogue/CatalogueExplorer.cpp',
104 'src/Catalogue/CatalogueEventsWidget.cpp',
105 'src/Catalogue/CatalogueSideBarWidget.cpp',
106 'src/Catalogue/CatalogueInspectorWidget.cpp'
98 ]
107 ]
99
108
100 gui_inc = include_directories(['include'])
109 gui_inc = include_directories(['include'])
@@ -6,14 +6,51
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>403</width>
9 <width>775</width>
10 <height>300</height>
10 <height>512</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Dialog</string>
14 <string>Catalogue Explorer</string>
15 </property>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QSplitter" name="horizontalSplitter">
19 <property name="orientation">
20 <enum>Qt::Horizontal</enum>
21 </property>
22 <widget class="CatalogueSideBarWidget" name="catalogues" native="true"/>
23 <widget class="QSplitter" name="verticalSplitter">
24 <property name="orientation">
25 <enum>Qt::Vertical</enum>
26 </property>
27 <widget class="CatalogueEventsWidget" name="events" native="true"/>
28 <widget class="CatalogueInspectorWidget" name="inspector" native="true"/>
29 </widget>
30 </widget>
31 </item>
32 </layout>
16 </widget>
33 </widget>
34 <customwidgets>
35 <customwidget>
36 <class>CatalogueSideBarWidget</class>
37 <extends>QWidget</extends>
38 <header>Catalogue/CatalogueSideBarWidget.h</header>
39 <container>1</container>
40 </customwidget>
41 <customwidget>
42 <class>CatalogueEventsWidget</class>
43 <extends>QWidget</extends>
44 <header>Catalogue/CatalogueEventsWidget.h</header>
45 <container>1</container>
46 </customwidget>
47 <customwidget>
48 <class>CatalogueInspectorWidget</class>
49 <extends>QWidget</extends>
50 <header>Catalogue/CatalogueInspectorWidget.h</header>
51 <container>1</container>
52 </customwidget>
53 </customwidgets>
17 <resources/>
54 <resources/>
18 <connections/>
55 <connections/>
19 </ui>
56 </ui>
General Comments 0
You need to be logged in to leave comments. Login now