Commit f6754546 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD] menu items for not yet working standard views

parent ae1466b2
......@@ -97,8 +97,17 @@ void WMainWindow::setupGUI()
fileMenu->addAction( "Config", this, SLOT( openConfigDialog() ), QKeySequence( "Ctrl+C" ) );
fileMenu->addAction( m_iconManager.getIcon( "quit" ), "Quit", this, SLOT( close() ), QKeySequence( "Ctrl+Q" ) );
QMenu* viewMenu = m_menuBar->addMenu( "View" );
viewMenu->addAction( "Left", this, SLOT( openNotImplementedDialog() ), QKeySequence( "L" ) );
viewMenu->addAction( "Right", this, SLOT( openNotImplementedDialog() ), QKeySequence( "R" ) );
viewMenu->addAction( "Superior", this, SLOT( openNotImplementedDialog() ), QKeySequence( "S" ) );
viewMenu->addAction( "Inferior", this, SLOT( openNotImplementedDialog() ), QKeySequence( "I" ) );
viewMenu->addAction( "Anterior", this, SLOT( openNotImplementedDialog() ), QKeySequence( "A" ) );
viewMenu->addAction( "Posterior", this, SLOT( openNotImplementedDialog() ), QKeySequence( "P" ) );
QMenu* helpMenu = m_menuBar->addMenu( "Help" );
helpMenu->addAction( m_iconManager.getIcon( "help" ), "About OpenWalnut", this, SLOT( openAboutDialog() ), QKeySequence( "F1" ) );
setMenuBar( m_menuBar );
m_centralwidget = new QWidget( this );
......@@ -587,6 +596,13 @@ void WMainWindow::openAboutDialog()
"Thank you for using OpenWalnut." );
}
void WMainWindow::openNotImplementedDialog()
{
QMessageBox::information( this, "Not yet implemented!",
"This functionality is planned for future versions of OpenWalnut. "
"It is not yet implemented." );
}
boost::signals2::signal1< void, std::vector< std::string > >* WMainWindow::getLoaderSignal()
{
return &m_loaderSignal;
......
......@@ -172,6 +172,11 @@ public slots:
*/
void openAboutDialog();
/**
* Gets called when a menu entry that has no functionality yet is activated.
*/
void openNotImplementedDialog();
/**
* gets called when the button new roi is pressed
*/
......
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