Qt Declarative (Quick 2)
Go to file
Santhosh Kumar d61f8a30af Ignore tap events for table view when interactive is disabled
TableView uses QQuickTapHandler internally to handle tap events. This
handler accepts tap events considering pointerNavigationEnabled property
of table view. TableView accepts mouse events if either 'interactive'
or 'pointerNavigationEnabled' property is set as true, otherwise, it
has to pass mouse or touch events to the below item.

This patch introduces QQuickTableViewTapHandler inherited from
QQuickTapHandler that can explicitly check pointerNavigationEnabled
property of QQuickTableView during wantsEventPoint to either accept
or ignore tap events.

Fixes: QTBUG-108596
Change-Id: I330ae319706b6dbadc3a7319f62d636708aab995
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 79d61b3ab7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-04-12 01:09:42 +00:00
LICENSES Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 18:25:00 +00:00
coin qmldom: use a released Qt 6.3 2022-10-06 11:41:18 +00:00
dist Merge qtquickcontrols2 into qtdeclarative 2021-07-28 11:21:25 +02:00
examples Imageelements example: Update by coding conventions from official doc 2023-04-04 08:18:34 +00:00
features
src Ignore tap events for table view when interactive is disabled 2023-04-12 01:09:42 +00:00
tests Ignore tap events for table view when interactive is disabled 2023-04-12 01:09:42 +00:00
tools Doc: Rename and rephrase pages for QML {script|type} compiler 2023-03-30 15:51:38 +02:00
.cmake.conf Bump version to 6.5.1 2023-04-03 21:31:31 +03:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
conanfile.py Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on '6.5' in qt/qtdeclarative 2023-04-03 18:31:30 +00:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00
sync.profile Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00