diff --git a/src/qt/MainWnd.cpp b/src/qt/MainWnd.cpp index 7bfae4fe..4833769c 100644 --- a/src/qt/MainWnd.cpp +++ b/src/qt/MainWnd.cpp @@ -96,11 +96,13 @@ void MainWnd::createMenus() // File menu fileMenu = menuBar()->addMenu( tr( "&File" ) ); + fileMenu->addAction( tr( "Open ROM" ), this, SLOT( showOpenROM() ) ); fileMenu->addAction( tr( "Exit" ), this, SLOT( close() ) ); // Settings menu settingsMenu = menuBar()->addMenu( tr( "&Settings" ) ); + settingsMenu->addAction( tr( "Main options..." ), this, SLOT( showMainOptions() )); settingsMenu->addAction( tr( "Select language..." ), this, SLOT( selectLanguage() ) ); settingsMenu->addAction( enableTranslationAct ); @@ -236,6 +238,22 @@ void MainWnd::showAboutQt() QMessageBox::aboutQt( this ); } +void MainWnd::showOpenROM() +{ + QString info; + info += tr ( "Enter ROM loader code here." ); + + QMessageBox::about( this, tr( "Status" ), info ); +} + +void MainWnd::showMainOptions() +{ + QString info; + info += tr ( "Placeholder for opening options widget." ); + + QMessageBox::about( this, tr( "Status" ), info ); +} + void MainWnd::showAboutOpenGL() { diff --git a/src/qt/MainWnd.h b/src/qt/MainWnd.h index 9c729ed7..dd26dc6e 100644 --- a/src/qt/MainWnd.h +++ b/src/qt/MainWnd.h @@ -53,6 +53,8 @@ private slots: void showAbout(); void showAboutOpenGL(); void showAboutQt(); + void showOpenROM(); + void showMainOptions(); }; #endif // #ifndef MAINWND_H