[SOLVED] QGraphicsView hide scroll bar without disabling it
-
wrote on 7 Oct 2013, 11:56 last edited by
Hello,
I have 2 QGraphicsViews with the same height and with vertical scroll bars.
I connected the scroll bars together that they move at the same time. However, I want to hide the scroll bar in the second view. Just hiding, but it still needs to be scrolling ...Any idea?
Thanks
-
wrote on 7 Oct 2013, 12:33 last edited by
ui->graphicsView->scrollHorizontalBar()->hide() works sorry about that ...
-
wrote on 7 Oct 2013, 14:22 last edited by
graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) should do the same ...
1/3