[Interest] setMouseTracking() equivalent for QQuickItem?

Thomas Sevaldrud thomas at silentwings.no
Sat Jul 26 17:02:10 CEST 2014


Hi, I have a Qt Quick application with a QQuickItem derived class that does
some GL rendering. In this QuickItem i have overridden mouseMoveEvent(). As
with QWidgets, this event only fires when the mouse button is pressed, but
unlike QWidget there is no setMouseTracking method to enable mouse move
events without pressing the button.

What is the correct way of doing this in Qt Quick? I.e how do I get mouse
move events in my custom QuickItem without pressing the mouse button?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140726/7b3d6dda/attachment.html>


More information about the Interest mailing list