diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-25 08:26:35 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-25 08:29:14 (GMT) |
commit | 042f15fefd19584c546cb55f24c4c79c4d76529c (patch) | |
tree | d18ae93811676588f0f77280fb4c7f93686d834f /src/gui/widgets/qplaintextedit_p.h | |
parent | 1908002e9b7cbd9c3ebdec061e842bd6296b1edb (diff) | |
download | Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.zip Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.tar.gz Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.tar.bz2 |
Carbon: pan gesture keeps breaking wheel events
Solution: remove pan gestures from all scroll areas in Qt. I do
this for Mac now, but I will strongly suggest that we do this
on Win as well, as there is currently no way to override the
panning behaviour, and this works against the intention of
scroll areas.
Diffstat (limited to 'src/gui/widgets/qplaintextedit_p.h')
-rw-r--r-- | src/gui/widgets/qplaintextedit_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/qplaintextedit_p.h b/src/gui/widgets/qplaintextedit_p.h index 608f3cf..e93302c 100644 --- a/src/gui/widgets/qplaintextedit_p.h +++ b/src/gui/widgets/qplaintextedit_p.h @@ -176,12 +176,14 @@ public: #endif void _q_cursorPositionChanged(); - void _q_modificationChanged(bool); - void _q_gestureTriggered(); int originalOffsetY; + +#ifdef Q_WS_WIN + void _q_gestureTriggered(); QPanGesture *panGesture; +#endif }; QT_END_NAMESPACE |