[SOLVED] QGraphicsView hide scroll bar without disabling it
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 ...
ui->graphicsView->scrollHorizontalBar()->hide() works sorry about that ...
graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) should do the same ...