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