summaryrefslogtreecommitdiffstats
path: root/tests/barstest/main.cpp
diff options
context:
space:
mode:
authorKeränen Pasi <pasi.keranen@digia.com>2013-11-07 15:31:21 +0200
committerPasi Keränen <pasi.keranen@digia.com>2013-11-08 13:26:55 +0200
commit2513f99a80d7979522f90a32fcc6df309d838669 (patch)
tree3c759ab2e256514f6649b1dd768369111ac4d97f /tests/barstest/main.cpp
parent7c3641ae32cedd137c6d54648876e7a400037304 (diff)
Adds methods to widget components for setting custom input handlers.
Change-Id: I9939c99164b7cf8a524a435899e2f78df36c1fc7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'tests/barstest/main.cpp')
-rw-r--r--tests/barstest/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/barstest/main.cpp b/tests/barstest/main.cpp
index 9ed0407c..dac9f42a 100644
--- a/tests/barstest/main.cpp
+++ b/tests/barstest/main.cpp
@@ -377,6 +377,9 @@ int main(int argc, char **argv)
QObject::connect(gridCheckBox, &QCheckBox::stateChanged, modifier,
&GraphModifier::setGridEnabled);
+ QObject::connect(rotationCheckBox, &QCheckBox::stateChanged, modifier,
+ &GraphModifier::setUseNullInputHandler);
+
QObject::connect(rotationCheckBox, &QCheckBox::stateChanged, rotationSliderX,
&QSlider::setEnabled);
QObject::connect(rotationCheckBox, &QCheckBox::stateChanged, rotationSliderX,