diff --git a/src/legend/legend.pri b/src/legend/legend.pri new file mode 100644 index 0000000..6353ba7 --- /dev/null +++ b/src/legend/legend.pri @@ -0,0 +1,15 @@ +INCLUDEPATH += $$PWD +DEPENDPATH += $$PWD + +SOURCES += \ + $$PWD/qlegend.cpp \ + $$PWD/legendmarker.cpp + +PRIVATE_HEADERS += \ + $$PWD/legendmarker_p.h \ + $$PWD/legendscroller_p.h \ + $$PWD/qlegend_p.h + + +PUBLIC_HEADERS += \ + $$PWD/qlegend.h \ No newline at end of file diff --git a/src/legendmarker.cpp b/src/legend/legendmarker.cpp similarity index 100% rename from src/legendmarker.cpp rename to src/legend/legendmarker.cpp diff --git a/src/legendmarker_p.h b/src/legend/legendmarker_p.h similarity index 100% rename from src/legendmarker_p.h rename to src/legend/legendmarker_p.h diff --git a/src/legendscroller_p.h b/src/legend/legendscroller_p.h similarity index 100% rename from src/legendscroller_p.h rename to src/legend/legendscroller_p.h diff --git a/src/qlegend.cpp b/src/legend/qlegend.cpp similarity index 100% rename from src/qlegend.cpp rename to src/legend/qlegend.cpp diff --git a/src/qlegend.h b/src/legend/qlegend.h similarity index 100% rename from src/qlegend.h rename to src/legend/qlegend.h diff --git a/src/qlegend_p.h b/src/legend/qlegend_p.h similarity index 100% rename from src/qlegend_p.h rename to src/legend/qlegend_p.h diff --git a/src/src.pro b/src/src.pro index b550321..9733d37 100644 --- a/src/src.pro +++ b/src/src.pro @@ -15,8 +15,6 @@ SOURCES += \ $$PWD/qchart.cpp \ $$PWD/qchartview.cpp \ $$PWD/qseries.cpp \ - $$PWD/qlegend.cpp \ - $$PWD/legendmarker.cpp \ $$PWD/chartbackground.cpp \ $$PWD/chart.cpp \ $$PWD/scroller.cpp @@ -26,34 +24,30 @@ PRIVATE_HEADERS += \ $$PWD/chartpresenter_p.h \ $$PWD/charttheme_p.h \ $$PWD/domain_p.h \ - $$PWD/legendmarker_p.h \ $$PWD/chartbackground_p.h \ $$PWD/chart_p.h \ $$PWD/chartconfig_p.h \ $$PWD/qchart_p.h \ $$PWD/qchartview_p.h \ $$PWD/scroller_p.h \ - $$PWD/qseries_p.h \ - $$PWD/qlegend_p.h \ - $$PWD/legendscroller_p.h + $$PWD/qseries_p.h PUBLIC_HEADERS += \ $$PWD/qchart.h \ $$PWD/qchartglobal.h \ $$PWD/qseries.h \ - $$PWD/qchartview.h \ - $$PWD/qlegend.h + $$PWD/qchartview.h -include(animations/animations.pri) +include(animations/animations.pri) +include(areachart/areachart.pri) include(axis/axis.pri) -include(xychart/xychart.pri) -include(linechart/linechart.pri) -include(areachart/areachart.pri) include(barchart/barchart.pri) +include(legend/legend.pri) +include(linechart/linechart.pri) include(piechart/piechart.pri) include(scatterseries/scatter.pri) include(splinechart/splinechart.pri) include(themes/themes.pri) - +include(xychart/xychart.pri) HEADERS += $$PUBLIC_HEADERS HEADERS += $$PRIVATE_HEADERS