diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-24 07:44:14 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-06-28 09:44:50 +0000 |
commit | ca9e2a0d7488cbbb94d8343c43eb49c6ee5f6519 (patch) | |
tree | 79a0ba3e2a54af085f9efc187f36bfc8f100a4cd /src/quick/handlers/handlers.pri | |
parent | 3cda7df8ac8fc6f9a5562e89a4b047449dc3b2bc (diff) |
Add HoverHandler to detect a hovering mouse pointer
Detect whether the handler's parent contains the mouse, while the
point property tracks the event point (position etc.)
Task-number: QTBUG-68072
Change-Id: Ica99332596eab3e344852a11f1ceb7aaf6348c86
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers/handlers.pri')
-rw-r--r-- | src/quick/handlers/handlers.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/handlers/handlers.pri b/src/quick/handlers/handlers.pri index a47d144fbb..111a526ce2 100644 --- a/src/quick/handlers/handlers.pri +++ b/src/quick/handlers/handlers.pri @@ -2,6 +2,7 @@ HEADERS += \ $$PWD/qquickdraghandler_p.h \ $$PWD/qquickhandlerpoint_p.h \ $$PWD/qquickhandlersmodule_p.h \ + $$PWD/qquickhoverhandler_p.h \ $$PWD/qquickmultipointhandler_p.h \ $$PWD/qquickpinchhandler_p.h \ $$PWD/qquickpointerdevicehandler_p.h \ @@ -17,6 +18,7 @@ SOURCES += \ $$PWD/qquickdraghandler.cpp \ $$PWD/qquickhandlerpoint.cpp \ $$PWD/qquickhandlersmodule.cpp \ + $$PWD/qquickhoverhandler.cpp \ $$PWD/qquickmultipointhandler.cpp \ $$PWD/qquickpinchhandler.cpp \ $$PWD/qquickpointerdevicehandler.cpp \ |