Made one full pass over all Qt window menus and added accelerators where it makes sense.

This commit is contained in:
mjbudd77 2021-02-14 05:09:44 -05:00
parent 58c3081176
commit c3473dbf4d
7 changed files with 15 additions and 15 deletions

View File

@ -118,7 +118,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
// Menu Start
//-----------------------------------------------------------------------
// Debug
debugMenu = menuBar->addMenu(tr("Debug"));
debugMenu = menuBar->addMenu(tr("&Debug"));
// Debug -> Run
act = new QAction(tr("Run"), this);

View File

@ -440,7 +440,7 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Options
optMenu = menuBar()->addMenu(tr("Options"));
optMenu = menuBar()->addMenu(tr("&Options"));
// Options -> Input Config
inputConfig = new QAction(tr("Input Config"), this);
@ -554,7 +554,7 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Emulation
emuMenu = menuBar()->addMenu(tr("Emulation"));
emuMenu = menuBar()->addMenu(tr("&Emulation"));
// Emulation -> Power
powerAct = new QAction(tr("Power"), this);
@ -724,7 +724,7 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Tools
toolsMenu = menuBar()->addMenu(tr("Tools"));
toolsMenu = menuBar()->addMenu(tr("&Tools"));
// Tools -> Cheats
cheatsAct = new QAction(tr("Cheats..."), this);
@ -768,7 +768,7 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Debug
debugMenu = menuBar()->addMenu(tr("Debug"));
debugMenu = menuBar()->addMenu(tr("&Debug"));
// Debug -> Debugger
debuggerAct = new QAction(tr("Debugger..."), this);
@ -877,7 +877,7 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Help
helpMenu = menuBar()->addMenu(tr("Help"));
helpMenu = menuBar()->addMenu(tr("&Help"));
// Help -> About FCEUX
aboutAct = new QAction(tr("About FCEUX"), this);

View File

@ -888,7 +888,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// File
fileMenu = menuBar->addMenu(tr("File"));
fileMenu = menuBar->addMenu(tr("&File"));
// File -> Save ROM
saveROM = new QAction(tr("Save ROM"), this);
@ -925,7 +925,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu->addAction(closeAct);
// Edit
editMenu = menuBar->addMenu(tr("Edit"));
editMenu = menuBar->addMenu(tr("&Edit"));
// Edit -> Undo
undoEditAct = new QAction(tr("Undo"), this);
@ -963,7 +963,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
editMenu->addAction(act);
// View
viewMenu = menuBar->addMenu(tr("View"));
viewMenu = menuBar->addMenu(tr("&View"));
group = new QActionGroup(this);
@ -1051,7 +1051,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
colorMenu->addAction(actColorBG);
// Bookmarks Menu
bookmarkMenu = menuBar->addMenu(tr("Bookmarks"));
bookmarkMenu = menuBar->addMenu(tr("&Bookmarks"));
//-----------------------------------------------------------------------
// Menu End

View File

@ -149,7 +149,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// View
viewMenu = menuBar->addMenu(tr("View"));
viewMenu = menuBar->addMenu(tr("&View"));
// View -> Show Scroll Lines
act = new QAction(tr("Show Scroll Lines"), this);

View File

@ -71,7 +71,7 @@ PaletteEditorDialog_t::PaletteEditorDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// File
fileMenu = menuBar->addMenu(tr("File"));
fileMenu = menuBar->addMenu(tr("&File"));
// File -> Open
act = new QAction(tr("Open"), this);

View File

@ -104,7 +104,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// File
fileMenu = menuBar->addMenu(tr("File"));
fileMenu = menuBar->addMenu(tr("&File"));
// File -> New List
menuAct = new QAction(tr("New List"), this);
@ -157,7 +157,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addAction(menuAct);
// Watch
watchMenu = menuBar->addMenu(tr("Watch"));
watchMenu = menuBar->addMenu(tr("&Watch"));
// Watch -> New Watch
menuAct = new QAction(tr("New Watch"), this);

View File

@ -234,7 +234,7 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// View1
viewMenu = menuBar->addMenu(tr("View1"));
viewMenu = menuBar->addMenu(tr("&View1"));
// View1 -> Toggle Grid
act = new QAction(tr("Toggle Grid"), this);