Added more accelerators for Qt menu items.

This commit is contained in:
mjbudd77 2021-02-16 21:44:47 -05:00
parent 08df12db74
commit 7e3086d92c
8 changed files with 339 additions and 339 deletions

View File

@ -121,7 +121,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu = menuBar->addMenu(tr("&Debug"));
// Debug -> Run
act = new QAction(tr("Run"), this);
act = new QAction(tr("&Run"), this);
act->setShortcut(QKeySequence( tr("F5") ) );
act->setStatusTip(tr("Run"));
connect( act, SIGNAL(triggered()), this, SLOT(debugRunCB(void)) );
@ -129,7 +129,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Step Into
act = new QAction(tr("Step Into"), this);
act = new QAction(tr("Step &Into"), this);
act->setShortcut(QKeySequence( tr("F11") ) );
act->setStatusTip(tr("Step Into"));
connect( act, SIGNAL(triggered()), this, SLOT(debugStepIntoCB(void)) );
@ -137,7 +137,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Step Out
act = new QAction(tr("Step Out"), this);
act = new QAction(tr("&Step Out"), this);
act->setShortcut(QKeySequence( tr("Shift+F11") ) );
act->setStatusTip(tr("Step Out"));
connect( act, SIGNAL(triggered()), this, SLOT(debugStepOutCB(void)) );
@ -145,7 +145,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Step Over
act = new QAction(tr("Step Over"), this);
act = new QAction(tr("Step &Over"), this);
act->setShortcut(QKeySequence( tr("F10") ) );
act->setStatusTip(tr("Step Over"));
connect( act, SIGNAL(triggered()), this, SLOT(debugStepOverCB(void)) );
@ -153,7 +153,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Run to Selected Line
act = new QAction(tr("Run to Selected Line"), this);
act = new QAction(tr("Run to S&elected Line"), this);
act->setShortcut(QKeySequence( tr("F1") ) );
act->setStatusTip(tr("Run to Selected Line"));
connect( act, SIGNAL(triggered()), this, SLOT(debugRunToCursorCB(void)) );
@ -161,7 +161,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Run Line
act = new QAction(tr("Run Line"), this);
act = new QAction(tr("Run &Line"), this);
act->setShortcut(QKeySequence( tr("F6") ) );
act->setStatusTip(tr("Run Line"));
connect( act, SIGNAL(triggered()), this, SLOT(debugRunLineCB(void)) );
@ -169,7 +169,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Run 128 Lines
act = new QAction(tr("Run 128 Lines"), this);
act = new QAction(tr("Run &128 Lines"), this);
act->setShortcut(QKeySequence( tr("F7") ) );
act->setStatusTip(tr("Run 128 Lines"));
connect( act, SIGNAL(triggered()), this, SLOT(debugRunLine128CB(void)) );
@ -177,10 +177,10 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Options
optMenu = menuBar->addMenu(tr("Options"));
optMenu = menuBar->addMenu(tr("&Options"));
// Options -> PC Position
subMenu = optMenu->addMenu(tr("PC Line Positioning"));
subMenu = optMenu->addMenu(tr("&PC Line Positioning"));
actGroup = new QActionGroup(this);
actGroup->setExclusive(true);
@ -188,7 +188,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
g_config->getOption( "SDL.DebuggerPCPlacement", &opt );
// Options -> PC Position -> Top Line
act = new QAction(tr("Top Line"), this);
act = new QAction(tr("&Top Line"), this);
act->setStatusTip(tr("Top Line"));
act->setCheckable(true);
act->setChecked( opt == 0 );
@ -197,7 +197,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
subMenu->addAction(act);
// Options -> PC Position -> Upper Mid-Line
act = new QAction(tr("Upper Mid-Line"), this);
act = new QAction(tr("&Upper Mid-Line"), this);
act->setStatusTip(tr("Upper Mid-Line"));
act->setCheckable(true);
act->setChecked( opt == 1 );
@ -206,7 +206,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
subMenu->addAction(act);
// Options -> PC Position -> Center Line
act = new QAction(tr("Center Line"), this);
act = new QAction(tr("&Center Line"), this);
act->setStatusTip(tr("Center Line"));
act->setCheckable(true);
act->setChecked( opt == 2 );
@ -215,7 +215,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
subMenu->addAction(act);
// Options -> PC Position -> Lower Mid-Line
act = new QAction(tr("Lower Mid-Line"), this);
act = new QAction(tr("&Lower Mid-Line"), this);
act->setStatusTip(tr("Lower Mid-Line"));
act->setCheckable(true);
act->setChecked( opt == 3 );
@ -224,7 +224,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
subMenu->addAction(act);
// Options -> PC Position -> Bottom
act = new QAction(tr("Bottom Line"), this);
act = new QAction(tr("&Bottom Line"), this);
act->setStatusTip(tr("Bottom Line"));
act->setCheckable(true);
act->setChecked( opt == 4 );
@ -233,7 +233,7 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
subMenu->addAction(act);
// Options -> PC Position -> Custom Line
act = new QAction(tr("Custom Line Offset"), this);
act = new QAction(tr("Custom Line &Offset"), this);
act->setStatusTip(tr("Custom Line Offset"));
act->setChecked( opt == 5 );
act->setCheckable(true);

View File

