Commit 682f2988 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD #520] add sensible icon for fit screen function

parent f42683de
......@@ -190,6 +190,7 @@ void WMainWindow::setupGUI()
m_iconManager.addMapping( "axial icon", "orientation_axial" );
m_iconManager.addMapping( "coronal icon", "orientation_coronal" );
m_iconManager.addMapping( "sagittal icon", "orientation_sagittal" );
m_iconManager.addMapping( "center icon", "center_scene" );
m_iconManager.addMapping( "DefaultModuleIcon", "default" );
m_iconManager.addMapping( "missingModule", "question" );
m_iconManager.addMapping( "view", "camera" );
......
......@@ -122,7 +122,7 @@ WQtGLWidget::WQtGLWidget( std::string nameOfViewer, QWidget* parent, WGECamera::
tmpAction->setIconVisibleInMenu( true );
m_cameraPresetResetMenu->addAction( tmpAction );
tmpAction = m_cameraPresetMenu->addAction( WQtGui::getIconManager()->getIcon( "coronal icon" ), "Fit screen", this,
tmpAction = m_cameraPresetMenu->addAction( WQtGui::getIconManager()->getIcon( "center icon" ), "Fit screen", this,
SLOT( setFitScreenPosition() ),
QKeySequence( Qt::CTRL + Qt::SHIFT + Qt::Key_F ) );
tmpAction->setIconVisibleInMenu( true );
......
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