Hi !

I have an issue with a subclassed QGraphicsItem, I try to re-implement
mouseReleaseEvent but it is never triggered.

I read on Google that I wasn't the first one having this issue, but I found
several leads and no one did work.

So, I did setAcceptHoverEvents(true); in the constructor to handle hover
events (and it works), no problem with mousePressEvent but I cannot locate
what is wrong with mouseReleaseEvent.
I accepted the event in mousePressEvent (it didn't change a thing), I tried
to make the item selectable, movable, focusable, didn't work.

Is there a specific flag or function in the GraphicsScene I forgot ?

Thanks,
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to