]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3038: Add tooltip
authorvsv <vsv@opencascade.com>
Thu, 3 Oct 2019 13:48:01 +0000 (16:48 +0300)
committervsv <vsv@opencascade.com>
Thu, 3 Oct 2019 13:48:01 +0000 (16:48 +0300)
src/PartSet/PartSet_WidgetSketchLabel.cpp
src/PartSet/PartSet_msg_fr.ts

index 44e3514b7304db660a55cc327cba38fd6043541b..ae937d3459ce190c9bd4c32ec68813c1edc1a88e 100644 (file)
@@ -174,6 +174,7 @@ myIsSelection(false)
   aLayout->addWidget(myShowPoints);
 
   myAutoConstraints = new QCheckBox(tr("Automatic constraints"), this);
+  myAutoConstraints->setToolTip(tr("Automatic vertical and horizontal constraints"));
   connect(myAutoConstraints, SIGNAL(toggled(bool)), this, SIGNAL(autoConstraints(bool)));
   aLayout->addWidget(myAutoConstraints);
 
index 34195fb3516a4f8415b013c5a536adcab4dec2a1..3d69726d3409d6eafd9ac87b46ba9e45f696e281 100644 (file)
@@ -119,17 +119,22 @@ Erreur : %1</translation>
         <translation>Contraintes automatiques</translation>
     </message>
     <message>
-        <location filename="PartSet_WidgetSketchLabel.cpp" line="180"/>
+        <location filename="PartSet_WidgetSketchLabel.cpp" line="177"/>
+        <source>Automatic vertical and horizontal constraints</source>
+        <translation>Automatique des contraintes verticales et horizontales</translation>
+    </message>
+    <message>
+        <location filename="PartSet_WidgetSketchLabel.cpp" line="181"/>
         <source>Change sketch plane</source>
         <translation>Changer le plan d&apos;esquisse</translation>
     </message>
     <message>
-        <location filename="PartSet_WidgetSketchLabel.cpp" line="752"/>
+        <location filename="PartSet_WidgetSketchLabel.cpp" line="753"/>
         <source>Sketch is fully fixed (DoF = 0)</source>
         <translation>L&apos;esquisse est entièrement fixée (DdL = 0)</translation>
     </message>
     <message>
-        <location filename="PartSet_WidgetSketchLabel.cpp" line="754"/>
+        <location filename="PartSet_WidgetSketchLabel.cpp" line="755"/>
         <source>DoF (degrees of freedom) = </source>
         <translation>DdL (degrés de liberté) = </translation>
     </message>