Alwayse show scrollbars for scene.
--HG-- branch : develop
This commit is contained in:
parent
d487d06384
commit
ed844c1c82
|
@ -67,6 +67,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
connect(sceneDetails, &VMainGraphicsScene::mouseMove, this, &MainWindow::mouseMove);
|
connect(sceneDetails, &VMainGraphicsScene::mouseMove, this, &MainWindow::mouseMove);
|
||||||
view = new VMainGraphicsView();
|
view = new VMainGraphicsView();
|
||||||
ui->LayoutView->addWidget(view);
|
ui->LayoutView->addWidget(view);
|
||||||
|
view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||||
|
view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||||
view->setScene(currentScene);
|
view->setScene(currentScene);
|
||||||
|
|
||||||
sceneDraw->setTransform(view->transform());
|
sceneDraw->setTransform(view->transform());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user