[Interest] QGraphicsItem and mouse events

Igor Mironchik igor.mironchik at gmail.com
Sat Nov 2 23:21:24 CET 2013


In the attachement small example that shows the problem. By default 
QGraphicsItem must be movable by mouse but he doesn't...


> Hi.
>
> I've implemented QGraphicsItem and want to receive mouseReleaseEvent.
>
> I've reimplemented mouseReleaseEvent virtual method but he doesn't 
> invoked.
>
> Why?
>
> I've checked this method with QGraphicsScene and there he works but 
> not in QGraphicsItem.
>
> Why again?
>


-- 
Best Regards,
Igor Mironchik.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 924 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131103/0bc02ed5/attachment.cpp>


More information about the Interest mailing list