Hi to all,
If i set a QTransform on a widged class
trans = QTransform(1.2,0.,0.,1.2,0.,0.); scale 1.2 zoom
and i paint on a p->setWorldTransform(trans,false);
Why on mouse event QTransform can not mapping correct point?
QPointF translatet_point = trans.map(event->pos());
if i debug trans.m11() it return correct 1.2 and point x,y is map 1:1
Danny
Bookmarks