From: asl Date: Fri, 10 Jun 2005 08:43:22 +0000 (+0000) Subject: "Create polyhedron" action was added to menu and toolbar X-Git-Tag: T3_0_0_a3~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a83ca23925e29988f3900394805faabef4b1629;p=modules%2Fsmesh.git "Create polyhedron" action was added to menu and toolbar --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 798a19a87..fa1a16923 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -2555,6 +2555,7 @@ void SMESHGUI::initialize( CAM_Application* app ) createSMESHAction( 300, "ERASE" ); createSMESHAction( 301, "DISPLAY" ); createSMESHAction( 302, "DISPLAY_ONLY" ); + createSMESHAction( 4033, "POLYHEDRON", "ICON_DLG_POLYHEDRON" ); // ----- create menu -------------- int fileId = createMenu( tr( "MEN_FILE" ), -1, 1 ), @@ -2642,6 +2643,7 @@ void SMESHGUI::initialize( CAM_Application* app ) createMenu( 4022, addId, -1 ); createMenu( 4031, addId, -1 ); createMenu( 4032, addId, -1 ); + createMenu( 4033, addId, -1 ); createMenu( 4041, removeId, -1 ); createMenu( 4042, removeId, -1 ); @@ -2736,6 +2738,7 @@ void SMESHGUI::initialize( CAM_Application* app ) createTool( 4022, addRemTb ); createTool( 4031, addRemTb ); createTool( 4032, addRemTb ); + createTool( 4033, addRemTb ); createTool( separator(), addRemTb ); createTool( 4041, addRemTb ); createTool( 4042, addRemTb ); diff --git a/src/SMESHGUI/SMESH_msg_en.po b/src/SMESHGUI/SMESH_msg_en.po index 3ed799abe..4956b034b 100644 --- a/src/SMESHGUI/SMESH_msg_en.po +++ b/src/SMESHGUI/SMESH_msg_en.po @@ -1696,6 +1696,15 @@ msgstr "Mesh faces" msgid "SMESHGUI_MeshPatternDlg::MESH_VOLUMES" msgstr "Mesh volumes" +msgid "SMESHGUI_CreatePolyhedralVolumeDlg::FACES_BY_NODES" +msgstr "Faces by nodes" + +msgid "SMESHGUI_CreatePolyhedralVolumeDlg::SMESH_POLYEDRE_PREVIEW" +msgstr "Polyhedron preview" + +msgid "SMESH_CREATE_POLYHEDRAL_VOLUME_TITLE" +msgstr "Create oplyhedral volume" + #---------------------------------------------------- msgid "SMESHGUI_CreatePatternDlg::CAPTION" @@ -1907,6 +1916,9 @@ msgstr "Tetrahedron" msgid "MEN_HEXA" msgstr "Hexahedron" +msgid "MEN_POLYHEDRON" +msgstr "Polyhedron" + msgid "MEN_NODES" msgstr "Nodes" @@ -2218,6 +2230,9 @@ msgstr "Tetrahedron" msgid "TOP_HEXA" msgstr "Hexahedron" +msgid "TOP_POLYHEDRON" +msgstr "Polyhedron" + msgid "TOP_NODES" msgstr "Nodes" @@ -2474,6 +2489,9 @@ msgstr "Tetrahedron" msgid "STB_HEXA" msgstr "Hexahedron" +msgid "STB_POLYHEDRON" +msgstr "Polyhedron" + msgid "STB_NODES" msgstr "Nodes"