diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-11-22 07:56:04 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-11-22 08:30:09 +0200 |
commit | 3ce4ae10e54e9c5d73826f4d6f8c5e442ac2d525 (patch) | |
tree | 6ae0bb7c1ff8720f6340453b39d481ffcf526127 /tests/barstest/chart.h | |
parent | d12f993ca802ff02091d6a5141d2847641bc65a8 (diff) |
User-modifiable themes, part 1
Task-number: QTRD-2120
+ old functionality remade
- new functionality to be added
+ fixed a compilation error in qbarseries for mingw
Change-Id: I710c97b5d4023861be8e8cc5cc61c05bb4644964
Signed-off-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'tests/barstest/chart.h')
-rw-r--r-- | tests/barstest/chart.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/barstest/chart.h b/tests/barstest/chart.h index a9d6119b..7db8f1bd 100644 --- a/tests/barstest/chart.h +++ b/tests/barstest/chart.h @@ -26,6 +26,7 @@ #include <QDebug> #include <QStringList> #include <QPointer> +#include <QColorDialog> using namespace QtDataVisualization; @@ -33,7 +34,7 @@ class GraphModifier : public QObject { Q_OBJECT public: - explicit GraphModifier(Q3DBars *barchart); + explicit GraphModifier(Q3DBars *barchart, QColorDialog *colorDialog); ~GraphModifier(); void resetTemperatureData(); @@ -74,6 +75,8 @@ public: void releaseAxes(); void releaseProxies(); void createMassiveArray(); + void useOwnTheme(); + void changeBaseColor(const QColor &color); public slots: void flipViews(); @@ -87,7 +90,8 @@ signals: void shadowQualityChanged(int quality); private: - Q3DBars *m_chart; + Q3DBars *m_graph; + QColorDialog *m_colorDialog; int m_columnCount; int m_rowCount; qreal m_xRotation; |