update gui for camera mods
This commit is contained in:
parent
800a6a50f8
commit
a07d8acbec
|
@ -21,5 +21,8 @@
|
||||||
<file>light_on.png</file>
|
<file>light_on.png</file>
|
||||||
<file>solid.png</file>
|
<file>solid.png</file>
|
||||||
<file>settings.png</file>
|
<file>settings.png</file>
|
||||||
|
<file>freeCamera.png</file>
|
||||||
|
<file>orbitalCamera.png</file>
|
||||||
|
<file>walkCamera.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -37,6 +37,18 @@ QToolButton#screenshot {
|
||||||
image: url(:/images/toolbar/screenshot.png);
|
image: url(:/images/toolbar/screenshot.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QToolButton#freeCamera {
|
||||||
|
image: url(:/images/toolbar/freeCamera.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#orbitalCamera {
|
||||||
|
image: url(:/images/toolbar/orbitalCamera.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#walkCamera {
|
||||||
|
image: url(:/images/toolbar/walkCamera.png);
|
||||||
|
}
|
||||||
|
|
||||||
QToolButton#wireframe {
|
QToolButton#wireframe {
|
||||||
image: url(:/images/toolbar/solid.png);
|
image: url(:/images/toolbar/solid.png);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 964 B |
Binary file not shown.
After Width: | Height: | Size: 993 B |
Binary file not shown.
After Width: | Height: | Size: 924 B |
|
@ -102,11 +102,11 @@ void MainWindow::setupWidgets()
|
||||||
ui->mainToolBar->addWidget(orbitCamera);
|
ui->mainToolBar->addWidget(orbitCamera);
|
||||||
|
|
||||||
// Move Camera
|
// Move Camera
|
||||||
QToolButton *moveCamera = new QToolButton(this);
|
QToolButton *walkCamera = new QToolButton(this);
|
||||||
moveCamera->setObjectName("moveCamera");
|
walkCamera->setObjectName("walkCamera");
|
||||||
moveCamera->setToolTip("move camera");
|
walkCamera->setToolTip("walk camera");
|
||||||
connect(moveCamera, &QToolButton::pressed, viewer, &OglViewerWidget::useMoveCamera);
|
connect(walkCamera, &QToolButton::pressed, viewer, &OglViewerWidget::useMoveCamera);
|
||||||
ui->mainToolBar->addWidget(moveCamera);
|
ui->mainToolBar->addWidget(walkCamera);
|
||||||
|
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
ui->mainToolBar->addSeparator();
|
ui->mainToolBar->addSeparator();
|
||||||
|
|
Loading…
Reference in New Issue