##// END OF EJS Templates
Moved scatter impl into a subfolder
Tero Ahola -
r194:c7a6b069859c
parent child
Show More
@@ -0,0 +1,13
1 INCLUDEPATH += $$PWD
2 DEPENDPATH += $$PWD
3
4 SOURCES += \
5 $$PWD/qscatterseries.cpp \
6 $$PWD/scatterpresenter.cpp
7
8 PRIVATE_HEADERS += \
9 $$PWD/scatterpresenter_p.h \
10 $$PWD/scatterseries_p.h
11
12 PUBLIC_HEADERS += \
13 $$PWD/qscatterseries.h
@@ -18,7 +18,7
18 #include "percentbargroup.h"
18 #include "percentbargroup.h"
19 #include "linechartanimationitem_p.h"
19 #include "linechartanimationitem_p.h"
20 #include "piepresenter.h"
20 #include "piepresenter.h"
21 #include "scatterpresenter.h"
21 #include "scatterpresenter_p.h"
22
22
23 QTCOMMERCIALCHART_BEGIN_NAMESPACE
23 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24
24
@@ -17,7 +17,7
17 #include "stackedbargroup.h"
17 #include "stackedbargroup.h"
18 #include "linechartitem_p.h"
18 #include "linechartitem_p.h"
19 #include "percentbargroup.h"
19 #include "percentbargroup.h"
20 #include "scatterpresenter.h"
20 #include "scatterpresenter_p.h"
21 #include "piepresenter.h"
21 #include "piepresenter.h"
22
22
23 //themes
23 //themes
@@ -1,7 +1,4
1 #include "qchart.h"
1 #include "qchart.h"
2 #include "qscatterseries.h"
3 #include "qscatterseries_p.h"
4 #include "qpieseries.h"
5 #include "qchartaxis.h"
2 #include "qchartaxis.h"
6 #include "chartpresenter_p.h"
3 #include "chartpresenter_p.h"
7 #include "chartdataset_p.h"
4 #include "chartdataset_p.h"
@@ -11,6 +8,9
11 #include "stackedbarchartseries.h"
8 #include "stackedbarchartseries.h"
12 #include "percentbarchartseries.h"
9 #include "percentbarchartseries.h"
13 #include "qlinechartseries.h"
10 #include "qlinechartseries.h"
11 #include "qscatterseries.h"
12 //#include "scatterseries_p.h"
13 #include "qpieseries.h"
14
14
15 #include <QGraphicsScene>
15 #include <QGraphicsScene>
16 #include <QGraphicsSceneResizeEvent>
16 #include <QGraphicsSceneResizeEvent>
@@ -1,5 +1,5
1 #include "qscatterseries.h"
1 #include "qscatterseries.h"
2 #include "qscatterseries_p.h"
2 #include "scatterseries_p.h"
3 #include "qchart.h"
3 #include "qchart.h"
4
4
5 QTCOMMERCIALCHART_BEGIN_NAMESPACE
5 QTCOMMERCIALCHART_BEGIN_NAMESPACE
1 NO CONTENT: file renamed from src/qscatterseries.h to src/scatterseries/qscatterseries.h
NO CONTENT: file renamed from src/qscatterseries.h to src/scatterseries/qscatterseries.h
@@ -1,4 +1,4
1 #include "scatterpresenter.h"
1 #include "scatterpresenter_p.h"
2 #include "qscatterseries.h"
2 #include "qscatterseries.h"
3 #include <QPen>
3 #include <QPen>
4 #include <QPainter>
4 #include <QPainter>
@@ -89,6 +89,6 void ScatterPresenter::changeGeometry()
89 }
89 }
90 }
90 }
91
91
92 #include "moc_scatterpresenter.cpp"
92 #include "moc_scatterpresenter_p.cpp"
93
93
94 QTCOMMERCIALCHART_END_NAMESPACE
94 QTCOMMERCIALCHART_END_NAMESPACE
1 NO CONTENT: file renamed from src/scatterpresenter.h to src/scatterseries/scatterpresenter_p.h
NO CONTENT: file renamed from src/scatterpresenter.h to src/scatterseries/scatterpresenter_p.h
1 NO CONTENT: file renamed from src/qscatterseries_p.h to src/scatterseries/scatterseries_p.h
NO CONTENT: file renamed from src/qscatterseries_p.h to src/scatterseries/scatterseries_p.h
@@ -22,8 +22,6 SOURCES += barchart/barchartseries.cpp \
22 linechart/linechartanimationitem.cpp \
22 linechart/linechartanimationitem.cpp \
23 linechart/linechartitem.cpp \
23 linechart/linechartitem.cpp \
24 linechart/qlinechartseries.cpp \
24 linechart/qlinechartseries.cpp \
25 qscatterseries.cpp \
26 #scatterpresentation.cpp \
27 qchart.cpp \
25 qchart.cpp \
28 axisitem.cpp \
26 axisitem.cpp \
29 qchartview.cpp \
27 qchartview.cpp \
@@ -32,16 +30,13 SOURCES += barchart/barchartseries.cpp \
32 charttheme.cpp \
30 charttheme.cpp \
33 chartdataset.cpp \
31 chartdataset.cpp \
34 chartpresenter.cpp \
32 chartpresenter.cpp \
35 domain.cpp \
33 domain.cpp
36 scatterpresenter.cpp
37 PRIVATE_HEADERS += linechart/linechartitem_p.h \
34 PRIVATE_HEADERS += linechart/linechartitem_p.h \
38 linechart/linechartanimationitem_p.h \
35 linechart/linechartanimationitem_p.h \
39 barchart/barlabel_p.h \
36 barchart/barlabel_p.h \
40 barchart/bar_p.h \
37 barchart/bar_p.h \
41 barchart/separator_p.h \
38 barchart/separator_p.h \
42 barchart/barchartmodel_p.h \
39 barchart/barchartmodel_p.h \
43 qscatterseries_p.h \
44 #scatterpresentation.h \
45 axisitem_p.h \
40 axisitem_p.h \
46 chartitem_p.h \
41 chartitem_p.h \
47 charttheme_p.h \
42 charttheme_p.h \
@@ -59,20 +54,19 PUBLIC_HEADERS += linechart/qlinechartseries.h \
59 barchart/qbarset.h \
54 barchart/qbarset.h \
60 barchart/qbarcategory.h \
55 barchart/qbarcategory.h \
61 qchartseries.h \
56 qchartseries.h \
62 qscatterseries.h \
63 qchart.h \
57 qchart.h \
64 qchartglobal.h \
58 qchartglobal.h \
65 qchartview.h \
59 qchartview.h \
66 qchartaxis.h
60 qchartaxis.h
67
61
68 include(piechart/piechart.pri)
62 include(piechart/piechart.pri)
69
63 include(scatterseries/scatter.pri)
64
70 THEMES += themes/chartthemeicy_p.h \
65 THEMES += themes/chartthemeicy_p.h \
71 themes/chartthemegrayscale_p.h \
66 themes/chartthemegrayscale_p.h \
72 themes/chartthemescientific_p.h \
67 themes/chartthemescientific_p.h \
73 themes/chartthemevanilla_p.h
68 themes/chartthemevanilla_p.h
74 HEADERS += $$PUBLIC_HEADERS \
69 HEADERS += $$PUBLIC_HEADERS
75 scatterpresenter.h
76 HEADERS += $$PRIVATE_HEADERS
70 HEADERS += $$PRIVATE_HEADERS
77 HEADERS += $$THEMES
71 HEADERS += $$THEMES
78 INCLUDEPATH += linechart \
72 INCLUDEPATH += linechart \
@@ -122,3 +116,4 unix:QMAKE_DISTCLEAN += -r \
122 win32:QMAKE_DISTCLEAN += /Q \
116 win32:QMAKE_DISTCLEAN += /Q \
123 $$CHART_BUILD_HEADER_DIR \
117 $$CHART_BUILD_HEADER_DIR \
124 $$CHART_BUILD_LIB_DIR
118 $$CHART_BUILD_LIB_DIR
119
General Comments 0
You need to be logged in to leave comments. Login now