Added more button and menu icons to Qt GUI.
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 235 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
BIN
icons/record.png
Before Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 739 B |
|
@ -3,6 +3,15 @@
|
||||||
<file>fceux.png</file>
|
<file>fceux.png</file>
|
||||||
<file>fceux1.png</file>
|
<file>fceux1.png</file>
|
||||||
<file>icons/power.png</file>
|
<file>icons/power.png</file>
|
||||||
<file>icons/record.png</file>
|
<file>icons/media-record.png</file>
|
||||||
|
<file>icons/application-exit.png</file>
|
||||||
|
<file>icons/graphics-palette.png</file>
|
||||||
|
<file>icons/view-fullscreen.png</file>
|
||||||
|
<file>icons/input-keyboard.png</file>
|
||||||
|
<file>icons/input-gaming.png</file>
|
||||||
|
<file>icons/input-gaming-symbolic.png</file>
|
||||||
|
<file>icons/timer.png</file>
|
||||||
|
<file>icons/movie.png</file>
|
||||||
|
<file>icons/camera.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -360,6 +360,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
loadLuaAct = new QAction(tr("Load Lua Script"), this);
|
loadLuaAct = new QAction(tr("Load Lua Script"), this);
|
||||||
//loadLuaAct->setShortcut( QKeySequence(tr("F5")));
|
//loadLuaAct->setShortcut( QKeySequence(tr("F5")));
|
||||||
loadLuaAct->setStatusTip(tr("Load Lua Script"));
|
loadLuaAct->setStatusTip(tr("Load Lua Script"));
|
||||||
|
//loadLuaAct->setIcon( QIcon(":icons/lua-logo.png") );
|
||||||
connect(loadLuaAct, SIGNAL(triggered()), this, SLOT(loadLua(void)) );
|
connect(loadLuaAct, SIGNAL(triggered()), this, SLOT(loadLua(void)) );
|
||||||
|
|
||||||
fileMenu->addAction(loadLuaAct);
|
fileMenu->addAction(loadLuaAct);
|
||||||
|
@ -373,7 +374,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
scrShotAct = new QAction(tr("Screenshot"), this);
|
scrShotAct = new QAction(tr("Screenshot"), this);
|
||||||
scrShotAct->setShortcut( QKeySequence(tr("F12")));
|
scrShotAct->setShortcut( QKeySequence(tr("F12")));
|
||||||
scrShotAct->setStatusTip(tr("Screenshot"));
|
scrShotAct->setStatusTip(tr("Screenshot"));
|
||||||
//scrShotAct->setIcon( QIcon(":icons/camera.png") );
|
scrShotAct->setIcon( QIcon(":icons/camera.png") );
|
||||||
connect(scrShotAct, SIGNAL(triggered()), this, SLOT(takeScreenShot()));
|
connect(scrShotAct, SIGNAL(triggered()), this, SLOT(takeScreenShot()));
|
||||||
|
|
||||||
fileMenu->addAction(scrShotAct);
|
fileMenu->addAction(scrShotAct);
|
||||||
|
@ -382,7 +383,8 @@ void consoleWin_t::createMainMenu(void)
|
||||||
quitAct = new QAction(tr("Quit"), this);
|
quitAct = new QAction(tr("Quit"), this);
|
||||||
quitAct->setShortcut( QKeySequence(tr("Ctrl+Q")));
|
quitAct->setShortcut( QKeySequence(tr("Ctrl+Q")));
|
||||||
quitAct->setStatusTip(tr("Quit the Application"));
|
quitAct->setStatusTip(tr("Quit the Application"));
|
||||||
quitAct->setIcon( style->standardIcon( QStyle::SP_DialogCloseButton ) );
|
//quitAct->setIcon( style->standardIcon( QStyle::SP_DialogCloseButton ) );
|
||||||
|
quitAct->setIcon( QIcon(":icons/application-exit.png") );
|
||||||
connect(quitAct, SIGNAL(triggered()), this, SLOT(closeApp()));
|
connect(quitAct, SIGNAL(triggered()), this, SLOT(closeApp()));
|
||||||
|
|
||||||
fileMenu->addAction(quitAct);
|
fileMenu->addAction(quitAct);
|
||||||
|
@ -395,7 +397,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
inputConfig = new QAction(tr("Input Config"), this);
|
inputConfig = new QAction(tr("Input Config"), this);
|
||||||
//inputConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//inputConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
inputConfig->setStatusTip(tr("Input Configure"));
|
inputConfig->setStatusTip(tr("Input Configure"));
|
||||||
//inputConfig->setIcon( QIcon(":icons/zapper.png") );
|
inputConfig->setIcon( QIcon(":icons/input-gaming.png") );
|
||||||
connect(inputConfig, SIGNAL(triggered()), this, SLOT(openInputConfWin(void)) );
|
connect(inputConfig, SIGNAL(triggered()), this, SLOT(openInputConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(inputConfig);
|
optMenu->addAction(inputConfig);
|
||||||
|
@ -404,7 +406,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
gamePadConfig = new QAction(tr("GamePad Config"), this);
|
gamePadConfig = new QAction(tr("GamePad Config"), this);
|
||||||
//gamePadConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//gamePadConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
gamePadConfig->setStatusTip(tr("GamePad Configure"));
|
gamePadConfig->setStatusTip(tr("GamePad Configure"));
|
||||||
//gamePadConfig->setIcon( QIcon(":icons/gamepad.png") );
|
gamePadConfig->setIcon( QIcon(":icons/input-gaming-symbolic.png") );
|
||||||
connect(gamePadConfig, SIGNAL(triggered()), this, SLOT(openGamePadConfWin(void)) );
|
connect(gamePadConfig, SIGNAL(triggered()), this, SLOT(openGamePadConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(gamePadConfig);
|
optMenu->addAction(gamePadConfig);
|
||||||
|
@ -431,7 +433,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
hotkeyConfig = new QAction(tr("Hotkey Config"), this);
|
hotkeyConfig = new QAction(tr("Hotkey Config"), this);
|
||||||
//hotkeyConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//hotkeyConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
hotkeyConfig->setStatusTip(tr("Hotkey Configure"));
|
hotkeyConfig->setStatusTip(tr("Hotkey Configure"));
|
||||||
//hotkeyConfig->setIcon( QIcon(":icons/keyboard.png") );
|
hotkeyConfig->setIcon( QIcon(":icons/input-keyboard.png") );
|
||||||
connect(hotkeyConfig, SIGNAL(triggered()), this, SLOT(openHotkeyConfWin(void)) );
|
connect(hotkeyConfig, SIGNAL(triggered()), this, SLOT(openHotkeyConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(hotkeyConfig);
|
optMenu->addAction(hotkeyConfig);
|
||||||
|
@ -440,6 +442,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
paletteConfig = new QAction(tr("Palette Config"), this);
|
paletteConfig = new QAction(tr("Palette Config"), this);
|
||||||
//paletteConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//paletteConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
paletteConfig->setStatusTip(tr("Palette Configure"));
|
paletteConfig->setStatusTip(tr("Palette Configure"));
|
||||||
|
paletteConfig->setIcon( QIcon(":icons/graphics-palette.png") );
|
||||||
connect(paletteConfig, SIGNAL(triggered()), this, SLOT(openPaletteConfWin(void)) );
|
connect(paletteConfig, SIGNAL(triggered()), this, SLOT(openPaletteConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(paletteConfig);
|
optMenu->addAction(paletteConfig);
|
||||||
|
@ -448,6 +451,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
guiConfig = new QAction(tr("GUI Config"), this);
|
guiConfig = new QAction(tr("GUI Config"), this);
|
||||||
//guiConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//guiConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
guiConfig->setStatusTip(tr("GUI Configure"));
|
guiConfig->setStatusTip(tr("GUI Configure"));
|
||||||
|
guiConfig->setIcon( style->standardIcon( QStyle::SP_TitleBarNormalButton ) );
|
||||||
connect(guiConfig, SIGNAL(triggered()), this, SLOT(openGuiConfWin(void)) );
|
connect(guiConfig, SIGNAL(triggered()), this, SLOT(openGuiConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(guiConfig);
|
optMenu->addAction(guiConfig);
|
||||||
|
@ -456,6 +460,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
timingConfig = new QAction(tr("Timing Config"), this);
|
timingConfig = new QAction(tr("Timing Config"), this);
|
||||||
//timingConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//timingConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
timingConfig->setStatusTip(tr("Timing Configure"));
|
timingConfig->setStatusTip(tr("Timing Configure"));
|
||||||
|
timingConfig->setIcon( QIcon(":icons/timer.png") );
|
||||||
connect(timingConfig, SIGNAL(triggered()), this, SLOT(openTimingConfWin(void)) );
|
connect(timingConfig, SIGNAL(triggered()), this, SLOT(openTimingConfWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(timingConfig);
|
optMenu->addAction(timingConfig);
|
||||||
|
@ -464,6 +469,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
movieConfig = new QAction(tr("Movie Options"), this);
|
movieConfig = new QAction(tr("Movie Options"), this);
|
||||||
//movieConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
//movieConfig->setShortcut( QKeySequence(tr("Ctrl+C")));
|
||||||
movieConfig->setStatusTip(tr("Movie Options"));
|
movieConfig->setStatusTip(tr("Movie Options"));
|
||||||
|
movieConfig->setIcon( QIcon(":icons/movie.png") );
|
||||||
connect(movieConfig, SIGNAL(triggered()), this, SLOT(openMovieOptWin(void)) );
|
connect(movieConfig, SIGNAL(triggered()), this, SLOT(openMovieOptWin(void)) );
|
||||||
|
|
||||||
optMenu->addAction(movieConfig);
|
optMenu->addAction(movieConfig);
|
||||||
|
@ -482,9 +488,9 @@ void consoleWin_t::createMainMenu(void)
|
||||||
// Options -> Full Screen
|
// Options -> Full Screen
|
||||||
fullscreen = new QAction(tr("Fullscreen"), this);
|
fullscreen = new QAction(tr("Fullscreen"), this);
|
||||||
fullscreen->setShortcut( QKeySequence(tr("Alt+Return")));
|
fullscreen->setShortcut( QKeySequence(tr("Alt+Return")));
|
||||||
//fullscreen->setCheckable(true);
|
|
||||||
fullscreen->setStatusTip(tr("Fullscreen"));
|
fullscreen->setStatusTip(tr("Fullscreen"));
|
||||||
fullscreen->setIcon( style->standardIcon( QStyle::SP_TitleBarMaxButton ) );
|
//fullscreen->setIcon( style->standardIcon( QStyle::SP_TitleBarMaxButton ) );
|
||||||
|
fullscreen->setIcon( QIcon(":icons/view-fullscreen.png") );
|
||||||
connect(fullscreen, SIGNAL(triggered()), this, SLOT(toggleFullscreen(void)) );
|
connect(fullscreen, SIGNAL(triggered()), this, SLOT(toggleFullscreen(void)) );
|
||||||
|
|
||||||
optMenu->addAction(fullscreen);
|
optMenu->addAction(fullscreen);
|
||||||
|
@ -791,7 +797,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
recMovAct = new QAction(tr("Record"), this);
|
recMovAct = new QAction(tr("Record"), this);
|
||||||
recMovAct->setShortcut( QKeySequence(tr("Shift+F5")));
|
recMovAct->setShortcut( QKeySequence(tr("Shift+F5")));
|
||||||
recMovAct->setStatusTip(tr("Record Movie"));
|
recMovAct->setStatusTip(tr("Record Movie"));
|
||||||
recMovAct->setIcon( QIcon(":icons/record.png") );
|
recMovAct->setIcon( QIcon(":icons/media-record.png") );
|
||||||
connect(recMovAct, SIGNAL(triggered()), this, SLOT(recordMovie(void)) );
|
connect(recMovAct, SIGNAL(triggered()), this, SLOT(recordMovie(void)) );
|
||||||
|
|
||||||
movieMenu->addAction(recMovAct);
|
movieMenu->addAction(recMovAct);
|
||||||
|
|