From: dmv Date: Thu, 18 Oct 2007 13:26:28 +0000 (+0000) Subject: NPAL16561 X-Git-Tag: V4_1_0a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1dcf84bfd289c4c22e7f04b78d08e5ec2ce0012;p=modules%2Fvisu.git NPAL16561 --- diff --git a/src/VISUGUI/VISU_msg_en.po b/src/VISUGUI/VISU_msg_en.po index 19b1cc9a..a2ef6b93 100644 --- a/src/VISUGUI/VISU_msg_en.po +++ b/src/VISUGUI/VISU_msg_en.po @@ -314,8 +314,8 @@ msgstr "Cut Lines" msgid "VisuGUI::MEN_CUT_PLANES" msgstr "Cut Planes" -msgid "VisuGUI::MEN_DISPLAY" -msgstr "Display" +msgid "VisuGUI::MEN_SHOW" +msgstr "Show" msgid "VisuGUI::MEN_DISPLAY_ONLY" msgstr "Display Only" @@ -329,8 +329,8 @@ msgstr "Edit..." msgid "VisuGUI::MEN_EDIT_PRS" msgstr "Edit..." -msgid "VisuGUI::MEN_ERASE" -msgstr "Erase" +msgid "VisuGUI::MEN_HIDE" +msgstr "Hide" msgid "VisuGUI::MEN_EXPORT_TABLE" msgstr "Export Table" diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5f8e9794..ffef44f4 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2138,12 +2138,12 @@ VisuGUI tr("MEN_FREE_SCALAR_BARS"), "", 0, aParent, false, this, SLOT(OnFreeScalarBars())); - createAction( VISU_ERASE, tr("MEN_ERASE"), QIconSet(), - tr("MEN_ERASE"), "", 0, aParent, false, + createAction( VISU_ERASE, tr("MEN_HIDE"), QIconSet(), + tr("MEN_HIDE"), "", 0, aParent, false, this, SLOT(OnErasePrs())); - createAction( VISU_DISPLAY, tr("MEN_DISPLAY"), QIconSet(), - tr("MEN_DISPLAY"), "", 0, aParent, false, + createAction( VISU_DISPLAY, tr("MEN_SHOW"), QIconSet(), + tr("MEN_SHOW"), "", 0, aParent, false, this, SLOT(OnDisplayPrs())); createAction( VISU_DISPLAY_ONLY, tr("MEN_DISPLAY_ONLY"), QIconSet(), diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 7efafbf6..81ed8c63 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -330,15 +330,15 @@ initialize( CAM_Application* theApp ) aRule = "(selcount>0 and type='VISU::TGAUSSPOINTS')"; - createAction( GAUSS_ERASE_PRS, VisuGUI::tr("MEN_ERASE"), QIconSet(), - VisuGUI::tr("MEN_ERASE"), "", 0, this, false, + createAction( GAUSS_ERASE_PRS, VisuGUI::tr("MEN_HIDE"), QIconSet(), + VisuGUI::tr("MEN_HIDE"), "", 0, this, false, this, SLOT(OnErasePrs())); mgr->insert( action( GAUSS_ERASE_PRS ), -1, -1, -1 ); // erase mgr->setRule( action( GAUSS_ERASE_PRS ), aRule + " and ({true} in $canBeDisplayed) and (isVisible=true)", true ); - createAction( GAUSS_DISPLAY_PRS, VisuGUI::tr("MEN_DISPLAY"), QIconSet(), - VisuGUI::tr("MEN_DISPLAY"), "", 0, this, false, + createAction( GAUSS_DISPLAY_PRS, VisuGUI::tr("MEN_SHOW"), QIconSet(), + VisuGUI::tr("MEN_SHOW"), "", 0, this, false, this, SLOT(OnDisplayPrs())); mgr->insert( action( GAUSS_DISPLAY_PRS ), -1, -1, -1 ); // display mgr->setRule( action( GAUSS_DISPLAY_PRS ),