diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-04-22 13:57:43 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-04-23 07:32:52 +0300 |
commit | bd3fb010ea95f622b81c550e397b11d9eeae0698 (patch) | |
tree | d88c5f6f72eac9446bb435b20fb27a654dbb789f /examples/datavis3d/widget/chart.h | |
parent | e6f2c15d221885bb2fac4c17c6b782e94ff41205 (diff) |
More stuff to widget example
Change-Id: I7ae74f65ba739808b75b3f5a70c00eb92f2ab334
Change-Id: I7ae74f65ba739808b75b3f5a70c00eb92f2ab334
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/datavis3d/widget/chart.h')
-rw-r--r-- | examples/datavis3d/widget/chart.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/examples/datavis3d/widget/chart.h b/examples/datavis3d/widget/chart.h index 5ae8ff40..6c06a629 100644 --- a/examples/datavis3d/widget/chart.h +++ b/examples/datavis3d/widget/chart.h @@ -44,12 +44,9 @@ #include "q3dbars.h" #include "qdataset.h" -#include <QTimer> #include <QFont> #include <QDebug> -#define USE_STATIC_DATA - using namespace QtDataVis3D; class ChartModifier : public QObject @@ -63,14 +60,24 @@ public: void changeStyle(); void changePresetCamera(); void changeTheme(); - void rotate(int rotation); + void changeTransparency(); + void changeSelectionMode(); + void rotateX(int rotation); + void rotateY(int rotation); + void setSpecsX(int barwidth); + void setSpecsZ(int bardepth); void start(); + void restart(bool dynamicData); private: Q3DBars *m_chart; - QTimer *m_dataTimer; int m_columnCount; int m_rowCount; + float m_xRotation; + float m_yRotation; + bool m_static; + float m_barWidth; + float m_barDepth; }; #endif |