diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-07 09:18:03 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-07 09:18:47 +0300 |
commit | 7c29e6efc4dcb1393f90e90dc2e5e2ef242edd41 (patch) | |
tree | 94c3e6e20aea9ff1fa86ed74187646ccdab36984 /examples/datavis3d/mapdata/mapdata.cpp | |
parent | 820697112c5a9429d48ffc8b6280e570dfe6a99b (diff) |
Added a custom bar (weird thing) to Q3DMaps example
Change-Id: Ic8ea6543adcaebb05f18f07517aeccc8dae6033b
Change-Id: Ic8ea6543adcaebb05f18f07517aeccc8dae6033b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/datavis3d/mapdata/mapdata.cpp')
-rw-r--r-- | examples/datavis3d/mapdata/mapdata.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/datavis3d/mapdata/mapdata.cpp b/examples/datavis3d/mapdata/mapdata.cpp index 66c5ed2c..fe1ffdcf 100644 --- a/examples/datavis3d/mapdata/mapdata.cpp +++ b/examples/datavis3d/mapdata/mapdata.cpp @@ -40,6 +40,7 @@ #include "mapdata.h" #include <QImage> +#include <QFile> using namespace QtDataVis3D; @@ -53,7 +54,8 @@ MapsModifier::MapsModifier(Q3DMaps *maps) QImage image = QImage(QStringLiteral(":/images/suomi")); m_imageRect = image.rect(); m_chart->setAreaSpecs(m_imageRect, image); - m_chart->setBarType(Cones, false); + //m_chart->setBarType(Cones, false); + m_chart->setMeshFileName(QStringLiteral(":/meshes/weirdthing")); } MapsModifier::~MapsModifier() |