[Qt-interest] Box Pick Zoom

Thomas Dähling t.daehling at googlemail.com
Thu Aug 13 13:26:54 CEST 2009


In all honesty, I cannot imagine what 'box pick zoom' is supposed to
be, and google did not help me figuring this out either. Maybe if you
could elaborate further upon what this is exactly supposed to do
there'll be more people able to help you out with this.

2009/8/13 Sujan Dasmahapatra <sujan.dasmahapatra at gmail.com>:
> Dear Friends
>
> I have a QGraphicsView, QGraphicsScene and a bunch of QGraphicsItem.
>
> all the  items are in the scene and displayed in view. I want to provide box
> pick zoom in and zoom out to the items or to the view.
>
> so  in the slot when user clicks for zoom in I am enabling rubberband
> selection mode.
> //something like this.
> MainWindow::ZoomIn()
> {
>    view->setRubberBandSelectionMode (Qt::ContainsItemShape);
>
> }
>
>
> //////////////////////////////////////////////
>
> but when I click on zoom in  no rubber band is appearing.Can anyone suggest
> me how could I achieve box pick zoom for my view and items in the view. ??
>
> --
> Thanks & Regards
> S. Dasmahapatra
> B.E. (Aeronautics-Aerodynamics)
> Bangalore, India
> Ph:91-9900839788
> Office:91-80-66470248
> mail id : sujan.dasmahapatra at gmail.com
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list