From 6e945823edbbe73254d189ddc57573bafa085636 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 1 Dec 2017 15:21:24 +0300 Subject: [PATCH] Define icons for folder commands --- src/XGUI/XGUI_ContextMenuMgr.cpp | 10 +++++----- src/XGUI/XGUI_pictures.qrc | 5 +++++ src/XGUI/pictures/create_folder.png | Bin 0 -> 588 bytes src/XGUI/pictures/insert_folder_after.png | Bin 0 -> 687 bytes src/XGUI/pictures/insert_folder_before.png | Bin 0 -> 639 bytes src/XGUI/pictures/move_out_after.png | Bin 0 -> 583 bytes src/XGUI/pictures/move_out_before.png | Bin 0 -> 550 bytes 7 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 src/XGUI/pictures/create_folder.png create mode 100644 src/XGUI/pictures/insert_folder_after.png create mode 100644 src/XGUI/pictures/insert_folder_before.png create mode 100644 src/XGUI/pictures/move_out_after.png create mode 100644 src/XGUI/pictures/move_out_before.png 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 0000000000000000000000000000000000000000..371d86d56cae6aa673061053302b2a2a594a80aa GIT binary patch literal 588 zcmV-S0<-;zP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E-^XO*0N*(00F#7L_t(IPhmpiPSdaLPQ=n}irST%#Ncsv6W5VJw`fB}%tVB93p*mbG=SLKnEw|ey= zdRR4su=i|}Lxp={-q`dhM?&>8SavEnwOlOz)^sNCn^qNnELaemW)Sw7WioNn_4+@J zr*gmOHHfAtm$EBmYzuxo?RN8j-}z>fz?wk-n`RJJC}3uHnyl5^d7`iCcW1 zOu5zc-+#WvS^0b>eyDZ^29?0rpKgV9U+uHXPf2@*MoYQ}b3moQz-x|iQ}?yXzteBG z{4d@ge_y9cL>wvw0j~MA|F&L#@qgpxC;vLv?)w8Y1mZU+00o?BhfGGwwt%BLHNsv{ zVFYk3sQtI?#>@ZPZ@&7!>B`f8acxsy2UT~T4XA8C=~vNq%%`m7kVa_YUToe3VFouO z18`xV@|GXiG=nh61%C+|P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