summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-05-16 08:35:09 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-05-16 08:42:21 +0300
commit13fdd5fcdd0db713f2b8051830cdf3dda2775433 (patch)
tree934ddf86d1364c12d560dbfcd41c64b363ba26ea /examples
parent322e671266d9d7303f2a10fd837d0de153cf7825 (diff)
Adjusted shadows and default colors
Change-Id: I1325a3ec78cc474df78ba3dde8d59c58aeff81ea Change-Id: I1325a3ec78cc474df78ba3dde8d59c58aeff81ea Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/mapdata/mapdata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/mapdata/mapdata.cpp b/examples/mapdata/mapdata.cpp
index 60d59f45..29620aa5 100644
--- a/examples/mapdata/mapdata.cpp
+++ b/examples/mapdata/mapdata.cpp
@@ -50,12 +50,12 @@ MapsModifier::MapsModifier(Q3DMaps *maps)
m_fontSize(20.0f),
m_barSpecs(QVector3D(30.0f, 30.0f, 30.0f))
{
- m_chart->setBarSpecs(m_barSpecs, Q3DMaps::AdjustHeight);
+ m_chart->setBarSpecs(m_barSpecs, Q3DMaps::AdjustAll);
QImage image = QImage(QStringLiteral(":/images/suomi"));
m_imageRect = image.rect();
m_chart->setAreaSpecs(m_imageRect, image);
- m_chart->setBarType(Cones, false);
- //m_chart->setMeshFileName(QStringLiteral(":/meshes/weirdthing"));
+ //m_chart->setBarType(Cones, false);
+ m_chart->setMeshFileName(QStringLiteral(":/meshes/weirdthing"));
}
MapsModifier::~MapsModifier()