@ -309,7 +309,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu = menubar->addMenu(tr("&File"));
// File -> Open ROM
openROM = new QAction(tr("Open ROM"), this);
openROM = new QAction(tr("&Open ROM"), this);
openROM->setShortcuts(QKeySequence::Open);
openROM->setStatusTip(tr("Open ROM File"));
//openROM->setIcon( QIcon(":icons/rom.png") );
@ -320,7 +320,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(openROM);
// File -> Close ROM
closeROM = new QAction(tr("Close ROM"), this);
closeROM = new QAction(tr("&Close ROM"), this);
closeROM->setShortcut( QKeySequence(tr("Ctrl+C")));
closeROM->setStatusTip(tr("Close Loaded ROM"));
closeROM->setIcon( style->standardIcon( QStyle::SP_BrowserStop ) );
@ -331,7 +331,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addSeparator();
// File -> Play NSF
playNSF = new QAction(tr("Play NSF"), this);
playNSF = new QAction(tr("Play &NSF"), this);
playNSF->setShortcut( QKeySequence(tr("Ctrl+N")));
playNSF->setStatusTip(tr("Play NSF"));
connect(playNSF, SIGNAL(triggered()), this, SLOT(loadNSF(void)) );
@ -341,7 +341,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addSeparator();
// File -> Load State From
loadStateAct = new QAction(tr("Load State From"), this);
loadStateAct = new QAction(tr("Load State &From"), this);
//loadStateAct->setShortcut( QKeySequence(tr("Ctrl+N")));
loadStateAct->setStatusTip(tr("Load State From"));
loadStateAct->setIcon( style->standardIcon( QStyle::SP_FileDialogStart ) );
@ -350,7 +350,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(loadStateAct);
// File -> Save State As
saveStateAct = new QAction(tr("Save State As"), this);
saveStateAct = new QAction(tr("Save State &As"), this);
//loadStateAct->setShortcut( QKeySequence(tr("Ctrl+N")));
saveStateAct->setStatusTip(tr("Save State As"));
saveStateAct->setIcon( style->standardIcon( QStyle::SP_DialogSaveButton ) );
@ -359,7 +359,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(saveStateAct);
// File -> Quick Load
quickLoadAct = new QAction(tr("Quick Load"), this);
quickLoadAct = new QAction(tr("Quick &Load"), this);
quickLoadAct->setShortcut( QKeySequence(tr("F7")));
quickLoadAct->setStatusTip(tr("Quick Load"));
connect(quickLoadAct, SIGNAL(triggered()), this, SLOT(quickLoad(void)) );
@ -367,7 +367,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(quickLoadAct);
// File -> Quick Save
quickSaveAct = new QAction(tr("Quick Save"), this);
quickSaveAct = new QAction(tr("Quick &Save"), this);
quickSaveAct->setShortcut( QKeySequence(tr("F5")));
quickSaveAct->setStatusTip(tr("Quick Save"));
connect(quickSaveAct, SIGNAL(triggered()), this, SLOT(quickSave(void)) );
@ -375,7 +375,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(quickSaveAct);
// File -> Change State
subMenu = fileMenu->addMenu(tr("Change State"));
subMenu = fileMenu->addMenu(tr("Change &State"));
group = new QActionGroup(this);
group->setExclusive(true);
@ -384,7 +384,7 @@ void consoleWin_t::createMainMenu(void)
{
char stmp[8];
sprintf( stmp, "%i", i );
sprintf( stmp, "&%i", i );
state[i] = new QAction(tr(stmp), this);
state[i]->setCheckable(true);
@ -409,7 +409,7 @@ void consoleWin_t::createMainMenu(void)
#ifdef _S9XLUA_H
// File -> Quick Save
loadLuaAct = new QAction(tr("Load Lua Script"), this);
loadLuaAct = new QAction(tr("Load &Lua Script"), this);
//loadLuaAct->setShortcut( QKeySequence(tr("F5")));
loadLuaAct->setStatusTip(tr("Load Lua Script"));
//loadLuaAct->setIcon( QIcon(":icons/lua-logo.png") );
@ -423,7 +423,7 @@ void consoleWin_t::createMainMenu(void)
#endif
// File -> Screenshort
scrShotAct = new QAction(tr("Screenshot"), this);
scrShotAct = new QAction(tr("Screens&hot"), this);
scrShotAct->setShortcut( QKeySequence(tr("F12")));
scrShotAct->setStatusTip(tr("Screenshot"));
scrShotAct->setIcon( QIcon(":icons/camera.png") );
@ -432,7 +432,7 @@ void consoleWin_t::createMainMenu(void)
fileMenu->addAction(scrShotAct);
// File -> Quit
quitAct = new QAction(tr("Quit"), this);
quitAct = new QAction(tr("&Quit"), this);
quitAct->setShortcut( QKeySequence(tr("Ctrl+Q")));
quitAct->setStatusTip(tr("Quit the Application"));
//quitAct->setIcon( style->standardIcon( QStyle::SP_DialogCloseButton ) );
@ -446,7 +446,7 @@ void consoleWin_t::createMainMenu(void)
optMenu = menubar->addMenu(tr("&Options"));
// Options -> Input Config
inputConfig = new QAction(tr("Input Config"), this);
inputConfig = new QAction(tr("&Input Config"), this);
//inputConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
inputConfig->setStatusTip(tr("Input Configure"));
inputConfig->setIcon( QIcon(":icons/input-gaming.png") );
@ -455,7 +455,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(inputConfig);
// Options -> GamePad Config
gamePadConfig = new QAction(tr("GamePad Config"), this);
gamePadConfig = new QAction(tr("&GamePad Config"), this);
//gamePadConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
gamePadConfig->setStatusTip(tr("GamePad Configure"));
gamePadConfig->setIcon( QIcon(":icons/input-gaming-symbolic.png") );
@ -464,7 +464,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(gamePadConfig);
// Options -> Sound Config
gameSoundConfig = new QAction(tr("Sound Config"), this);
gameSoundConfig = new QAction(tr("&Sound Config"), this);
//gameSoundConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
gameSoundConfig->setStatusTip(tr("Sound Configure"));
gameSoundConfig->setIcon( style->standardIcon( QStyle::SP_MediaVolume ) );
@ -473,7 +473,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(gameSoundConfig);
// Options -> Video Config
gameVideoConfig = new QAction(tr("Video Config"), this);
gameVideoConfig = new QAction(tr("&Video Config"), this);
//gameVideoConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
gameVideoConfig->setStatusTip(tr("Video Preferences"));
gameVideoConfig->setIcon( style->standardIcon( QStyle::SP_ComputerIcon ) );
@ -482,7 +482,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(gameVideoConfig);
// Options -> HotKey Config
hotkeyConfig = new QAction(tr("Hotkey Config"), this);
hotkeyConfig = new QAction(tr("Hot&Key Config"), this);
//hotkeyConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
hotkeyConfig->setStatusTip(tr("Hotkey Configure"));
hotkeyConfig->setIcon( QIcon(":icons/input-keyboard.png") );
@ -491,7 +491,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(hotkeyConfig);
// Options -> Palette Config
paletteConfig = new QAction(tr("Palette Config"), this);
paletteConfig = new QAction(tr("&Palette Config"), this);
//paletteConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
paletteConfig->setStatusTip(tr("Palette Configure"));
paletteConfig->setIcon( QIcon(":icons/graphics-palette.png") );
@ -500,7 +500,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(paletteConfig);
// Options -> GUI Config
guiConfig = new QAction(tr("GUI Config"), this);
guiConfig = new QAction(tr("G&UI Config"), this);
//guiConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
guiConfig->setStatusTip(tr("GUI Configure"));
guiConfig->setIcon( style->standardIcon( QStyle::SP_TitleBarNormalButton ) );
@ -509,7 +509,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(guiConfig);
// Options -> Timing Config
timingConfig = new QAction(tr("Timing Config"), this);
timingConfig = new QAction(tr("&Timing Config"), this);
//timingConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
timingConfig->setStatusTip(tr("Timing Configure"));
timingConfig->setIcon( QIcon(":icons/timer.png") );
@ -518,7 +518,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(timingConfig);
// Options -> Movie Options
movieConfig = new QAction(tr("Movie Options"), this);
movieConfig = new QAction(tr("&Movie Options"), this);
//movieConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
movieConfig->setStatusTip(tr("Movie Options"));
movieConfig->setIcon( QIcon(":icons/movie.png") );
@ -527,7 +527,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(movieConfig);
// Options -> Auto-Resume
autoResume = new QAction(tr("Auto-Resume Play"), this);
autoResume = new QAction(tr("Auto-&Resume Play"), this);
//autoResume->setShortcut( QKeySequence(tr("Ctrl+C")));
autoResume->setCheckable(true);
autoResume->setStatusTip(tr("Auto-Resume Play"));
@ -538,7 +538,7 @@ void consoleWin_t::createMainMenu(void)
optMenu->addSeparator();
// Options -> Full Screen
fullscreen = new QAction(tr("Fullscreen"), this);
fullscreen = new QAction(tr("&Fullscreen"), this);
fullscreen->setShortcut( QKeySequence(tr("Alt+Return")));
fullscreen->setStatusTip(tr("Fullscreen"));
fullscreen->setIcon( QIcon(":icons/view-fullscreen.png") );
@ -547,8 +547,8 @@ void consoleWin_t::createMainMenu(void)
optMenu->addAction(fullscreen);
// Options -> Hide Menu Screen
act = new QAction(tr("Hide Menu"), this);
act->setShortcut( QKeySequence(tr("Alt+M")));
act = new QAction(tr("&Hide Menu"), this);
act->setShortcut( QKeySequence(tr("Alt+/")));
act->setStatusTip(tr("Hide Menu"));
act->setIcon( style->standardIcon( QStyle::SP_TitleBarMaxButton ) );
connect(act, SIGNAL(triggered()), this, SLOT(toggleMenuVis(void)) );
@ -560,7 +560,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu = menubar->addMenu(tr("&Emulation"));
// Emulation -> Power
powerAct = new QAction(tr("Power"), this);
powerAct = new QAction(tr("&Power"), this);
//powerAct->setShortcut( QKeySequence(tr("Ctrl+P")));
powerAct->setStatusTip(tr("Power On Console"));
powerAct->setIcon( QIcon(":icons/power.png") );
@ -569,7 +569,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addAction(powerAct);
// Emulation -> Reset
resetAct = new QAction(tr("Reset"), this);
resetAct = new QAction(tr("&Reset"), this);
//resetAct->setShortcut( QKeySequence(tr("Ctrl+R")));
resetAct->setStatusTip(tr("Reset Console"));
resetAct->setIcon( style->standardIcon( QStyle::SP_DialogResetButton ) );
@ -578,7 +578,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addAction(resetAct);
// Emulation -> Soft Reset
sresetAct = new QAction(tr("Soft Reset"), this);
sresetAct = new QAction(tr("&Soft Reset"), this);
//sresetAct->setShortcut( QKeySequence(tr("Ctrl+R")));
sresetAct->setStatusTip(tr("Soft Reset of Console"));
sresetAct->setIcon( style->standardIcon( QStyle::SP_BrowserReload ) );
@ -587,7 +587,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addAction(sresetAct);
// Emulation -> Pause
pauseAct = new QAction(tr("Pause"), this);
pauseAct = new QAction(tr("&Pause"), this);
pauseAct->setShortcut( QKeySequence(tr("Pause")));
pauseAct->setStatusTip(tr("Pause Console"));
pauseAct->setIcon( style->standardIcon( QStyle::SP_MediaPause ) );
@ -598,7 +598,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addSeparator();
// Emulation -> Enable Game Genie
gameGenieAct = new QAction(tr("Enable Game Genie"), this);
gameGenieAct = new QAction(tr("Enable Game &Genie"), this);
//gameGenieAct->setShortcut( QKeySequence(tr("Ctrl+G")));
gameGenieAct->setCheckable(true);
gameGenieAct->setStatusTip(tr("Enable Game Genie"));
@ -619,7 +619,7 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addSeparator();
// Emulation -> Insert Coin
insCoinAct = new QAction(tr("Insert Coin"), this);
insCoinAct = new QAction(tr("&Insert Coin"), this);
//insCoinAct->setShortcut( QKeySequence(tr("Ctrl+G")));
insCoinAct->setStatusTip(tr("Insert Coin"));
connect(insCoinAct, SIGNAL(triggered()), this, SLOT(insertCoin(void)) );
@ -629,10 +629,10 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addSeparator();
// Emulation -> FDS
subMenu = emuMenu->addMenu(tr("FDS"));
subMenu = emuMenu->addMenu(tr("&FDS"));
// Emulation -> FDS -> Switch Disk
fdsSwitchAct = new QAction(tr("Switch Disk"), this);
fdsSwitchAct = new QAction(tr("&Switch Disk"), this);
//fdsSwitchAct->setShortcut( QKeySequence(tr("Ctrl+G")));
fdsSwitchAct->setStatusTip(tr("Switch Disk"));
connect(fdsSwitchAct, SIGNAL(triggered()), this, SLOT(fdsSwitchDisk(void)) );
@ -640,7 +640,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(fdsSwitchAct);
// Emulation -> FDS -> Eject Disk
fdsEjectAct = new QAction(tr("Eject Disk"), this);
fdsEjectAct = new QAction(tr("&Eject Disk"), this);
//fdsEjectAct->setShortcut( QKeySequence(tr("Ctrl+G")));
fdsEjectAct->setStatusTip(tr("Eject Disk"));
connect(fdsEjectAct, SIGNAL(triggered()), this, SLOT(fdsEjectDisk(void)) );
@ -648,7 +648,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(fdsEjectAct);
// Emulation -> FDS -> Load BIOS
fdsLoadBiosAct = new QAction(tr("Load BIOS"), this);
fdsLoadBiosAct = new QAction(tr("&Load BIOS"), this);
//fdsLoadBiosAct->setShortcut( QKeySequence(tr("Ctrl+G")));
fdsLoadBiosAct->setStatusTip(tr("Load BIOS"));
connect(fdsLoadBiosAct, SIGNAL(triggered()), this, SLOT(fdsLoadBiosFile(void)) );
@ -658,10 +658,10 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addSeparator();
// Emulation -> Speed
subMenu = emuMenu->addMenu(tr("Speed"));
subMenu = emuMenu->addMenu(tr("&Speed"));
// Emulation -> Speed -> Speed Up
act = new QAction(tr("Speed Up"), this);
act = new QAction(tr("Speed &Up"), this);
act->setShortcut( QKeySequence(tr("=")));
act->setStatusTip(tr("Speed Up"));
act->setIcon( style->standardIcon( QStyle::SP_MediaSeekForward ) );
@ -670,7 +670,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(act);
// Emulation -> Speed -> Slow Down
act = new QAction(tr("Slow Down"), this);
act = new QAction(tr("Slow &Down"), this);
act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Slow Down"));
act->setIcon( style->standardIcon( QStyle::SP_MediaSeekBackward ) );
@ -681,7 +681,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addSeparator();
// Emulation -> Speed -> Slowest Speed
act = new QAction(tr("Slowest"), this);
act = new QAction(tr("&Slowest"), this);
//act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Slowest"));
act->setIcon( style->standardIcon( QStyle::SP_MediaSkipBackward ) );
@ -690,7 +690,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(act);
// Emulation -> Speed -> Normal Speed
act = new QAction(tr("Normal"), this);
act = new QAction(tr("&Normal"), this);
//act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Normal"));
act->setIcon( style->standardIcon( QStyle::SP_MediaPlay ) );
@ -699,7 +699,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(act);
// Emulation -> Speed -> Fastest Speed
act = new QAction(tr("Turbo"), this);
act = new QAction(tr("&Turbo"), this);
//act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Turbo (Fastest)"));
act->setIcon( style->standardIcon( QStyle::SP_MediaSkipForward ) );
@ -708,7 +708,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addAction(act);
// Emulation -> Speed -> Custom Speed
act = new QAction(tr("Custom"), this);
act = new QAction(tr("&Custom"), this);
//act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Custom"));
connect(act, SIGNAL(triggered()), this, SLOT(emuCustomSpd(void)) );
@ -718,7 +718,7 @@ void consoleWin_t::createMainMenu(void)
subMenu->addSeparator();
// Emulation -> Speed -> Set Frame Advance Delay
act = new QAction(tr("Set Frame Advance Delay"), this);
act = new QAction(tr("Set Frame &Advance Delay"), this);
//act->setShortcut( QKeySequence(tr("-")));
act->setStatusTip(tr("Set Frame Advance Delay"));
connect(act, SIGNAL(triggered()), this, SLOT(emuSetFrameAdvDelay(void)) );
@ -728,18 +728,18 @@ void consoleWin_t::createMainMenu(void)
emuMenu->addSeparator();
// Emulation -> AutoFire Pattern
subMenu = emuMenu->addMenu(tr("AutoFire Pattern"));
subMenu = emuMenu->addMenu(tr("&AutoFire Pattern"));
// Emulation -> AutoFire Pattern -> # On Frames
act = new QAction(tr("# On Frames"), this);
act->setStatusTip(tr("# On Frames"));
act = new QAction(tr("# O&N Frames"), this);
act->setStatusTip(tr("# ON Frames"));
connect(act, SIGNAL(triggered()), this, SLOT(setAutoFireOnFrames(void)) );
subMenu->addAction(act);
// Emulation -> AutoFire Pattern -> # Off Frames
act = new QAction(tr("# Off Frames"), this);
act->setStatusTip(tr("# Off Frames"));
act = new QAction(tr("# O&FF Frames"), this);
act->setStatusTip(tr("# OFF Frames"));
connect(act, SIGNAL(triggered()), this, SLOT(setAutoFireOffFrames(void)) );
subMenu->addAction(act);
@ -749,7 +749,7 @@ void consoleWin_t::createMainMenu(void)
toolsMenu = menubar->addMenu(tr("&Tools"));
// Tools -> Cheats
cheatsAct = new QAction(tr("Cheats..."), this);
cheatsAct = new QAction(tr("&Cheats..."), this);
//cheatsAct->setShortcut( QKeySequence(tr("Shift+F7")));
cheatsAct->setStatusTip(tr("Open Cheat Window"));
connect(cheatsAct, SIGNAL(triggered()), this, SLOT(openCheats(void)) );
@ -757,7 +757,7 @@ void consoleWin_t::createMainMenu(void)
toolsMenu->addAction(cheatsAct);
// Tools -> RAM Search
ramSearchAct = new QAction(tr("RAM Search..."), this);
ramSearchAct = new QAction(tr("RAM &Search..."), this);
//ramSearchAct->setShortcut( QKeySequence(tr("Shift+F7")));
ramSearchAct->setStatusTip(tr("Open RAM Search Window"));
connect(ramSearchAct, SIGNAL(triggered()), this, SLOT(openRamSearch(void)) );
@ -765,7 +765,7 @@ void consoleWin_t::createMainMenu(void)
toolsMenu->addAction(ramSearchAct);
// Tools -> RAM Watch
ramWatchAct = new QAction(tr("RAM Watch..."), this);
ramWatchAct = new QAction(tr("RAM &Watch..."), this);
//ramWatchAct->setShortcut( QKeySequence(tr("Shift+F7")));
ramWatchAct->setStatusTip(tr("Open RAM Watch Window"));
connect(ramWatchAct, SIGNAL(triggered()), this, SLOT(openRamWatch(void)) );
@ -773,7 +773,7 @@ void consoleWin_t::createMainMenu(void)
toolsMenu->addAction(ramWatchAct);
// Tools -> Frame Timing
act = new QAction(tr("Frame Timing ..."), this);
act = new QAction(tr("&Frame Timing ..."), this);
//act->setShortcut( QKeySequence(tr("Shift+F7")));
act->setStatusTip(tr("Open Frame Timing Window"));
connect(act, SIGNAL(triggered()), this, SLOT(openTimingStatWin(void)) );
@ -781,7 +781,7 @@ void consoleWin_t::createMainMenu(void)
toolsMenu->addAction(act);
// Tools -> Palette Editor
act = new QAction(tr("Palette Editor ..."), this);
act = new QAction(tr("&Palette Editor ..."), this);
//act->setShortcut( QKeySequence(tr("Shift+F7")));
act->setStatusTip(tr("Open Palette Editor Window"));
connect(act, SIGNAL(triggered()), this, SLOT(openPaletteEditorWin(void)) );
@ -793,7 +793,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu = menubar->addMenu(tr("&Debug"));
// Debug -> Debugger
debuggerAct = new QAction(tr("Debugger..."), this);
debuggerAct = new QAction(tr("&Debugger..."), this);
//debuggerAct->setShortcut( QKeySequence(tr("Shift+F7")));
debuggerAct->setStatusTip(tr("Open 6502 Debugger"));
connect(debuggerAct, SIGNAL(triggered()), this, SLOT(openDebugWindow(void)) );
@ -801,7 +801,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(debuggerAct);
// Debug -> Hex Editor
hexEditAct = new QAction(tr("Hex Editor..."), this);
hexEditAct = new QAction(tr("&Hex Editor..."), this);
//hexEditAct->setShortcut( QKeySequence(tr("Shift+F7")));
hexEditAct->setStatusTip(tr("Open Memory Hex Editor"));
connect(hexEditAct, SIGNAL(triggered()), this, SLOT(openHexEditor(void)) );
@ -809,7 +809,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(hexEditAct);
// Debug -> PPU Viewer
ppuViewAct = new QAction(tr("PPU Viewer..."), this);
ppuViewAct = new QAction(tr("&PPU Viewer..."), this);
//ppuViewAct->setShortcut( QKeySequence(tr("Shift+F7")));
ppuViewAct->setStatusTip(tr("Open PPU Viewer"));
connect(ppuViewAct, SIGNAL(triggered()), this, SLOT(openPPUViewer(void)) );
@ -817,7 +817,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(ppuViewAct);
// Debug -> Name Table Viewer
ntViewAct = new QAction(tr("Name Table Viewer..."), this);
ntViewAct = new QAction(tr("&Name Table Viewer..."), this);
//ntViewAct->setShortcut( QKeySequence(tr("Shift+F7")));
ntViewAct->setStatusTip(tr("Open Name Table Viewer"));
connect(ntViewAct, SIGNAL(triggered()), this, SLOT(openNTViewer(void)) );
@ -825,7 +825,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(ntViewAct);
// Debug -> Trace Logger
traceLogAct = new QAction(tr("Trace Logger..."), this);
traceLogAct = new QAction(tr("&Trace Logger..."), this);
//traceLogAct->setShortcut( QKeySequence(tr("Shift+F7")));
traceLogAct->setStatusTip(tr("Open Trace Logger"));
connect(traceLogAct, SIGNAL(triggered()), this, SLOT(openTraceLogger(void)) );
@ -833,7 +833,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(traceLogAct);
// Debug -> Code/Data Logger
codeDataLogAct = new QAction(tr("Code/Data Logger..."), this);
codeDataLogAct = new QAction(tr("&Code/Data Logger..."), this);
//codeDataLogAct->setShortcut( QKeySequence(tr("Shift+F7")));
codeDataLogAct->setStatusTip(tr("Open Code Data Logger"));
connect(codeDataLogAct, SIGNAL(triggered()), this, SLOT(openCodeDataLogger(void)) );
@ -841,7 +841,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(codeDataLogAct);
// Debug -> Game Genie Encode/Decode Viewer
ggEncodeAct = new QAction(tr("Game Genie Encode/Decode"), this);
ggEncodeAct = new QAction(tr("&Game Genie Encode/Decode"), this);
//ggEncodeAct->setShortcut( QKeySequence(tr("Shift+F7")));
ggEncodeAct->setStatusTip(tr("Open Game Genie Encode/Decode"));
connect(ggEncodeAct, SIGNAL(triggered()), this, SLOT(openGGEncoder(void)) );
@ -849,7 +849,7 @@ void consoleWin_t::createMainMenu(void)
debugMenu->addAction(ggEncodeAct);
// Debug -> iNES Header Editor
iNesEditAct = new QAction(tr("iNES Header Editor..."), this);
iNesEditAct = new QAction(tr("&iNES Header Editor..."), this);
//iNesEditAct->setShortcut( QKeySequence(tr("Shift+F7")));
iNesEditAct->setStatusTip(tr("Open iNES Header Editor"));
connect(iNesEditAct, SIGNAL(triggered()), this, SLOT(openNesHeaderEditor(void)) );
@ -858,10 +858,10 @@ void consoleWin_t::createMainMenu(void)
//-----------------------------------------------------------------------
// Movie
movieMenu = menubar->addMenu(tr("Movie"));
movieMenu = menubar->addMenu(tr("&Movie"));
// Movie -> Play
openMovAct = new QAction(tr("Play"), this);
openMovAct = new QAction(tr("&Play"), this);
openMovAct->setShortcut( QKeySequence(tr("Shift+F7")));
openMovAct->setStatusTip(tr("Play Movie File"));
openMovAct->setIcon( style->standardIcon( QStyle::SP_MediaPlay ) );
@ -870,7 +870,7 @@ void consoleWin_t::createMainMenu(void)
movieMenu->addAction(openMovAct);
// Movie -> Stop
stopMovAct = new QAction(tr("Stop"), this);
stopMovAct = new QAction(tr("&Stop"), this);
//stopMovAct->setShortcut( QKeySequence(tr("Shift+F7")));
stopMovAct->setStatusTip(tr("Stop Movie Recording"));
stopMovAct->setIcon( style->standardIcon( QStyle::SP_MediaStop ) );
@ -881,7 +881,7 @@ void consoleWin_t::createMainMenu(void)
movieMenu->addSeparator();
// Movie -> Record
recMovAct = new QAction(tr("Record"), this);
recMovAct = new QAction(tr("&Record"), this);
recMovAct->setShortcut( QKeySequence(tr("Shift+F5")));
recMovAct->setStatusTip(tr("Record Movie"));
recMovAct->setIcon( QIcon(":icons/media-record.png") );
@ -890,7 +890,7 @@ void consoleWin_t::createMainMenu(void)
movieMenu->addAction(recMovAct);
// Movie -> Record As
recAsMovAct = new QAction(tr("Record As"), this);
recAsMovAct = new QAction(tr("Record &As"), this);
//recAsMovAct->setShortcut( QKeySequence(tr("Shift+F5")));
recAsMovAct->setStatusTip(tr("Record Movie"));
connect(recAsMovAct, SIGNAL(triggered()), this, SLOT(recordMovieAs(void)) );
@ -902,7 +902,7 @@ void consoleWin_t::createMainMenu(void)
helpMenu = menubar->addMenu(tr("&Help"));
// Help -> About FCEUX
aboutAct = new QAction(tr("About FCEUX"), this);
aboutAct = new QAction(tr("&About FCEUX"), this);
aboutAct->setStatusTip(tr("About FCEUX"));
aboutAct->setIcon( style->standardIcon( QStyle::SP_MessageBoxInformation ) );
connect(aboutAct, SIGNAL(triggered()), this, SLOT(aboutFCEUX(void)) );
@ -910,7 +910,7 @@ void consoleWin_t::createMainMenu(void)
helpMenu->addAction(aboutAct);
// Help -> About Qt
aboutActQt = new QAction(tr("About Qt"), this);
aboutActQt = new QAction(tr("About &Qt"), this);
aboutActQt->setStatusTip(tr("About Qt"));
aboutActQt->setIcon( style->standardIcon( QStyle::SP_TitleBarMenuButton ) );
connect(aboutActQt, SIGNAL(triggered()), this, SLOT(aboutQt(void)) );
@ -918,7 +918,7 @@ void consoleWin_t::createMainMenu(void)
helpMenu->addAction(aboutActQt);
// Help -> Message Log
msgLogAct = new QAction(tr("Message Log"), this);
msgLogAct = new QAction(tr("&Message Log"), this);
msgLogAct->setStatusTip(tr("Message Log"));
msgLogAct->setIcon( style->standardIcon( QStyle::SP_MessageBoxWarning ) );
connect(msgLogAct, SIGNAL(triggered()), this, SLOT(openMsgLogWin(void)) );

View File

@ -891,7 +891,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu = menuBar->addMenu(tr("&File"));
// File -> Save ROM
saveROM = new QAction(tr("Save ROM"), this);
saveROM = new QAction(tr("&Save ROM"), this);
//saveROM->setShortcut(QKeySequence::Open);
saveROM->setStatusTip(tr("Save ROM File"));
connect(saveROM, SIGNAL(triggered()), this, SLOT(saveRomFile(void)) );
@ -899,7 +899,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu->addAction(saveROM);
// File -> Save ROM As
saveROM = new QAction(tr("Save ROM As"), this);
saveROM = new QAction(tr("Save ROM &As"), this);
//saveROM->setShortcut(QKeySequence::Open);
saveROM->setStatusTip(tr("Save ROM File As"));
connect(saveROM, SIGNAL(triggered()), this, SLOT(saveRomFileAs(void)) );
@ -907,7 +907,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu->addAction(saveROM);
// File -> Goto Address
gotoAddrAct = new QAction(tr("Goto Address"), this);
gotoAddrAct = new QAction(tr("&Goto Address"), this);
gotoAddrAct->setShortcut(QKeySequence(tr("Ctrl+A")));
gotoAddrAct->setStatusTip(tr("Goto Address"));
connect(gotoAddrAct, SIGNAL(triggered()), this, SLOT(openGotoAddrDialog(void)) );
@ -917,7 +917,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu->addSeparator();
// File -> Close
closeAct = new QAction(tr("Close"), this);
closeAct = new QAction(tr("&Close"), this);
closeAct->setShortcut(QKeySequence(tr("Esc")));
closeAct->setStatusTip(tr("Close Window"));
connect(closeAct, SIGNAL(triggered()), this, SLOT(closeWindow(void)) );
@ -928,7 +928,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
editMenu = menuBar->addMenu(tr("&Edit"));
// Edit -> Undo
undoEditAct = new QAction(tr("Undo"), this);
undoEditAct = new QAction(tr("&Undo"), this);
undoEditAct->setShortcut(QKeySequence(tr("U")));
undoEditAct->setStatusTip(tr("Undo Edit"));
undoEditAct->setEnabled(false);
@ -938,7 +938,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
editMenu->addSeparator();
// Edit -> Copy
act = new QAction(tr("Copy"), this);
act = new QAction(tr("&Copy"), this);
act->setShortcut(QKeySequence(tr("Ctrl+C")));
act->setStatusTip(tr("Copy"));
connect(act, SIGNAL(triggered()), this, SLOT(copyToClipboard(void)) );
@ -946,7 +946,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
editMenu->addAction(act);
// Edit -> Paste
act = new QAction(tr("Paste"), this);
act = new QAction(tr("&Paste"), this);
act->setShortcut(QKeySequence(tr("Ctrl+V")));
act->setStatusTip(tr("Paste"));
connect(act, SIGNAL(triggered()), this, SLOT(pasteFromClipboard(void)) );
@ -955,7 +955,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
editMenu->addSeparator();
// Edit -> Find
act = new QAction(tr("Find"), this);
act = new QAction(tr("&Find"), this);
act->setShortcut(QKeySequence(tr("Ctrl+F")));
act->setStatusTip(tr("Find"));
connect(act, SIGNAL(triggered()), this, SLOT(openFindDialog(void)) );
@ -970,7 +970,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
group->setExclusive(true);
// View -> RAM
viewRAM = new QAction(tr("RAM"), this);
viewRAM = new QAction(tr("&RAM"), this);
//viewRAM->setShortcuts(QKeySequence::Open);
viewRAM->setStatusTip(tr("View RAM"));
viewRAM->setCheckable(true);
@ -980,7 +980,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
viewMenu->addAction(viewRAM);
// View -> PPU
viewPPU = new QAction(tr("PPU"), this);
viewPPU = new QAction(tr("&PPU"), this);
//viewPPU->setShortcuts(QKeySequence::Open);
viewPPU->setStatusTip(tr("View PPU"));
viewPPU->setCheckable(true);
@ -990,7 +990,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
viewMenu->addAction(viewPPU);
// View -> OAM
viewOAM = new QAction(tr("OAM"), this);
viewOAM = new QAction(tr("&OAM"), this);
//viewOAM->setShortcuts(QKeySequence::Open);
viewOAM->setStatusTip(tr("View OAM"));
viewOAM->setCheckable(true);
@ -1000,7 +1000,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
viewMenu->addAction(viewOAM);
// View -> ROM
viewROM = new QAction(tr("ROM"), this);
viewROM = new QAction(tr("&ROM"), this);
//viewROM->setShortcuts(QKeySequence::Open);
viewROM->setStatusTip(tr("View ROM"));
viewROM->setCheckable(true);
@ -1012,10 +1012,10 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
viewRAM->setChecked(true); // Set default view
// Color Menu
colorMenu = menuBar->addMenu(tr("Color"));
colorMenu = menuBar->addMenu(tr("&Color"));
// Color -> Highlight Activity
actHlgt = new QAction(tr("Highlight Activity"), this);
actHlgt = new QAction(tr("Highlight &Activity"), this);
//actHlgt->setShortcuts(QKeySequence::Open);
actHlgt->setStatusTip(tr("Highlight Activity"));
actHlgt->setCheckable(true);
@ -1025,7 +1025,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
colorMenu->addAction(actHlgt);
// Color -> Highlight Reverse Video
actHlgtRV = new QAction(tr("Highlight Reverse Video"), this);
actHlgtRV = new QAction(tr("Highlight &Reverse Video"), this);
//actHlgtRV->setShortcuts(QKeySequence::Open);
actHlgtRV->setStatusTip(tr("Highlight Reverse Video"));
actHlgtRV->setCheckable(true);
@ -1035,7 +1035,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
colorMenu->addAction(actHlgtRV);
// Color -> ForeGround Color
actColorFG = new QAction(tr("ForeGround Color"), this);
actColorFG = new QAction(tr("&ForeGround Color"), this);
//actColorFG->setShortcuts(QKeySequence::Open);
actColorFG->setStatusTip(tr("ForeGround Color"));
connect(actColorFG, SIGNAL(triggered(void)), this, SLOT(pickForeGroundColor(void)) );
@ -1043,7 +1043,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
colorMenu->addAction(actColorFG);
// Color -> BackGround Color
actColorBG = new QAction(tr("BackGround Color"), this);
actColorBG = new QAction(tr("&BackGround Color"), this);
//actColorBG->setShortcuts(QKeySequence::Open);
actColorBG->setStatusTip(tr("BackGround Color"));
connect(actColorBG, SIGNAL(triggered(void)), this, SLOT(pickBackGroundColor(void)) );
@ -1172,7 +1172,7 @@ void HexEditorDialog_t::populateBookmarkMenu(void)
bookmarkMenu->clear();
// Bookmarks -> Remove All Bookmarks
act = new QAction(tr("Remove All Bookmarks"), bookmarkMenu);
act = new QAction(tr("&Remove All Bookmarks"), bookmarkMenu);
//act->setShortcuts(QKeySequence::Open);
act->setStatusTip(tr("Remove All Bookmarks"));
connect(act, SIGNAL(triggered(void)), this, SLOT(removeAllBookmarks(void)) );

View File

@ -152,7 +152,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu = menuBar->addMenu(tr("&View"));
// View -> Show Scroll Lines
act = new QAction(tr("Show Scroll Lines"), this);
act = new QAction(tr("Show &Scroll Lines"), this);
//act->setShortcut(QKeySequence::Open);
act->setCheckable(true);
act->setChecked(drawScrollLines);
@ -163,7 +163,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Show Tile Grid
act = new QAction(tr("Show Tile Grid"), this);
act = new QAction(tr("Show &Tile Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setCheckable(true);
act->setChecked(drawTileGridLines);
@ -174,7 +174,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Show Attr Grid
act = new QAction(tr("Show Attr Grid"), this);
act = new QAction(tr("Show &Attr Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setCheckable(true);
act->setChecked(drawAttrGridLines);
@ -185,7 +185,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Show Attributes
act = new QAction(tr("Show Attributes"), this);
act = new QAction(tr("Show &Attributes"), this);
//act->setShortcut(QKeySequence::Open);
act->setCheckable(true);
act->setChecked(attview);
@ -196,7 +196,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Ignore Palette
act = new QAction(tr("Ignore Palette"), this);
act = new QAction(tr("&Ignore Palette"), this);
//act->setShortcut(QKeySequence::Open);
act->setCheckable(true);
act->setChecked(attview);
@ -207,7 +207,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Image Zoom
subMenu = viewMenu->addMenu( tr("Image Zoom"));
subMenu = viewMenu->addMenu( tr("Image &Zoom"));
group = new QActionGroup(this);
group->setExclusive(true);
@ -216,7 +216,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
{
char stmp[8];
sprintf( stmp, "%ix", i+1 );
sprintf( stmp, "&%ix", i+1 );
zoomAct[i] = new QAction(tr(stmp), this);
zoomAct[i]->setCheckable(true);
@ -234,18 +234,18 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addSeparator();
// View -> Tile Focus
subMenu = viewMenu->addMenu( tr("Tile Focus"));
subMenu = viewMenu->addMenu( tr("Tile &Focus"));
group = new QActionGroup(this);
group->setExclusive(true);
focusAct[0] = new QAction(tr("Click"), this);
focusAct[0] = new QAction(tr("&Click"), this);
focusAct[0]->setCheckable(true);
group->addAction(focusAct[0]);
subMenu->addAction(focusAct[0]);
connect(focusAct[0], SIGNAL(triggered()), this, SLOT(setClickFocus(void)) );
focusAct[1] = new QAction(tr("Hover"), this);
focusAct[1] = new QAction(tr("&Hover"), this);
focusAct[1]->setCheckable(true);
focusAct[1]->setChecked(false);
group->addAction(focusAct[1]);
@ -255,7 +255,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addSeparator();
// View -> Refresh
act = new QAction(tr("Refresh"), this);
act = new QAction(tr("&Refresh"), this);
act->setShortcut( QKeySequence(tr("F5") ) );
act->setStatusTip(tr("Refresh"));
connect(act, SIGNAL(triggered()), this, SLOT(forceRefresh()) );
@ -263,7 +263,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View -> Auto Refresh Rate
subMenu = viewMenu->addMenu( tr("Auto Refresh Rate"));
subMenu = viewMenu->addMenu( tr("Auto &Refresh Rate"));
group = new QActionGroup(this);
group->setExclusive(true);
@ -301,10 +301,10 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
connect(rateAct[4], SIGNAL(triggered()), this, SLOT(changeRate16(void)) );
// Colors
colorMenu = menuBar->addMenu(tr("Colors"));
colorMenu = menuBar->addMenu(tr("&Colors"));
// Colors -> Tile Selector
act = new QAction(tr("Tile Selector"), this);
act = new QAction(tr("Tile &Selector"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Selector"));
connect(act, SIGNAL(triggered()), this, SLOT(setTileSelectorColor()) );
@ -312,7 +312,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// Colors -> Tile Grid
act = new QAction(tr("Tile Grid"), this);
act = new QAction(tr("Tile &Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Grid"));
connect(act, SIGNAL(triggered()), this, SLOT(setTileGridColor()) );
@ -320,7 +320,7 @@ ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// Colors -> Attr Grid
act = new QAction(tr("Attr Grid"), this);
act = new QAction(tr("&Attr Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Attr Grid"));
connect(act, SIGNAL(triggered()), this, SLOT(setAttrGridColor()) );

View File

@ -75,7 +75,7 @@ PaletteEditorDialog_t::PaletteEditorDialog_t(QWidget *parent)
fileMenu = menuBar->addMenu(tr("&File"));
// File -> Open
act = new QAction(tr("Open"), this);
act = new QAction(tr("&Open"), this);
act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Open Palette From File"));
connect(act, SIGNAL(triggered()), this, SLOT(openPaletteFileDialog(void)) );
@ -83,7 +83,7 @@ PaletteEditorDialog_t::PaletteEditorDialog_t(QWidget *parent)
fileMenu->addAction(act);
// File -> Save
act = new QAction(tr("Save"), this);
act = new QAction(tr("&Save"), this);
act->setShortcut( QKeySequence::Save );
act->setStatusTip(tr("Save Palette To File"));
connect(act, SIGNAL(triggered()), this, SLOT(savePaletteFileDialog(void)) );
@ -91,10 +91,10 @@ PaletteEditorDialog_t::PaletteEditorDialog_t(QWidget *parent)
fileMenu->addAction(act);
// Memory
memMenu = menuBar->addMenu(tr("Memory"));
memMenu = menuBar->addMenu(tr("&Memory"));
// Emulator -> Write To
act = new QAction(tr("Write To"), this);
act = new QAction(tr("&Write To"), this);
act->setShortcut( QKeySequence(tr("F5")));
act->setStatusTip(tr("Write to Active Color Palette"));
connect(act, SIGNAL(triggered()), this, SLOT(setActivePalette(void)) );

View File

@ -107,7 +107,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu = menuBar->addMenu(tr("&File"));
// File -> New List
menuAct = new QAction(tr("New List"), this);
menuAct = new QAction(tr("&New List"), this);
menuAct->setShortcut( QKeySequence(tr("Ctrl+N")) );
menuAct->setStatusTip(tr("New List"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(newListCB(void)) );
@ -115,7 +115,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addAction(menuAct);
// File -> Open
menuAct = new QAction(tr("Open"), this);
menuAct = new QAction(tr("&Open"), this);
menuAct->setShortcut( QKeySequence(tr("Ctrl+O")) );
menuAct->setStatusTip(tr("Open Watch File"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(openListCB(void)) );
@ -123,7 +123,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addAction(menuAct);
// File -> Save
menuAct = new QAction(tr("Save"), this);
menuAct = new QAction(tr("&Save"), this);
menuAct->setShortcut( QKeySequence(tr("Ctrl+S")) );
menuAct->setStatusTip(tr("Save Watch File"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(saveListCB(void)) );
@ -131,7 +131,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addAction(menuAct);
// File -> Save As
menuAct = new QAction(tr("Save As"), this);
menuAct = new QAction(tr("Save &As"), this);
menuAct->setShortcut( QKeySequence(tr("Ctrl+Shift+S")) );
menuAct->setStatusTip(tr("Save As Watch File"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(saveListAs(void)) );
@ -139,7 +139,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addAction(menuAct);
// File -> Append
menuAct = new QAction(tr("Append from File"), this);
menuAct = new QAction(tr("&Append from File"), this);
//menuAct->setShortcut( QKeySequence(tr("Ctrl+A")) );
menuAct->setStatusTip(tr("Append from File"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(appendListCB(void)) );
@ -149,7 +149,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
fileMenu->addSeparator();
// File -> Append
menuAct = new QAction(tr("Close"), this);
menuAct = new QAction(tr("&Close"), this);
menuAct->setShortcut( QKeySequence(tr("Alt+F4")) );
menuAct->setStatusTip(tr("Close Window"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(closeWindow(void)) );
@ -160,7 +160,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu = menuBar->addMenu(tr("&Watch"));
// Watch -> New Watch
menuAct = new QAction(tr("New Watch"), this);
menuAct = new QAction(tr("&New Watch"), this);
menuAct->setShortcut( QKeySequence(tr("N")) );
menuAct->setStatusTip(tr("New Watch"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(newWatchClicked(void)) );
@ -168,7 +168,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addAction(menuAct);
// Watch -> Edit Watch
menuAct = new QAction(tr("Edit Watch"), this);
menuAct = new QAction(tr("&Edit Watch"), this);
menuAct->setShortcut( QKeySequence(tr("E")) );
menuAct->setStatusTip(tr("Edit Watch"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(editWatchClicked(void)) );
@ -176,7 +176,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addAction(menuAct);
// Watch -> Remove Watch
menuAct = new QAction(tr("Remove Watch"), this);
menuAct = new QAction(tr("&Remove Watch"), this);
menuAct->setShortcut( QKeySequence(tr("R")) );
menuAct->setStatusTip(tr("Remove Watch"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(removeWatchClicked(void)) );
@ -184,7 +184,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addAction(menuAct);
// Watch -> Duplicate Watch
menuAct = new QAction(tr("Duplicate Watch"), this);
menuAct = new QAction(tr("Duplic&ate Watch"), this);
menuAct->setShortcut( QKeySequence(tr("A")) );
menuAct->setStatusTip(tr("Duplicate Watch"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(dupWatchClicked(void)) );
@ -192,7 +192,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addAction(menuAct);
// Watch -> Add Separator
menuAct = new QAction(tr("Add Separator"), this);
menuAct = new QAction(tr("Add &Separator"), this);
menuAct->setShortcut( QKeySequence(tr("S")) );
menuAct->setStatusTip(tr("Add Separator"));
//connect(menuAct, SIGNAL(triggered()), this, SLOT(newListCB(void)) );
@ -202,7 +202,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addSeparator();
// Watch -> Move Up
menuAct = new QAction(tr("Move Up"), this);
menuAct = new QAction(tr("Move &Up"), this);
menuAct->setShortcut( QKeySequence(tr("U")) );
menuAct->setStatusTip(tr("Move Up"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(moveWatchUpClicked(void)) );
@ -210,7 +210,7 @@ RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
watchMenu->addAction(menuAct);
// Watch -> Move Down
menuAct = new QAction(tr("Move Down"), this);
menuAct = new QAction(tr("Move &Down"), this);
menuAct->setShortcut( QKeySequence(tr("D")) );
menuAct->setStatusTip(tr("Move Down"));
connect(menuAct, SIGNAL(triggered()), this, SLOT(moveWatchDownClicked(void)) );

View File

@ -610,7 +610,7 @@ static void KeyboardCommands (void)
// Alt-M to toggle Main Menu Visibility
if ( is_alt )
{
if (keyonly (M))
if (keyonly (SLASH))
{
if ( consoleWindow )
{

View File

@ -234,10 +234,10 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
// Menu
//-----------------------------------------------------------------------
// View1
viewMenu = menuBar->addMenu(tr("&View1"));
viewMenu = menuBar->addMenu(tr("View&1"));
// View1 -> Toggle Grid
act = new QAction(tr("Toggle Grid"), this);
act = new QAction(tr("Toggle &Grid"), this);
//act->setShortcut(QKeySequence::Open);
//act->setCheckable(true);
//act->setChecked( patternView[0]->getDrawTileGrid() );
@ -247,10 +247,10 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View1 -> Colors
colorMenu = viewMenu->addMenu(tr("Colors"));
colorMenu = viewMenu->addMenu(tr("&Colors"));
// View1 -> Colors -> Tile Selector
act = new QAction(tr("Tile Selector"), this);
act = new QAction(tr("Tile &Selector"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Selector"));
connect(act, SIGNAL(triggered()), patternView[0], SLOT(setTileSelectorColor()) );
@ -258,7 +258,7 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// View1 -> Colors -> Tile Grid
act = new QAction(tr("Tile Grid"), this);
act = new QAction(tr("Tile &Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Grid"));
connect(act, SIGNAL(triggered()), patternView[0], SLOT(setTileGridColor()) );
@ -266,10 +266,10 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// View2
viewMenu = menuBar->addMenu(tr("View2"));
viewMenu = menuBar->addMenu(tr("View&2"));
// View2 -> Toggle Grid
act = new QAction(tr("Toggle Grid"), this);
act = new QAction(tr("Toggle &Grid"), this);
//act->setShortcut(QKeySequence::Open);
//act->setCheckable(true);
//act->setChecked( patternView[1]->getDrawTileGrid() );
@ -279,10 +279,10 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
viewMenu->addAction(act);
// View2 -> Colors
colorMenu = viewMenu->addMenu(tr("Colors"));
colorMenu = viewMenu->addMenu(tr("&Colors"));
// View2 -> Colors -> Tile Selector
act = new QAction(tr("Tile Selector"), this);
act = new QAction(tr("Tile &Selector"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Selector"));
connect(act, SIGNAL(triggered()), patternView[1], SLOT(setTileSelectorColor()) );
@ -290,7 +290,7 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// View2 -> Colors -> Tile Grid
act = new QAction(tr("Tile Grid"), this);
act = new QAction(tr("Tile &Grid"), this);
//act->setShortcut(QKeySequence::Open);
act->setStatusTip(tr("Tile Grid"));
connect(act, SIGNAL(triggered()), patternView[1], SLOT(setTileGridColor()) );
@ -298,21 +298,21 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
colorMenu->addAction(act);
// Options
optMenu = menuBar->addMenu(tr("Options"));
optMenu = menuBar->addMenu(tr("&Options"));
// Options -> Focus
subMenu = optMenu->addMenu(tr("Focus Policy"));
subMenu = optMenu->addMenu(tr("&Focus Policy"));
group = new QActionGroup(this);
group->setExclusive(true);
act = new QAction(tr("Click"), this);
act = new QAction(tr("&Click"), this);
act->setCheckable(true);
act->setChecked(true);
group->addAction(act);
subMenu->addAction(act);
connect(act, SIGNAL(triggered()), this, SLOT(setClickFocus(void)) );
act = new QAction(tr("Hover"), this);
act = new QAction(tr("&Hover"), this);
act->setCheckable(true);
act->setChecked(false);
group->addAction(act);