Hi!

In the hoverMoveEvent() function can I check the hoverEvent.modifiers() for mouse presses? I tried with

if hover.Event.modifiers() & Qt.LeftButton:
 ...

but this does not seem to work.

The description for modifiers() only talks about keyboard modifiers. Can I not check if a mouse was pressed in hoverEvents?

Or do I need to set variables according to hovering and then handle them in mousePressEvent()?

Thanks in advance
Chris


_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to