[Interest] QGraphicsSceneMouseEvent, mapFromScene...
Alexander Semke
Alexander.Semke at web.de
Mon Apr 28 23:16:10 CEST 2014
Hi,
I'm having here a problem with mapFrom/mapTo-functions. In a class derived
from QGraphicsItem I override mousePressEvent and I get for
mapFromScreen(event->screenPos()) a point that is different from event->pos().
Similarly, mapToScreen(event->pos()) doesn't lead to event->screenPos(). Why?
There is something here that I don't completely understand...
Can somebody help?
Best regards
Alexander
More information about the Interest
mailing list