PDA

View Full Version : Disable ScrollBar



peace_comp
4th April 2008, 00:35
Hey..

Plz I wanna know if there are any way to disable the scrollbar on a graphic views!!

When I zoom on the Scene(a Map) the Scrollbar is generated automaticlly by the GrphicsViews..
but I wanna Use instead Actions( pan_left,pan_right,pan_up,pan_down) ..

So Plz If SomeOne Could HElp !!
thanks

spud
4th April 2008, 00:46
QAbstractScrollArea::setVerticalScrollBarPolicy() (http://doc.trolltech.com/4.3/qabstractscrollarea.html#verticalScrollBarPolicy-prop)
QAbstractScrollArea::setHorizontalScrollBarPolicy( ) (http://doc.trolltech.com/4.3/qabstractscrollarea.html#horizontalScrollBarPolicy-prop)