Salome HOME
23320: EDF13201 - Create group from geometry
authoreap <eap@opencascade.com>
Tue, 20 Jun 2017 13:58:16 +0000 (16:58 +0300)
committereap <eap@opencascade.com>
Tue, 20 Jun 2017 13:58:16 +0000 (16:58 +0300)
Add a tooltip

src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx
src/SMESHGUI/SMESH_msg_en.ts

index dc1461c..7808f78 100644 (file)
@@ -77,7 +77,8 @@ SMESHGUI_GroupOnShapeDlg::SMESHGUI_GroupOnShapeDlg()
 
   // Elem geom
 
-  QGroupBox* elemsGrp = new QGroupBox( tr( "SMESH_ELEMENTS" ), mainFrame() );
+  QGroupBox* elemsGrp = new QGroupBox( tr( "ELEMENTS" ), mainFrame() );
+  elemsGrp->setToolTip( tr("ELEMENTS_TOOLTIP") );
   QLabel* label = new QLabel( tr( "SMESH_GEOM" ), elemsGrp );
   myElemGeomBtn = new QPushButton( elemsGrp );
   myElemGeomBtn->setCheckable(true);
index 2a06018..a5e80c6 100644 (file)
@@ -6996,6 +6996,14 @@ It is impossible to read point coordinates from file</translation>
         <source>SMESH_CREATE_GROUP_FROM_GEOM</source>
         <translation>Create Groups from Geometry</translation>
     </message>
+    <message>
+        <source>ELEMENTS</source>
+        <translation>Elements</translation>
+    </message>
+    <message>
+        <source>ELEMENTS_TOOLTIP</source>
+        <translation>No 0D elements</translation>
+    </message>
 </context>
 <context>
     <name>SMESHGUI_MeshOrderDlg</name>