From c11538865bf8879cf2fb8aa4b0d057e1804eca37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Tue, 26 Aug 2014 13:40:51 +0300 Subject: Added reflection to 2 examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTRD-3290 + changed the theme in texturesurface example Change-Id: I872ef7048e21c3bbf9daa0b2a620c9cdfe2256c8 Reviewed-by: Tomi Korpipää --- .../customproxy/doc/images/customproxy-example.png | Bin 125698 -> 173744 bytes .../customproxy/rainfallgraph.cpp | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/datavisualization/customproxy') diff --git a/examples/datavisualization/customproxy/doc/images/customproxy-example.png b/examples/datavisualization/customproxy/doc/images/customproxy-example.png index 753b8951..4f82943a 100644 Binary files a/examples/datavisualization/customproxy/doc/images/customproxy-example.png and b/examples/datavisualization/customproxy/doc/images/customproxy-example.png differ diff --git a/examples/datavisualization/customproxy/rainfallgraph.cpp b/examples/datavisualization/customproxy/rainfallgraph.cpp index 024fc2a1..bcd67acc 100644 --- a/examples/datavisualization/customproxy/rainfallgraph.cpp +++ b/examples/datavisualization/customproxy/rainfallgraph.cpp @@ -49,7 +49,7 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall) // Set up bar specifications; make the bars as wide as they are deep, // and add a small space between the bars m_graph->setBarThickness(1.0f); - m_graph->setBarSpacing(QSizeF(0.2, 0.2)); + m_graph->setBarSpacing(QSizeF(1.1, 1.1)); // Set axis labels and titles QStringList months; @@ -85,6 +85,9 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall) // Set window title m_graph->setTitle(QStringLiteral("Monthly rainfall in Northern Finland")); + + // Set reflections on + m_graph->setReflection(true); } RainfallGraph::~RainfallGraph() -- cgit v1.2.3