##// END OF EJS Templates
Fixes compilation warning
Alexandre Leroux -
r1014:a57177af4c0c
parent child
Show More
@@ -5,8 +5,8
5
5
6 #include <Data/DataSeriesIterator.h>
6 #include <Data/DataSeriesIterator.h>
7
7
8 #include <cmath>
9 #include <QLoggingCategory>
8 #include <QLoggingCategory>
9 #include <cmath>
10
10
11 Q_DECLARE_LOGGING_CATEGORY(LOG_DataSeriesUtils)
11 Q_DECLARE_LOGGING_CATEGORY(LOG_DataSeriesUtils)
12
12
@@ -17,7 +17,7 gui_moc_headers = [
17 'include/Visualization/VisualizationZoneWidget.h',
17 'include/Visualization/VisualizationZoneWidget.h',
18 'include/Visualization/VisualizationDragDropContainer.h',
18 'include/Visualization/VisualizationDragDropContainer.h',
19 'include/Visualization/VisualizationDragWidget.h',
19 'include/Visualization/VisualizationDragWidget.h',
20 'include/Visualization/ColorScaleWidget.h'
20 'include/Visualization/ColorScaleEditor.h'
21 ]
21 ]
22
22
23 gui_ui_files = [
23 gui_ui_files = [
@@ -33,7 +33,7 gui_ui_files = [
33 'ui/Visualization/VisualizationTabWidget.ui',
33 'ui/Visualization/VisualizationTabWidget.ui',
34 'ui/Visualization/VisualizationWidget.ui',
34 'ui/Visualization/VisualizationWidget.ui',
35 'ui/Visualization/VisualizationZoneWidget.ui',
35 'ui/Visualization/VisualizationZoneWidget.ui',
36 'ui/Visualization/ColorScaleWidget.ui'
36 'ui/Visualization/ColorScaleEditor.ui'
37 ]
37 ]
38
38
39 gui_qresources = ['resources/sqpguiresources.qrc']
39 gui_qresources = ['resources/sqpguiresources.qrc']
@@ -80,7 +80,7 gui_sources = [
80 'src/Visualization/PlottablesRenderingUtils.cpp',
80 'src/Visualization/PlottablesRenderingUtils.cpp',
81 'src/Visualization/MacScrollBarStyle.cpp',
81 'src/Visualization/MacScrollBarStyle.cpp',
82 'src/Visualization/VisualizationCursorItem.cpp',
82 'src/Visualization/VisualizationCursorItem.cpp',
83 'src/Visualization/ColorScaleWidget.cpp',
83 'src/Visualization/ColorScaleEditor.cpp',
84 'src/Visualization/SqpColorScale.cpp'
84 'src/Visualization/SqpColorScale.cpp'
85 ]
85 ]
86
86
@@ -23,8 +23,8 const auto GRADIENTS = QVariantMap{{"Candy", QCPColorGradient::gpCandy},
23 ColorScaleEditor::ColorScaleEditor(SqpColorScale &scale, QWidget *parent)
23 ColorScaleEditor::ColorScaleEditor(SqpColorScale &scale, QWidget *parent)
24 : QDialog{parent},
24 : QDialog{parent},
25 ui{new Ui::ColorScaleEditor},
25 ui{new Ui::ColorScaleEditor},
26 m_Scale{scale},
26 m_ThresholdGroup{new QButtonGroup{this}},
27 m_ThresholdGroup{new QButtonGroup{this}}
27 m_Scale{scale}
28 {
28 {
29 ui->setupUi(this);
29 ui->setupUi(this);
30
30
General Comments 0
You need to be logged in to leave comments. Login now