diff --git a/app/SysTray-X/SysTray-X.qrc b/app/SysTray-X/SysTray-X.qrc index d98c092..a4d23fd 100644 --- a/app/SysTray-X/SysTray-X.qrc +++ b/app/SysTray-X/SysTray-X.qrc @@ -3,5 +3,11 @@ files/icons/SysTray-X.png files/icons/blank-icon.png files/icons/Thunderbird.png + files/icons/document-new.png + files/icons/gtk-apply.png + files/icons/gtk-edit.png + files/icons/gtk-preferences.png + files/icons/window-close.png + files/icons/window-restore.png diff --git a/app/SysTray-X/files/icons/document-new.png b/app/SysTray-X/files/icons/document-new.png new file mode 100644 index 0000000..e1fbef0 Binary files /dev/null and b/app/SysTray-X/files/icons/document-new.png differ diff --git a/app/SysTray-X/files/icons/gtk-apply.png b/app/SysTray-X/files/icons/gtk-apply.png new file mode 100644 index 0000000..d639076 Binary files /dev/null and b/app/SysTray-X/files/icons/gtk-apply.png differ diff --git a/app/SysTray-X/files/icons/gtk-edit.png b/app/SysTray-X/files/icons/gtk-edit.png new file mode 100644 index 0000000..a78fc36 Binary files /dev/null and b/app/SysTray-X/files/icons/gtk-edit.png differ diff --git a/app/SysTray-X/files/icons/gtk-preferences.png b/app/SysTray-X/files/icons/gtk-preferences.png new file mode 100644 index 0000000..ac20ee1 Binary files /dev/null and b/app/SysTray-X/files/icons/gtk-preferences.png differ diff --git a/app/SysTray-X/files/icons/window-close.png b/app/SysTray-X/files/icons/window-close.png new file mode 100644 index 0000000..afbe5bf Binary files /dev/null and b/app/SysTray-X/files/icons/window-close.png differ diff --git a/app/SysTray-X/files/icons/window-restore.png b/app/SysTray-X/files/icons/window-restore.png new file mode 100644 index 0000000..0f22960 Binary files /dev/null and b/app/SysTray-X/files/icons/window-restore.png differ diff --git a/app/SysTray-X/systrayx.cpp b/app/SysTray-X/systrayx.cpp index e3c0e9a..bc320ab 100644 --- a/app/SysTray-X/systrayx.cpp +++ b/app/SysTray-X/systrayx.cpp @@ -14,6 +14,8 @@ */ #include #include +#include +#include /* * Constants @@ -164,12 +166,15 @@ void SysTrayX::createActions() */ m_showhide_action = new QAction(tr("&Show/Hide"), this); + m_showhide_action->setIcon( QIcon( ":/files/icons/window-restore.png" ) ); connect( m_showhide_action, &QAction::triggered, m_win_ctrl, &WindowCtrl::slotShowHide ); m_pref_action = new QAction(tr("&Preferences"), this); + m_pref_action->setIcon( QIcon( ":/files/icons/gtk-preferences.png" ) ); connect( m_pref_action, &QAction::triggered, m_pref_dialog, &PreferencesDialog::showNormal ); - m_quit_action = new QAction(tr("&Quit"), this); + m_quit_action = new QAction( tr("&Quit"), this ); + m_quit_action->setIcon( QIcon( ":/files/icons/window-close.png" ) ); connect( m_quit_action, &QAction::triggered, this, &SysTrayX::slotShutdown ); }