mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added icons for minimize/maximize
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f02d66b752
commit
662541f78b
@ -87,6 +87,9 @@
|
||||
#define IMAGE_OPTIONS ":/images/settings.png"
|
||||
#define IMAGE_QUIT ":/images/exit_24x24.png"
|
||||
#define IMAGE_UNFINISHED ":/images/underconstruction.png"
|
||||
#define IMAGE_MINIMIZE ":/images/window_nofullscreen.png"
|
||||
#define IMAGE_MAXIMIZE ":/images/window_fullscreen.png"
|
||||
|
||||
|
||||
/* Keys for UI Preferences */
|
||||
#define UI_PREF_PROMPT_ON_QUIT "UIOptions/ConfirmOnQuit"
|
||||
@ -295,8 +298,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
||||
menu->addAction(_prefsAct);
|
||||
menu->addAction(_smplayerAct);
|
||||
menu->addSeparator();
|
||||
menu->addAction(tr("Minimize"), this, SLOT(showMinimized()));
|
||||
menu->addAction(tr("Maximize"), this, SLOT(showMaximized()));
|
||||
menu->addAction(QIcon(IMAGE_MINIMIZE), tr("Minimize"), this, SLOT(showMinimized()));
|
||||
menu->addAction(QIcon(IMAGE_MAXIMIZE), tr("Maximize"), this, SLOT(showMaximized()));
|
||||
menu->addSeparator();
|
||||
menu->addAction(QIcon(IMAGE_CLOSE), tr("&Quit"), this, SLOT(doQuit()));
|
||||
// End of Icon Menu
|
||||
|
@ -232,6 +232,8 @@
|
||||
<file>images/underconstruction.png</file>
|
||||
<file>images/user.png</file>
|
||||
<file>images/webcache_24x24.png</file>
|
||||
<file>images/window_fullscreen.png</file>
|
||||
<file>images/window_nofullscreen.png</file>
|
||||
<file>layouts/default.ui</file>
|
||||
<file>qss/arachnophobia.qss</file>
|
||||
<file>qss/arachnophobia/background.png</file>
|
||||
|
BIN
retroshare-gui/src/gui/images/window_fullscreen.png
Normal file
BIN
retroshare-gui/src/gui/images/window_fullscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 623 B |
BIN
retroshare-gui/src/gui/images/window_nofullscreen.png
Normal file
BIN
retroshare-gui/src/gui/images/window_nofullscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 647 B |
Loading…
Reference in New Issue
Block a user