PDA

View Full Version : resizing qgraphicsitem?



venkat.godavarthi
9th September 2009, 10:04
hi every one,

i'm very new to QT,

recently i start a project with QGraphicsScene and QGraphicsView,in that project i able to draw rectangle items and also i can able to move it and scale it,

but the problem is how to resize the qgraphicsitem using mouse dynamically.

so please help me


thanks to all

Lykurg
9th September 2009, 12:09
You have to add handles to your item and react on their movement. Search for "qgraphicsitem handles" inside the forum and you will get answers...

18948 or in the book of Johan Thelin you will find an example.