From: adv Date: Wed, 11 Dec 2013 09:43:16 +0000 (+0000) Subject: Icons and tool bar operation for Digue(dam) object (Feature #192). X-Git-Tag: BR_hydro_v_0_5~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=c77f057912c843fc35b99347e9892ca1c5e44078;p=modules%2Fhydro.git Icons and tool bar operation for Digue(dam) object (Feature #192). --- diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index 1114381a..c9fca653 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -136,8 +136,8 @@ void HYDROGUI_Module::createActions() createAction( CreateChannelId, "CREATE_CHANNEL", "CREATE_CHANNEL_ICO" ); createAction( EditChannelId, "EDIT_CHANNEL", "EDIT_CHANNEL_ICO" ); - createAction( CreateDigueId, "CREATE_DIGUE" ); - createAction( EditDigueId, "EDIT_DIGUE" ); + createAction( CreateDigueId, "CREATE_DIGUE", "CREATE_DIGUE_ICO" ); + createAction( EditDigueId, "EDIT_DIGUE", "EDIT_DIGUE_ICO" ); createAction( ImportObstacleFromFileId, "IMPORT_OBSTACLE_FROM_FILE", "IMPORT_OBSTACLE_FROM_FILE_ICO" ); createAction( ImportGeomObjectId, "IMPORT_GEOM_OBJECT", "IMPORT_GEOM_OBJECT_ICO" ); @@ -239,6 +239,7 @@ void HYDROGUI_Module::createToolbars() createTool( separator(), aToolBar ); createTool( CreateChannelId, aToolBar ); + createTool( CreateDigueId, aToolBar ); createTool( separator(), aToolBar ); createTool( CreateImmersibleZoneId, aToolBar ); diff --git a/src/HYDROGUI/resources/HYDROGUI_images.ts b/src/HYDROGUI/resources/HYDROGUI_images.ts index 4b318be2..d21689e2 100644 --- a/src/HYDROGUI/resources/HYDROGUI_images.ts +++ b/src/HYDROGUI/resources/HYDROGUI_images.ts @@ -74,7 +74,7 @@ HYDRO_TYPE11_ICO - icon_hydro_obj.png + icon_digue.png HYDRO_TYPE12_ICO @@ -164,7 +164,7 @@ HYDRO_M_TYPE11_ICO - icon_mhydro_obj.png + icon_mdigue.png HYDRO_M_TYPE12_ICO @@ -295,6 +295,15 @@ icon_edit_channel.png + + CREATE_DIGUE_ICO + icon_create_digue.png + + + EDIT_DIGUE_ICO + icon_edit_digue.png + + IMPORT_OBSTACLE_FROM_FILE_ICO icon_import_obstacle.png diff --git a/src/HYDROGUI/resources/icon_create_digue.png b/src/HYDROGUI/resources/icon_create_digue.png new file mode 100644 index 00000000..06176648 Binary files /dev/null and b/src/HYDROGUI/resources/icon_create_digue.png differ diff --git a/src/HYDROGUI/resources/icon_digue.png b/src/HYDROGUI/resources/icon_digue.png new file mode 100644 index 00000000..06176648 Binary files /dev/null and b/src/HYDROGUI/resources/icon_digue.png differ diff --git a/src/HYDROGUI/resources/icon_edit_digue.png b/src/HYDROGUI/resources/icon_edit_digue.png new file mode 100644 index 00000000..06176648 Binary files /dev/null and b/src/HYDROGUI/resources/icon_edit_digue.png differ diff --git a/src/HYDROGUI/resources/icon_mdigue.png b/src/HYDROGUI/resources/icon_mdigue.png new file mode 100644 index 00000000..e079fb17 Binary files /dev/null and b/src/HYDROGUI/resources/icon_mdigue.png differ