HI
Will I get hover events in a object that is inherited from QgsMapCanvasItem?
I created a class derived from QgsMapCanvasItem and implemented the three
methods hover events.

When instantiating the class I pass it a mapcanvas, and set the
acceptHoverEvents to true.
I also implemented the boundingrect method that returns the bounding rect,
and before I change the bounding rect, I am calling prepareGeometryChange
before updating the bounding rectangle.
I have also checked the hasMouseTracking setting on the mapcanvas and it is
set to true.
But when moving the mouse pointer over the object, no hover events is
coming in?
Should I get hover events, or is it "blocked" in the mapcanvas?

Regards
Theuns Heydenrych
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to