summaryrefslogtreecommitdiffstats
path: root/examples/widget/chart.h
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-08-19 13:40:06 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-08-19 13:59:57 +0300
commitd8bbb6623b1e03f1e7fb611f6897887849083c1c (patch)
tree213c6d48357df80d977485025225f398ee8a1552 /examples/widget/chart.h
parent085a978a78af76a43d107d13a8b119423d37742b (diff)
Doc update; q3dbars, q3dwindow
+ api updates Change-Id: I8da49e3cb45025eaa5713ae563bf8475f15cc298 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/widget/chart.h')
-rw-r--r--examples/widget/chart.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/widget/chart.h b/examples/widget/chart.h
index 67280e13..85fa36ea 100644
--- a/examples/widget/chart.h
+++ b/examples/widget/chart.h
@@ -53,7 +53,7 @@ public:
void rotateY(int rotation);
void setBackgroundEnabled(int enabled);
void setGridEnabled(int enabled);
- void setSpecsX(int barwidth);
+ void setSpecsRatio(int barwidth);
void setSpecsZ(int bardepth);
void setSpacingSpecsX(int spacing);
void setSpacingSpecsZ(int spacing);
@@ -76,8 +76,7 @@ private:
float m_xRotation;
float m_yRotation;
bool m_static;
- float m_barWidth;
- float m_barDepth;
+ qreal m_barThicknessRatio;
float m_barSpacingX;
float m_barSpacingZ;
int m_fontSize;