summaryrefslogtreecommitdiff
path: root/src/controls/Private/qquickwheelarea_p.h
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-04-03 12:41:00 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-14 15:07:34 +0200
commit67f6c0bc3052a5c14d4b556c25e376fe97c7973e (patch)
tree5288ae50737103ce6db2c0847ba982c0be3b7d9a /src/controls/Private/qquickwheelarea_p.h
parentefbaa82fc79f3bee5486c12acf21e71cfaaed093 (diff)
downloadqtquickcontrols-67f6c0bc3052a5c14d4b556c25e376fe97c7973e.tar.gz
Scroll the parent mouse areas when reaching the bounds of a ScrollView
Change-Id: I18da235e81fa7547b78b623257226dd4a745b518 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Private/qquickwheelarea_p.h')
-rw-r--r--src/controls/Private/qquickwheelarea_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/controls/Private/qquickwheelarea_p.h b/src/controls/Private/qquickwheelarea_p.h
index ebaa1453..7f9f2b7e 100644
--- a/src/controls/Private/qquickwheelarea_p.h
+++ b/src/controls/Private/qquickwheelarea_p.h
@@ -97,6 +97,11 @@ public:
void wheelEvent(QWheelEvent *event);
+ bool isAtXEnd() const;
+ bool isAtXBeginning() const;
+ bool isAtYEnd() const;
+ bool isAtYBeginning() const;
+
Q_SIGNALS:
void verticalValueChanged();
void horizontalValueChanged();