Commit a07d8acb authored by Anakin's avatar Anakin

update gui for camera mods

parent 800a6a50
......@@ -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);
}
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment