Made one full pass over all Qt window menus and added accelerators where it makes sense.
This commit is contained in:
parent
58c3081176
commit
c3473dbf4d
|
@ -118,7 +118,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
||||||
// Menu Start
|
// Menu Start
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Debug
|
// Debug
|
||||||
debugMenu = menuBar->addMenu(tr("Debug"));
|
debugMenu = menuBar->addMenu(tr("&Debug"));
|
||||||
|
|
||||||
// Debug -> Run
|
// Debug -> Run
|
||||||
act = new QAction(tr("Run"), this);
|
act = new QAction(tr("Run"), this);
|
||||||
|
|
|
@ -440,7 +440,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Options
|
// Options
|
||||||
optMenu = menuBar()->addMenu(tr("Options"));
|
optMenu = menuBar()->addMenu(tr("&Options"));
|
||||||
|
|
||||||
// Options -> Input Config
|
// Options -> Input Config
|
||||||
inputConfig = new QAction(tr("Input Config"), this);
|
inputConfig = new QAction(tr("Input Config"), this);
|
||||||
|
@ -554,7 +554,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Emulation
|
// Emulation
|
||||||
emuMenu = menuBar()->addMenu(tr("Emulation"));
|
emuMenu = menuBar()->addMenu(tr("&Emulation"));
|
||||||
|
|
||||||
// Emulation -> Power
|
// Emulation -> Power
|
||||||
powerAct = new QAction(tr("Power"), this);
|
powerAct = new QAction(tr("Power"), this);
|
||||||
|
@ -724,7 +724,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Tools
|
// Tools
|
||||||
toolsMenu = menuBar()->addMenu(tr("Tools"));
|
toolsMenu = menuBar()->addMenu(tr("&Tools"));
|
||||||
|
|
||||||
// Tools -> Cheats
|
// Tools -> Cheats
|
||||||
cheatsAct = new QAction(tr("Cheats..."), this);
|
cheatsAct = new QAction(tr("Cheats..."), this);
|
||||||
|
@ -768,7 +768,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Debug
|
// Debug
|
||||||
debugMenu = menuBar()->addMenu(tr("Debug"));
|
debugMenu = menuBar()->addMenu(tr("&Debug"));
|
||||||
|
|
||||||
// Debug -> Debugger
|
// Debug -> Debugger
|
||||||
debuggerAct = new QAction(tr("Debugger..."), this);
|
debuggerAct = new QAction(tr("Debugger..."), this);
|
||||||
|
@ -877,7 +877,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Help
|
// Help
|
||||||
helpMenu = menuBar()->addMenu(tr("Help"));
|
helpMenu = menuBar()->addMenu(tr("&Help"));
|
||||||
|
|
||||||
// Help -> About FCEUX
|
// Help -> About FCEUX
|
||||||
aboutAct = new QAction(tr("About FCEUX"), this);
|
aboutAct = new QAction(tr("About FCEUX"), this);
|
||||||
|
|
|
@ -888,7 +888,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
|
||||||
// Menu
|
// Menu
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// File
|
// File
|
||||||
fileMenu = menuBar->addMenu(tr("File"));
|
fileMenu = menuBar->addMenu(tr("&File"));
|
||||||
|
|
||||||
// File -> Save ROM
|
// File -> Save ROM
|
||||||
saveROM = new QAction(tr("Save ROM"), this);
|
saveROM = new QAction(tr("Save ROM"), this);
|
||||||
|
@ -925,7 +925,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
|
||||||
fileMenu->addAction(closeAct);
|
fileMenu->addAction(closeAct);
|
||||||
|
|
||||||
// Edit
|
// Edit
|
||||||
editMenu = menuBar->addMenu(tr("Edit"));
|
editMenu = menuBar->addMenu(tr("&Edit"));
|
||||||
|
|
||||||
// Edit -> Undo
|
// Edit -> Undo
|
||||||
undoEditAct = new QAction(tr("Undo"), this);
|
undoEditAct = new QAction(tr("Undo"), this);
|
||||||
|
@ -963,7 +963,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
|
||||||
editMenu->addAction(act);
|
editMenu->addAction(act);
|
||||||
|
|
||||||
// View
|
// View
|
||||||
viewMenu = menuBar->addMenu(tr("View"));
|
viewMenu = menuBar->addMenu(tr("&View"));
|
||||||
|
|
||||||
group = new QActionGroup(this);
|
group = new QActionGroup(this);
|
||||||
|
|
||||||
|
@ -1051,7 +1051,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
|
||||||
colorMenu->addAction(actColorBG);
|
colorMenu->addAction(actColorBG);
|
||||||
|
|
||||||
// Bookmarks Menu
|
// Bookmarks Menu
|
||||||
bookmarkMenu = menuBar->addMenu(tr("Bookmarks"));
|
bookmarkMenu = menuBar->addMenu(tr("&Bookmarks"));
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// Menu End
|
// Menu End
|
||||||
|
|
|
@ -149,7 +149,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
|
||||||
// Menu
|
// Menu
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// View
|
// View
|
||||||
viewMenu = menuBar->addMenu(tr("View"));
|
viewMenu = menuBar->addMenu(tr("&View"));
|
||||||
|
|
||||||
// View -> Show Scroll Lines
|
// View -> Show Scroll Lines
|
||||||
act = new QAction(tr("Show Scroll Lines"), this);
|
act = new QAction(tr("Show Scroll Lines"), this);
|
||||||
|
|
|
@ -71,7 +71,7 @@ PaletteEditorDialog_t::PaletteEditorDialog_t(QWidget *parent)
|
||||||
// Menu
|
// Menu
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// File
|
// File
|
||||||
fileMenu = menuBar->addMenu(tr("File"));
|
fileMenu = menuBar->addMenu(tr("&File"));
|
||||||
|
|
||||||
// File -> Open
|
// File -> Open
|
||||||
act = new QAction(tr("Open"), this);
|
act = new QAction(tr("Open"), this);
|
||||||
|
|
|
@ -104,7 +104,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
|
||||||
// Menu
|
// Menu
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// File
|
// File
|
||||||
fileMenu = menuBar->addMenu(tr("File"));
|
fileMenu = menuBar->addMenu(tr("&File"));
|
||||||
|
|
||||||
// File -> New List
|
// File -> New List
|
||||||
menuAct = new QAction(tr("New List"), this);
|
menuAct = new QAction(tr("New List"), this);
|
||||||
|
@ -157,7 +157,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
|
||||||
fileMenu->addAction(menuAct);
|
fileMenu->addAction(menuAct);
|
||||||
|
|
||||||
// Watch
|
// Watch
|
||||||
watchMenu = menuBar->addMenu(tr("Watch"));
|
watchMenu = menuBar->addMenu(tr("&Watch"));
|
||||||
|
|
||||||
// Watch -> New Watch
|
// Watch -> New Watch
|
||||||
menuAct = new QAction(tr("New Watch"), this);
|
menuAct = new QAction(tr("New Watch"), this);
|
||||||
|
|
|
@ -234,7 +234,7 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
|
||||||
// Menu
|
// Menu
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// View1
|
// View1
|
||||||
viewMenu = menuBar->addMenu(tr("View1"));
|
viewMenu = menuBar->addMenu(tr("&View1"));
|
||||||
|
|
||||||
// View1 -> Toggle Grid
|
// View1 -> Toggle Grid
|
||||||
act = new QAction(tr("Toggle Grid"), this);
|
act = new QAction(tr("Toggle Grid"), this);
|
||||||
|
|
Loading…
Reference in New Issue