[Qt-interest] translation problem

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Mon Jun 29 20:06:46 CEST 2009


Dear Friends
I am translating a graphicsitem geometry like the following but it's
translating for the first time when i click. 2nd time onwards it's not
translating while the function is being called.Could u tell me anyone whats
the problem going on ? Thanks
 QPointF centreScene(dx,dy);
 QPointF centreItem = geometry->mapFromScene(centreScene);
 geometry->translate((centreItem.x()),(centreItem.y()));
 scene->update();


-- 
Thanks & Regards
S. Dasmahapatra
B.E. (Aeronautics-Aerodynamics)
Senior Engineer---CFD(Computational Fluid Dynamics)
L M Glasfiber R & D (India) Pvt Ltd
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : sujan.dasmahapatra at gmail.com
            sdh at lmglasfiber.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090629/2907b33e/attachment.html 


More information about the Qt-interest-old mailing list