diff options
author | Keränen Pasi <pasi.keranen@digia.com> | 2013-11-05 09:58:44 +0200 |
---|---|---|
committer | Pasi Keränen <pasi.keranen@digia.com> | 2013-11-05 13:09:14 +0200 |
commit | 91745c4b2f7933dfcb0c9eca28e87ad0fae93e66 (patch) | |
tree | 9fe246ed56b81e997f3a37a5d071515268040d5b /tests/surfacetest/graphmodifier.cpp | |
parent | 2cd0924e7f0147ecbba1197f7d0d32260434a2fd (diff) |
Add configurable main and slice view ordering.
Change-Id: I9f5d7399d60971c782fa8ac6fc39a05fa3bbcaa8
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'tests/surfacetest/graphmodifier.cpp')
-rw-r--r-- | tests/surfacetest/graphmodifier.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/surfacetest/graphmodifier.cpp b/tests/surfacetest/graphmodifier.cpp index ebc712a8..f5c39f98 100644 --- a/tests/surfacetest/graphmodifier.cpp +++ b/tests/surfacetest/graphmodifier.cpp @@ -333,6 +333,12 @@ void GraphModifier::changeTheme(int theme) m_graph->setTheme((QDataVis::Theme)theme); } + +void GraphModifier::flipViews() +{ + m_graph->scene()->setSecondarySubviewOnTop(!m_graph->scene()->isSecondarySubviewOnTop()); +} + void GraphModifier::timeout() { int rows = m_planeArray->size(); |