]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fixed Bug GVIEW10164 : Item "Results at Gauss points" is missing in menu "Visualization"
authorouv <ouv@opencascade.com>
Thu, 6 Oct 2005 14:26:50 +0000 (14:26 +0000)
committerouv <ouv@opencascade.com>
Thu, 6 Oct 2005 14:26:50 +0000 (14:26 +0000)
src/VISUGUI/VISUM_images.po
src/VISUGUI/VISUM_msg_en.po
src/VISUGUI/VisuGUI_Module.cxx

index e07995e91628c853cbe3c5d87f2e7b2075f49c68..23082cd668f57763bb37d5540752123a596d71d6 100644 (file)
@@ -36,6 +36,9 @@ msgstr ""
 msgid "ICON_GAUSS_NEW_VIEWER"
 msgstr "Visu_points.png"
 
+msgid "ICON_GAUSS_POINTS"
+msgstr "Visu_gauss_points.png"
+
 msgid "ICON_VVTK_INTERACTOR_STYLE_SWITCH"
 msgstr "Visu_vvtk_switch.png"
 
index 89cca1ce5957c6bd6c4e4cbaa5aee3ac65ab7a60..457f52cef5c7363f1462e80d52e22c9c0c6523ee 100644 (file)
@@ -6,6 +6,12 @@ msgstr ""
 "Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
 "Content-Type: text/plain; charset=iso-8859-1\n"
 
+msgid "VisuGUI_Module::MEN_VISUALISATION"
+msgstr "Visualization"
+
+msgid "VisuGUI_Module::TOOL_VISUALISATION"
+msgstr "Visualization Toolbar"
+
 msgid "VisuGUI_Module::MEN_GAUSS"
 msgstr "Gauss"
 
index 1b9755512fd5f63d2d59de5e4aca1586c92c3b75..be93971c21a9501c1efce23431dc56c7a579958a 100644 (file)
@@ -221,13 +221,17 @@ VisuGUI_Module
   QtxPopupMgr* mgr = popupMgr();
   QString aRule;
 
-  createAction( GAUSS_CREATE_PRS, tr("MEN_GAUSS_CREATE_PRS"), QIconSet(),
+  aPixmap = aResourceMgr->loadPixmap( "VISU", tr( "ICON_GAUSS_POINTS" ) );
+  createAction( GAUSS_CREATE_PRS, tr("MEN_GAUSS_CREATE_PRS"), aPixmap,
                 tr("MEN_GAUSS_CREATE_PRS"), "", 0, this, false,
                 this, SLOT(OnCreateGaussPoints()));
   mgr->insert( action( GAUSS_CREATE_PRS ), -1, 0, -1 );
   mgr->setRule( action( GAUSS_CREATE_PRS ), 
                aSel_One_ObjBr + " and type='VISU::TTIMESTAMP'", true );
 
+  createMenu( action( GAUSS_CREATE_PRS ), createMenu( tr( "MEN_VISUALISATION" ), -1 ), -1 );
+  createTool( GAUSS_CREATE_PRS, createTool( tr( "TOOL_VISUALISATION" ) ), -1 );
+
   createAction( GAUSS_EDIT_PRS, VisuGUI::tr("MEN_EDIT_PRS"), QIconSet(),
                 VisuGUI::tr("MEN_EDIT_PRS"), "", 0, this, false,
                 this, SLOT(OnEditGaussPoints()));