diff options
author | Keränen Pasi <pasi.keranen@digia.com> | 2013-11-07 15:31:21 +0200 |
---|---|---|
committer | Pasi Keränen <pasi.keranen@digia.com> | 2013-11-08 13:26:55 +0200 |
commit | 2513f99a80d7979522f90a32fcc6df309d838669 (patch) | |
tree | 3c759ab2e256514f6649b1dd768369111ac4d97f /tests/barstest/main.cpp | |
parent | 7c3641ae32cedd137c6d54648876e7a400037304 (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.cpp | 3 |
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, |