diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-15 08:26:58 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-15 09:16:48 +0300 |
commit | 547cbfd201056b88ab40d22959112e5486d0fd7a (patch) | |
tree | 5264bf3f59df429de9a95df78dde582696cdf32e /examples/spectrum | |
parent | d2ecbc5603b73f4a5e0164ac0dd984541d86bd98 (diff) |
Shadow quality adjustment via API added
Added adjustment option to widget and mapdata examples
Change-Id: I18d06b171c8caf9c4d21aad588d460447eb8edc3
Change-Id: I18d06b171c8caf9c4d21aad588d460447eb8edc3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/spectrum')
-rw-r--r-- | examples/spectrum/spectrumapp/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/spectrum/spectrumapp/main.cpp b/examples/spectrum/spectrumapp/main.cpp index 75d4997d..b6f9eabe 100644 --- a/examples/spectrum/spectrumapp/main.cpp +++ b/examples/spectrum/spectrumapp/main.cpp @@ -88,6 +88,8 @@ MainApp::MainApp(Q3DBars *window) m_chart->setupSampleSpace(SpectrumNumBands, SpectrumNumBands * 2); // Disable grid m_chart->setGridEnabled(false); + // Disable shadows + m_chart->setShadowQuality(ShadowNone); #if USE_CONES // Set bar specifications; make them a bit wider than deep and make them be drawn 75% // inside each other |