##// END OF EJS Templates
Merge pull request 320 from SciQLop-fork develop...
trabillard -
r857:28a24a49f721 merge
parent child
Show More
@@ -1,62 +1,63
1
1
2 core_moc_headers = [
2 core_moc_headers = [
3 'include/Data/IDataProvider.h',
3 'include/Data/IDataProvider.h',
4 'include/DataSource/DataSourceController.h',
4 'include/DataSource/DataSourceController.h',
5 'include/DataSource/DataSourceItemAction.h',
5 'include/DataSource/DataSourceItemAction.h',
6 'include/Network/NetworkController.h',
6 'include/Network/NetworkController.h',
7 'include/Time/TimeController.h',
7 'include/Time/TimeController.h',
8 'include/Variable/Variable.h',
8 'include/Variable/Variable.h',
9 'include/Variable/VariableCacheController.h',
9 'include/Variable/VariableCacheController.h',
10 'include/Variable/VariableController.h',
10 'include/Variable/VariableController.h',
11 'include/Variable/VariableAcquisitionWorker.h',
11 'include/Variable/VariableAcquisitionWorker.h',
12 'include/Variable/VariableCacheStrategy.h',
12 'include/Variable/VariableCacheStrategy.h',
13 'include/Variable/VariableSynchronizationGroup.h',
13 'include/Variable/VariableSynchronizationGroup.h',
14 'include/Variable/VariableModel.h',
14 'include/Variable/VariableModel.h',
15 'include/Visualization/VisualizationController.h'
15 'include/Visualization/VisualizationController.h'
16 ]
16 ]
17
17
18
18
19 core_moc_files = qt5.preprocess(moc_headers : core_moc_headers)
19 core_moc_files = qt5.preprocess(moc_headers : core_moc_headers)
20
20
21 core_sources = [
21 core_sources = [
22 'src/Common/DateUtils.cpp',
22 'src/Common/DateUtils.cpp',
23 'src/Common/StringUtils.cpp',
23 'src/Common/StringUtils.cpp',
24 'src/Common/MimeTypesDef.cpp',
24 'src/Data/ScalarSeries.cpp',
25 'src/Data/ScalarSeries.cpp',
25 'src/Data/DataSeriesIterator.cpp',
26 'src/Data/DataSeriesIterator.cpp',
26 'src/Data/ArrayDataIterator.cpp',
27 'src/Data/ArrayDataIterator.cpp',
27 'src/Data/VectorSeries.cpp',
28 'src/Data/VectorSeries.cpp',
28 'src/DataSource/DataSourceController.cpp',
29 'src/DataSource/DataSourceController.cpp',
29 'src/DataSource/DataSourceItem.cpp',
30 'src/DataSource/DataSourceItem.cpp',
30 'src/DataSource/DataSourceItemAction.cpp',
31 'src/DataSource/DataSourceItemAction.cpp',
31 'src/Network/NetworkController.cpp',
32 'src/Network/NetworkController.cpp',
32 'src/Plugin/PluginManager.cpp',
33 'src/Plugin/PluginManager.cpp',
33 'src/Settings/SqpSettingsDefs.cpp',
34 'src/Settings/SqpSettingsDefs.cpp',
34 'src/Time/TimeController.cpp',
35 'src/Time/TimeController.cpp',
35 'src/Variable/Variable.cpp',
36 'src/Variable/Variable.cpp',
36 'src/Variable/VariableCacheController.cpp',
37 'src/Variable/VariableCacheController.cpp',
37 'src/Variable/VariableController.cpp',
38 'src/Variable/VariableController.cpp',
38 'src/Variable/VariableAcquisitionWorker.cpp',
39 'src/Variable/VariableAcquisitionWorker.cpp',
39 'src/Variable/VariableSynchronizationGroup.cpp',
40 'src/Variable/VariableSynchronizationGroup.cpp',
40 'src/Variable/VariableModel.cpp',
41 'src/Variable/VariableModel.cpp',
41 'src/Visualization/VisualizationController.cpp'
42 'src/Visualization/VisualizationController.cpp'
42 ]
43 ]
43
44
44 core_inc = include_directories(['include', '../plugin/include'])
45 core_inc = include_directories(['include', '../plugin/include'])
45
46
46 sciqlop_core_lib = library('sciqlopcore',
47 sciqlop_core_lib = library('sciqlopcore',
47 core_sources,
48 core_sources,
48 core_moc_files,
49 core_moc_files,
49 cpp_args : '-DCORE_LIB',
50 cpp_args : '-DCORE_LIB',
50 include_directories : core_inc,
51 include_directories : core_inc,
51 dependencies : [qt5core, qt5network],
52 dependencies : [qt5core, qt5network],
52 install : true
53 install : true
53 )
54 )
54
55
55
56
56 sciqlop_core = declare_dependency(link_with : sciqlop_core_lib,
57 sciqlop_core = declare_dependency(link_with : sciqlop_core_lib,
57 include_directories : core_inc,
58 include_directories : core_inc,
58 dependencies : [qt5core, qt5network])
59 dependencies : [qt5core, qt5network])
59
60
60
61
61 subdir('tests')
62 subdir('tests')
62
63
@@ -1,80 +1,87
1
1
2 gui_moc_headers = [
2 gui_moc_headers = [
3 'include/DataSource/DataSourceWidget.h',
3 'include/DataSource/DataSourceWidget.h',
4 'include/Settings/SqpSettingsDialog.h',
4 'include/Settings/SqpSettingsDialog.h',
5 'include/Settings/SqpSettingsGeneralWidget.h',
5 'include/Settings/SqpSettingsGeneralWidget.h',
6 'include/SidePane/SqpSidePane.h',
6 'include/SidePane/SqpSidePane.h',
7 'include/SqpApplication.h',
7 'include/SqpApplication.h',
8 'include/DragDropHelper.h',
8 'include/TimeWidget/TimeWidget.h',
9 'include/TimeWidget/TimeWidget.h',
9 'include/Variable/VariableInspectorWidget.h',
10 'include/Variable/VariableInspectorWidget.h',
10 'include/Variable/RenameVariableDialog.h',
11 'include/Variable/RenameVariableDialog.h',
11 'include/Visualization/qcustomplot.h',
12 'include/Visualization/qcustomplot.h',
12 'include/Visualization/VisualizationGraphWidget.h',
13 'include/Visualization/VisualizationGraphWidget.h',
13 'include/Visualization/VisualizationTabWidget.h',
14 'include/Visualization/VisualizationTabWidget.h',
14 'include/Visualization/VisualizationWidget.h',
15 'include/Visualization/VisualizationWidget.h',
15 'include/Visualization/VisualizationZoneWidget.h'
16 'include/Visualization/VisualizationZoneWidget.h',
17 'include/Visualization/VisualizationDragDropContainer.h',
18 'include/Visualization/VisualizationDragWidget.h'
16 ]
19 ]
17
20
18 gui_ui_files = [
21 gui_ui_files = [
19 'ui/DataSource/DataSourceWidget.ui',
22 'ui/DataSource/DataSourceWidget.ui',
20 'ui/Settings/SqpSettingsDialog.ui',
23 'ui/Settings/SqpSettingsDialog.ui',
21 'ui/Settings/SqpSettingsGeneralWidget.ui',
24 'ui/Settings/SqpSettingsGeneralWidget.ui',
22 'ui/SidePane/SqpSidePane.ui',
25 'ui/SidePane/SqpSidePane.ui',
23 'ui/TimeWidget/TimeWidget.ui',
26 'ui/TimeWidget/TimeWidget.ui',
24 'ui/Variable/VariableInspectorWidget.ui',
27 'ui/Variable/VariableInspectorWidget.ui',
25 'ui/Variable/RenameVariableDialog.ui',
28 'ui/Variable/RenameVariableDialog.ui',
26 'ui/Variable/VariableMenuHeaderWidget.ui',
29 'ui/Variable/VariableMenuHeaderWidget.ui',
27 'ui/Visualization/VisualizationGraphWidget.ui',
30 'ui/Visualization/VisualizationGraphWidget.ui',
28 'ui/Visualization/VisualizationTabWidget.ui',
31 'ui/Visualization/VisualizationTabWidget.ui',
29 'ui/Visualization/VisualizationWidget.ui',
32 'ui/Visualization/VisualizationWidget.ui',
30 'ui/Visualization/VisualizationZoneWidget.ui'
33 'ui/Visualization/VisualizationZoneWidget.ui'
31 ]
34 ]
32
35
33 gui_qresources = ['resources/sqpguiresources.qrc']
36 gui_qresources = ['resources/sqpguiresources.qrc']
34
37
35 gui_moc_files = qt5.preprocess(moc_headers : gui_moc_headers,
38 gui_moc_files = qt5.preprocess(moc_headers : gui_moc_headers,
36 ui_files : gui_ui_files,
39 ui_files : gui_ui_files,
37 qresources : gui_qresources)
40 qresources : gui_qresources)
38
41
39 gui_sources = [
42 gui_sources = [
40 'src/SqpApplication.cpp',
43 'src/SqpApplication.cpp',
44 'src/DragDropHelper.cpp',
41 'src/Common/ColorUtils.cpp',
45 'src/Common/ColorUtils.cpp',
46 'src/Common/VisualizationDef.cpp',
42 'src/DataSource/DataSourceTreeWidgetItem.cpp',
47 'src/DataSource/DataSourceTreeWidgetItem.cpp',
43 'src/DataSource/DataSourceTreeWidgetHelper.cpp',
48 'src/DataSource/DataSourceTreeWidgetHelper.cpp',
44 'src/DataSource/DataSourceWidget.cpp',
49 'src/DataSource/DataSourceWidget.cpp',
45 'src/Settings/SqpSettingsDialog.cpp',
50 'src/Settings/SqpSettingsDialog.cpp',
46 'src/Settings/SqpSettingsGeneralWidget.cpp',
51 'src/Settings/SqpSettingsGeneralWidget.cpp',
47 'src/SidePane/SqpSidePane.cpp',
52 'src/SidePane/SqpSidePane.cpp',
48 'src/TimeWidget/TimeWidget.cpp',
53 'src/TimeWidget/TimeWidget.cpp',
49 'src/Variable/VariableInspectorWidget.cpp',
54 'src/Variable/VariableInspectorWidget.cpp',
50 'src/Variable/VariableMenuHeaderWidget.cpp',
55 'src/Variable/VariableMenuHeaderWidget.cpp',
51 'src/Variable/RenameVariableDialog.cpp',
56 'src/Variable/RenameVariableDialog.cpp',
52 'src/Visualization/VisualizationGraphHelper.cpp',
57 'src/Visualization/VisualizationGraphHelper.cpp',
53 'src/Visualization/VisualizationGraphRenderingDelegate.cpp',
58 'src/Visualization/VisualizationGraphRenderingDelegate.cpp',
54 'src/Visualization/VisualizationGraphWidget.cpp',
59 'src/Visualization/VisualizationGraphWidget.cpp',
55 'src/Visualization/VisualizationTabWidget.cpp',
60 'src/Visualization/VisualizationTabWidget.cpp',
56 'src/Visualization/VisualizationWidget.cpp',
61 'src/Visualization/VisualizationWidget.cpp',
57 'src/Visualization/VisualizationZoneWidget.cpp',
62 'src/Visualization/VisualizationZoneWidget.cpp',
58 'src/Visualization/qcustomplot.cpp',
63 'src/Visualization/qcustomplot.cpp',
59 'src/Visualization/QCustomPlotSynchronizer.cpp',
64 'src/Visualization/QCustomPlotSynchronizer.cpp',
60 'src/Visualization/operations/FindVariableOperation.cpp',
65 'src/Visualization/operations/FindVariableOperation.cpp',
61 'src/Visualization/operations/GenerateVariableMenuOperation.cpp',
66 'src/Visualization/operations/GenerateVariableMenuOperation.cpp',
62 'src/Visualization/operations/MenuBuilder.cpp',
67 'src/Visualization/operations/MenuBuilder.cpp',
63 'src/Visualization/operations/RemoveVariableOperation.cpp',
68 'src/Visualization/operations/RemoveVariableOperation.cpp',
64 'src/Visualization/operations/RescaleAxeOperation.cpp'
69 'src/Visualization/operations/RescaleAxeOperation.cpp',
70 'src/Visualization/VisualizationDragDropContainer.cpp',
71 'src/Visualization/VisualizationDragWidget.cpp'
65 ]
72 ]
66
73
67 gui_inc = include_directories(['include'])
74 gui_inc = include_directories(['include'])
68
75
69 sciqlop_gui_lib = library('sciqlopgui',
76 sciqlop_gui_lib = library('sciqlopgui',
70 gui_sources,
77 gui_sources,
71 gui_moc_files,
78 gui_moc_files,
72 include_directories : [gui_inc],
79 include_directories : [gui_inc],
73 dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core],
80 dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core],
74 install : true
81 install : true
75 )
82 )
76
83
77 sciqlop_gui = declare_dependency(link_with : sciqlop_gui_lib,
84 sciqlop_gui = declare_dependency(link_with : sciqlop_gui_lib,
78 include_directories : gui_inc,
85 include_directories : gui_inc,
79 dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core])
86 dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core])
80
87
@@ -1,31 +1,37
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>VariableInspectorWidget</class>
3 <class>VariableInspectorWidget</class>
4 <widget class="QWidget" name="VariableInspectorWidget">
4 <widget class="QWidget" name="VariableInspectorWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>400</width>
9 <width>400</width>
10 <height>300</height>
10 <height>300</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Variables</string>
14 <string>Variables</string>
15 </property>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0">
17 <item row="0" column="0">
18 <widget class="QTableView" name="tableView">
18 <widget class="QTableView" name="tableView">
19 <property name="dragEnabled">
20 <bool>true</bool>
21 </property>
22 <property name="dragDropMode">
23 <enum>QAbstractItemView::DragDrop</enum>
24 </property>
19 <property name="sortingEnabled">
25 <property name="sortingEnabled">
20 <bool>true</bool>
26 <bool>true</bool>
21 </property>
27 </property>
22 <attribute name="horizontalHeaderStretchLastSection">
28 <attribute name="horizontalHeaderStretchLastSection">
23 <bool>true</bool>
29 <bool>true</bool>
24 </attribute>
30 </attribute>
25 </widget>
31 </widget>
26 </item>
32 </item>
27 </layout>
33 </layout>
28 </widget>
34 </widget>
29 <resources/>
35 <resources/>
30 <connections/>
36 <connections/>
31 </ui>
37 </ui>
General Comments 0
You need to be logged in to leave comments. Login now