From: vsv Date: Fri, 1 Dec 2017 12:21:24 +0000 (+0300) Subject: Define icons for folder commands X-Git-Tag: V_2.10.0RC~123^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6e945823edbbe73254d189ddc57573bafa085636;p=modules%2Fshaper.git Define icons for folder commands --- diff --git a/src/XGUI/XGUI_ContextMenuMgr.cpp b/src/XGUI/XGUI_ContextMenuMgr.cpp index be9bf8c16..4d97e46d0 100644 --- a/src/XGUI/XGUI_ContextMenuMgr.cpp +++ b/src/XGUI/XGUI_ContextMenuMgr.cpp @@ -189,23 +189,23 @@ void XGUI_ContextMenuMgr::createActions() #endif // Features folders actions - aAction = ModuleBase_Tools::createAction(QIcon(), + aAction = ModuleBase_Tools::createAction(QIcon(":pictures/create_folder.png"), tr("Insert a folder before"), aDesktop); addAction("INSERT_FOLDER_CMD", aAction); - aAction = ModuleBase_Tools::createAction(QIcon(), + aAction = ModuleBase_Tools::createAction(QIcon(":pictures/insert_folder_before.png"), tr("Move into the previous folder"), aDesktop); addAction("ADD_TO_FOLDER_BEFORE_CMD", aAction); - aAction = ModuleBase_Tools::createAction(QIcon(), + aAction = ModuleBase_Tools::createAction(QIcon(":pictures/insert_folder_after.png"), tr("Move into the next folder"), aDesktop); addAction("ADD_TO_FOLDER_AFTER_CMD", aAction); - aAction = ModuleBase_Tools::createAction(QIcon(), + aAction = ModuleBase_Tools::createAction(QIcon(":pictures/move_out_before.png"), tr("Move out before the folder"), aDesktop); addAction("ADD_OUT_FOLDER_BEFORE_CMD", aAction); - aAction = ModuleBase_Tools::createAction(QIcon(), + aAction = ModuleBase_Tools::createAction(QIcon(":pictures/move_out_after.png"), tr("Move out after the folder"), aDesktop); addAction("ADD_OUT_FOLDER_AFTER_CMD", aAction); diff --git a/src/XGUI/XGUI_pictures.qrc b/src/XGUI/XGUI_pictures.qrc index 35a345fe0..cc92ee6fb 100644 --- a/src/XGUI/XGUI_pictures.qrc +++ b/src/XGUI/XGUI_pictures.qrc @@ -63,5 +63,10 @@ pictures/transparency.png pictures/features_folder.png + pictures/create_folder.png + pictures/insert_folder_after.png + pictures/insert_folder_before.png + pictures/move_out_after.png + pictures/move_out_before.png diff --git a/src/XGUI/pictures/create_folder.png b/src/XGUI/pictures/create_folder.png new file mode 100644 index 000000000..371d86d56 Binary files /dev/null and b/src/XGUI/pictures/create_folder.png differ diff --git a/src/XGUI/pictures/insert_folder_after.png b/src/XGUI/pictures/insert_folder_after.png new file mode 100644 index 000000000..f10a6c953 Binary files /dev/null and b/src/XGUI/pictures/insert_folder_after.png differ diff --git a/src/XGUI/pictures/insert_folder_before.png b/src/XGUI/pictures/insert_folder_before.png new file mode 100644 index 000000000..2563478f5 Binary files /dev/null and b/src/XGUI/pictures/insert_folder_before.png differ diff --git a/src/XGUI/pictures/move_out_after.png b/src/XGUI/pictures/move_out_after.png new file mode 100644 index 000000000..6adcf640e Binary files /dev/null and b/src/XGUI/pictures/move_out_after.png differ diff --git a/src/XGUI/pictures/move_out_before.png b/src/XGUI/pictures/move_out_before.png new file mode 100644 index 000000000..cf248a6f5 Binary files /dev/null and b/src/XGUI/pictures/move_out_before.png differ