Veeru
3rd April 2008, 09:48
Hi guys,
I had a graphics view in my application , it has items on it , i implimented zoom according to 40000 chips example.It is working fine , but i would like to zoom the selected area.That area is selected by ruberband , it selects items covered by that area.
For rubber band i am using this function
view->setDragMode (QGraphicsView::RubberBandDrag );
The actual problem is , for this what event is going to call, i am not under standing.
I have tried all the events , how to catch the drag event.
please help me
Thank you ,
Regards
Veeru
I had a graphics view in my application , it has items on it , i implimented zoom according to 40000 chips example.It is working fine , but i would like to zoom the selected area.That area is selected by ruberband , it selects items covered by that area.
For rubber band i am using this function
view->setDragMode (QGraphicsView::RubberBandDrag );
The actual problem is , for this what event is going to call, i am not under standing.
I have tried all the events , how to catch the drag event.
please help me
Thank you ,
Regards
Veeru