aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickdial_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-29 13:04:10 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-29 13:19:28 +0000
commitda0570d1ddf6c786b4bfdd0a1172b36ecc66f2a2 (patch)
tree210a71ded0651cf6e6cbe110ecdc7cc8a49cd59c /src/quicktemplates2/qquickdial_p.h
parent661bba4f11666d5d9018a6a1d16a71c324bdf123 (diff)
Dial: add missing wheel handling
[ChangeLog][Controls][Dial] Added support for wheel handling when wheelEnabled is set to true. Change-Id: If0bc2f0ea9d7cde7726739cdfdbd795c908981f0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdial_p.h')
-rw-r--r--src/quicktemplates2/qquickdial_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickdial_p.h b/src/quicktemplates2/qquickdial_p.h
index 2d87d6d9..291a6ac2 100644
--- a/src/quicktemplates2/qquickdial_p.h
+++ b/src/quicktemplates2/qquickdial_p.h
@@ -132,6 +132,8 @@ protected:
void mouseMoveEvent(QMouseEvent *event) override;
void mouseReleaseEvent(QMouseEvent *event) override;
void mouseUngrabEvent() override;
+ void wheelEvent(QWheelEvent *event) override;
+
void mirrorChange() override;
void componentComplete() override;