added icons to actions groups (shortcuts)

This commit is contained in:
Luis Ángel San Martín
2014-07-19 16:29:19 +02:00
parent 40a4f40829
commit 2712ef89b2
12 changed files with 28 additions and 11 deletions

View File

@ -77,7 +77,7 @@
<file>../images/social_dialog/shadow.png</file>
<file>../images/social_dialog/twitter.png</file>
<file>../images/social_dialog/separator.png</file>-->
<file>../images/main_toolbar/divider.png</file>
<file>../images/main_toolbar/divider.png</file>
<file>../images/collapsed_branch_osx.png</file>
<file>../images/expanded_branch_osx.png</file>
<file>../images/folder_macosx.png</file>
@ -102,6 +102,14 @@
<file>../images/find_folder.png</file>
<file>../images/clear_shortcut.png</file>
<file>../images/accept_shortcut.png</file>
<file>../images/shortcuts_group_comics.png</file>
<file>../images/shortcuts_group_folders.png</file>
<file>../images/shortcuts_group_general.png</file>
<file>../images/shortcuts_group_libraries.png</file>
<file>../images/shortcuts_group_mglass.png</file>
<file>../images/shortcuts_group_page.png</file>
<file>../images/shortcuts_group_reading.png</file>
<file>../images/shortcuts_group_visualization.png</file>
<!--<file>../images/busy_background.png</file>-->
</qresource>
</RCC>

View File

@ -297,7 +297,8 @@ void LibraryWindow::doDialogs()
void LibraryWindow::setUpShortcutsManagement()
{
editShortcutsDialog->addActionsGroup("Comics",QIcon(":/images/openInYACReader.png"),
editShortcutsDialog->addActionsGroup("Comics",QIcon(":/images/shortcuts_group_comics.png"),
QList<QAction *>()
<< openComicAction
<< setAsReadAction
@ -310,7 +311,7 @@ void LibraryWindow::setUpShortcutsManagement()
<< deleteComicsAction
<< getInfoAction);
editShortcutsDialog->addActionsGroup("Folders",QIcon(),
editShortcutsDialog->addActionsGroup("Folders",QIcon(":/images/shortcuts_group_folders.png"),
QList<QAction *>()
<< setRootIndexAction
<< expandAllNodesAction
@ -321,7 +322,7 @@ void LibraryWindow::setUpShortcutsManagement()
<< setFolderAsReadAction
<< setFolderAsUnreadAction);
editShortcutsDialog->addActionsGroup("General",QIcon(),
editShortcutsDialog->addActionsGroup("General",QIcon(":/images/shortcuts_group_general.png"),
QList<QAction *>()
<< backAction
<< forwardAction
@ -330,7 +331,7 @@ void LibraryWindow::setUpShortcutsManagement()
<< serverConfigAction
<< showEditShortcutsAction);
editShortcutsDialog->addActionsGroup("Libraries",QIcon(),
editShortcutsDialog->addActionsGroup("Libraries",QIcon(":/images/shortcuts_group_libraries.png"),
QList<QAction *>()
<< createLibraryAction
<< openLibraryAction
@ -342,7 +343,7 @@ void LibraryWindow::setUpShortcutsManagement()
<< renameLibraryAction
<< removeLibraryAction);
editShortcutsDialog->addActionsGroup("Visualization",QIcon(),
editShortcutsDialog->addActionsGroup("Visualization",QIcon(":/images/shortcuts_group_visualization.png"),
QList<QAction *>()
<< showHideMarksAction
<< toggleFullScreenAction