Hello, Try enabling hover events (QQuickItem::setAcceptHoverEvents), they are disabled by default. Then handle them in hoverEnter/Leave/MoveEvent().
Best regard, Laszlo ________________________________ From: interest-bounces+laszlo.agocs=digia....@qt-project.org [interest-bounces+laszlo.agocs=digia....@qt-project.org] on behalf of Thomas Sevaldrud [tho...@silentwings.no] Sent: Saturday, July 26, 2014 5:02 PM To: Interest@qt-project.org Subject: [Interest] setMouseTracking() equivalent for QQuickItem? 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?
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest