]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Tooltips are corrected
authorsbh <sergey.belash@opencascade.com>
Thu, 25 Dec 2014 10:15:56 +0000 (13:15 +0300)
committersbh <sergey.belash@opencascade.com>
Thu, 25 Dec 2014 10:16:35 +0000 (13:16 +0300)
14 files changed:
src/ConnectorPlugin/plugin-Connector.xml
src/ConstructionPlugin/axis_widget.xml
src/ConstructionPlugin/plane_widget.xml
src/ConstructionPlugin/point_widget.xml
src/ExchangePlugin/plugin-Exchange.xml
src/FeaturesPlugin/boolean_widget.xml
src/FeaturesPlugin/extrusion_widget.xml
src/FeaturesPlugin/group_widget.xml
src/FeaturesPlugin/placement_widget.xml
src/FeaturesPlugin/plugin-Features.xml
src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
src/PartSet/PartSet_WidgetPoint2d.cpp
src/PartSetPlugin/plugin-PartSet.xml
src/SketchPlugin/plugin-Sketch.xml

index 93b3977c3dc6c11f4607f1c63b5e2c21040ab5a9..1445b5b8de80e8f1f9553c991081aab3ba801455 100644 (file)
@@ -4,7 +4,7 @@
       <feature
         id="ExportToGEOM"
         title="Export to GEOM"
-        tooltip="Exports all data in GEOM compatible format"
+        tooltip="Exports all bodies into GEOM module"
         icon=":pictures/part_ico.png">
       </feature>
     </group>
index 2b0659c7d6f95776eac50c6253c7bf08b77c49a4..8d4a40a8d80fe87682a8b21f7ef57b9cd9d7ed04 100644 (file)
@@ -4,14 +4,14 @@
   <shape_selector id="firstPoint" 
     label="First point" 
     icon=":icons/point.png" 
-    tooltip="Select a first point for the axis"
+    tooltip="Select a first point"
     shape_types="vertex"
        use_subshapes="true"
   />
   <shape_selector id="secondPoint"
     label="Second point"
     icon=":icons/point.png"
-    tooltip="Select a second point for the axis"
+    tooltip="Select a second point"
     shape_types="vertex"
        use_subshapes="true">
   </shape_selector>
index 8697dcca05cde95edbe23424946da0f8ad2678bf..546cc919b11249fa3556de38ee36a96b4e762dba 100644 (file)
@@ -3,7 +3,7 @@
 <source>
   <shape_selector id="planeFace" 
                   label="Plane face" 
-                  tooltip="Select a planar face for plane definition"
+                  tooltip="Select a planar face"
                   shape_types="face"
                   use_subshapes="true">
                  <selection_filter id="FaceFilter" parameters="plane"/>
index 506f48f56ab6a0c9703d1c9940605b8e017f2d89..ac1dd093b8c196ccbe2311b29754cd917bc11f6b 100644 (file)
@@ -1,7 +1,7 @@
 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
 
 <source>
-  <doublevalue id="x" label="X:" icon=":pictures/x_point.png" tooltip="Set X"/>
-  <doublevalue id="y" label="Y:" icon=":pictures/y_point.png" tooltip="Set Y"/>
-  <doublevalue id="z" label="Z:" icon=":pictures/z_point.png" tooltip="Set Z"/>
+  <doublevalue id="x" label="X:" icon=":pictures/x_point.png" tooltip="X coordinate"/>
+  <doublevalue id="y" label="Y:" icon=":pictures/y_point.png" tooltip="Y coordinate"/>
+  <doublevalue id="z" label="Z:" icon=":pictures/z_point.png" tooltip="Z coordinate"/>
 </source>
index dd477f46749d5013b4aa3b278fe517a96d791600..1b19f4bcaa3c1ab6e38744cd7c58d670b7b2cc86 100644 (file)
@@ -3,7 +3,7 @@
 <plugin>
   <workbench id="Features" document="Part">
     <group id="Exchange">
-      <feature id="Import" title="Import" tooltip="Import shape" icon=":icons/import.png">
+      <feature id="Import" title="Import" tooltip="Path to file" icon=":icons/import.png">
         <file_selector
           id="import_file_selector"
           title="Import file"
index 4b1cf3c72b9991b927ed261c0eaa9e4d56fb3b31..9a6e83da90e1e76fd50c922146d840aaacaf55dc 100644 (file)
@@ -4,14 +4,14 @@
   <shape_selector id="main_object" 
     label="Main object" 
     icon=":icons/cut_shape.png" 
-    tooltip="Select an object to cut"
+    tooltip="Select an object solid"
     shape_types="solid shell"
     concealment="true"
   />
   <shape_selector id="tool_object" 
     label="Tool object" 
     icon=":icons/cut_tool.png" 
-    tooltip="Select a tool"
+    tooltip="Select a tool solid"
     shape_types="solid"
     concealment="true" >
        <validator id="PartSet_DifferentObjects"/>
index 52808c76ec2770d0af893a922786fd2f2a0fd9d6..86dafe348e3a40787d12e8a50c2d4d7cd7a679d4 100644 (file)
@@ -4,13 +4,20 @@
   <shape_selector id="extrusion_face" 
     label="Select a face" 
     icon=":icons/sketch.png" 
-    tooltip="Select a face for extrusion"
+    tooltip="Select a face"
     activate="true"
     shape_types="face"
        object_types="construction"
     use_subshapes="true"
   />
-  <doublevalue id="extrusion_size" label="Size" min="0" step="1.0" default="1" icon=":icons/dimension_v.png" tooltip="Set size of extrusion">
+  <doublevalue
+    id="extrusion_size"
+    label="Size"
+    min="0"
+    step="1.0"
+    default="1"
+    icon=":icons/dimension_v.png"
+    tooltip="Height">
     <validator id="GeomValidators_Positive"/>
   </doublevalue>
   <boolvalue id="extrusion_reverse" label="Reverse" default="false" tooltip="Reverse default direction"/>
index 0a5409354245858f9bfc8ac9fef2330c31dbbdb7..1b1825329df41ef62ca2d60134d503eeaf788bb2 100644 (file)
@@ -2,6 +2,6 @@
 
 <source>
   <multi_selector id="group_list" 
-    tooltip="List of selected objects" 
+    tooltip="Select a set of objects" 
     type_choice="Vertices Edges Faces Solids" /> 
 </source>
\ No newline at end of file
index a43e1564bcabc431dbb2988e63b65513e70e7f53..4f04fa9cd2838d1a792b604d7f27001588e1cfb4 100644 (file)
@@ -4,14 +4,14 @@
   <shape_selector id="placement_base_face" 
     label="Select a face" 
     icon=":icons/cut_shape.png" 
-    tooltip="Select a face a one object"
+    tooltip="Select a destination face"
     shape_types="face"
     use_subshapes="true"
   />
   <shape_selector id="placement_attractable_face" 
                label="Select a face" 
                icon=":icons/cut_shape.png" 
-               tooltip="Select a face of another object" 
+               tooltip="Select a face of moved object" 
                shape_types="face" 
                use_subshapes="true"    
                concealment="true" >
index 7257ac2cf98e4a525adda8a50629d035f6cf53fe..6834cdbe639aebe04781ca5a2108910a3bc00774 100644 (file)
@@ -3,13 +3,13 @@
 <plugin>
   <workbench id="Features" document="Part">
     <group id="Basic">
-      <feature id="Extrusion" title="Extrusion" tooltip="Create a shape by extrusion of a face" icon=":icons/extrusion.png">
+      <feature id="Extrusion" title="Extrusion" tooltip="Create a solid by extrusion of a face" icon=":icons/extrusion.png">
           <source path="extrusion_widget.xml"/>
       </feature>
-      <feature id="Boolean" title="Boolean" tooltip="Perform boolean operations with shapes" icon=":icons/cut.png">
+      <feature id="Boolean" title="Boolean" tooltip="Perform boolean operations with solids" icon=":icons/cut.png">
           <source path="boolean_widget.xml"/>
       </feature>
-      <feature id="Placement" title="Placement" tooltip="Perform moving an object to specified position" icon=":icons/placement.png">
+      <feature id="Placement" title="Placement" tooltip="Perform moving of an object to specified position" icon=":icons/placement.png">
           <source path="placement_widget.xml"/>
       </feature>
     </group>
index b82971d1f627d32ff56045a1ba8af4de34f7b551..80e6d670a9a30baf33c0e629d79dc17e4a3f1295 100644 (file)
@@ -46,6 +46,7 @@ ModuleBase_WidgetFileSelector::ModuleBase_WidgetFileSelector(QWidget* theParent,
   myPathField = new QLineEdit(myMainWidget);
   aMainLay->addWidget(myPathField, 1, 0);
   QPushButton* aSelectPathBtn = new QPushButton("...", myMainWidget);
+  aSelectPathBtn->setToolTip(tr("Select file..."));
   aSelectPathBtn->setMaximumWidth(20);
   aSelectPathBtn->setMaximumHeight(20);
   aMainLay->addWidget(aSelectPathBtn, 1, 1);
index ad30fc24800b52b74abc58ee19c58c7060defe78..26f8f65374be43e28cf5a2853e35c86f50a1da93 100644 (file)
@@ -60,28 +60,28 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent,
   aGroupLay->setColumnStretch(1, 1);
   {
     QLabel* aLabel = new QLabel(myGroupBox);
-    aLabel->setText("X");
+    aLabel->setText(tr("X"));
     aLabel->setPixmap(QPixmap(":pictures/x_point.png"));
     aGroupLay->addWidget(aLabel, 0, 0);
 
     myXSpin = new ModuleBase_DoubleSpinBox(myGroupBox);
     myXSpin->setMinimum(-DBL_MAX);
     myXSpin->setMaximum(DBL_MAX);
-    myXSpin->setToolTip("X");
+    myXSpin->setToolTip(tr("X"));
     aGroupLay->addWidget(myXSpin, 0, 1);
 
     connect(myXSpin, SIGNAL(valueChanged(double)), this, SLOT(onValuesChanged()));
   }
   {
     QLabel* aLabel = new QLabel(myGroupBox);
-    aLabel->setText("Y");
+    aLabel->setText(tr("Y"));
     aLabel->setPixmap(QPixmap(":pictures/y_point.png"));
     aGroupLay->addWidget(aLabel, 1, 0);
 
     myYSpin = new ModuleBase_DoubleSpinBox(myGroupBox);
     myYSpin->setMinimum(-DBL_MAX);
     myYSpin->setMaximum(DBL_MAX);
-    myYSpin->setToolTip("X");
+    myYSpin->setToolTip(tr("Y"));
     aGroupLay->addWidget(myYSpin, 1, 1);
 
     connect(myYSpin, SIGNAL(valueChanged(double)), this, SLOT(onValuesChanged()));
index 248ac5426d4ec3d6264b4b172376a96bff675ff6..721a692364cc003bac88b161eb7d995a78c3ff5c 100644 (file)
@@ -5,7 +5,7 @@
     <group id="Operations">
       <feature id="Part" title="New part" tooltip="Create a new part" icon=":pictures/part_ico.png"/>
       <feature id="Duplicate" title="Duplicate"
-               tooltip="Duplicate selected part"
+               tooltip="Duplicate active part"
                icon=":icons/duplicate.png"
                document="Part"/>
       <feature id="Remove"
index 501a656c3a29bd61aad7c2e8faa75b9fd4a643db..e52d615f01352d8d20bc606841d551518087c6fc 100644 (file)
 <plugin>
   <workbench id="Sketch">
     <group id="Basic">
-      <feature id="Sketch" nested="SketchPoint SketchLine SketchCircle SketchArc SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintParallel SketchConstraintPerpendicular SketchConstraintRigid" title="Sketch" tooltip="Create a new sketch or edit an existing sketch" icon=":icons/sketch.png">
+      <feature
+        id="Sketch"
+        nested="SketchPoint SketchLine SketchCircle SketchArc SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintParallel SketchConstraintPerpendicular SketchConstraintRigid"
+        title="Sketch"
+        tooltip="Create a new sketch"
+        icon=":icons/sketch.png">
         <sketch-start-label title="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch"/> 
       <!--icon=":pictures/x_point.png"-->
       </feature>
       <feature id="SketchPoint" title="Point" tooltip="Create a new point" icon=":icons/point.png">
-        <sketch-2dpoint_selector id="PointCoordindates" title="Point" tooltip="Point"/>
+        <sketch-2dpoint_selector id="PointCoordindates" title="Point" tooltip="Point coordinates"/>
       </feature>
       <feature id="SketchLine" title="Line" tooltip="Create a new line" icon=":icons/line.png">
-        <sketch-2dpoint_selector id="StartPoint" title="Start point" tooltip="Start point of the line" previous_feature_param="EndPoint"/>
-        <sketch-2dpoint_selector id="EndPoint" title="End point" tooltip="End point of the line"/>
+        <sketch-2dpoint_selector id="StartPoint" title="Start point" tooltip="Start point coordinates" previous_feature_param="EndPoint"/>
+        <sketch-2dpoint_selector id="EndPoint" title="End point" tooltip="End point coordinates"/>
       </feature>
       <feature id="SketchCircle" title="Circle" tooltip="Create a new circle" icon=":icons/circle.png">
-        <sketch-2dpoint_selector id="CircleCenter" title="Center" tooltip="Center of the circle"/>
-        <point2ddistance id="CircleRadius" first_point="CircleCenter" label="Radius:" min="0" step="1.0" default="0" icon=":icons/radius.png" tooltip="Set Radius">
+        <sketch-2dpoint_selector id="CircleCenter" title="Center" tooltip="Center coordinates"/>
+        <point2ddistance id="CircleRadius" first_point="CircleCenter" label="Radius:" min="0" step="1.0" default="0" icon=":icons/radius.png" tooltip="Set radius">
           <validator id="GeomValidators_Positive"/>
         </point2ddistance>
       </feature>
-      <feature id="SketchArc" title="Arc" tooltip="Create a new arc of a circle" icon=":icons/arc.png">
-        <sketch-2dpoint_selector id="ArcCenter" title="Center" tooltip="Center of the arc"/>
-        <sketch-2dpoint_selector id="ArcStartPoint" title="Start point" tooltip="Start point of the arc"/>
-        <sketch-2dpoint_selector id="ArcEndPoint" title="End point" tooltip="End point of the arc"/>
+      <feature id="SketchArc" title="Arc" tooltip="Create a new arc" icon=":icons/arc.png">
+        <sketch-2dpoint_selector id="ArcCenter" title="Center" tooltip="Center of a circle"/>
+        <sketch-2dpoint_selector id="ArcStartPoint" title="Start point" tooltip="Start point"/>
+        <sketch-2dpoint_selector id="ArcEndPoint" title="End point" tooltip="End point"/>
       </feature>
     </group>
          
     <group id="Constraints">
-      <feature id="SketchConstraintCoincidence" title="Coincident" tooltip="Create constraint for the coincidence of two points" internal="1"/>
+      <feature
+        id="SketchConstraintCoincidence"
+        title="Coincident"
+        tooltip="Create constraint for the coincidence of two points"
+        internal="1" />
        <!--  SketchConstraintDistance  -->
-      <feature id="SketchConstraintDistance" title="Distance" tooltip="Create constraint for the distance from a point to an object" icon=":icons/distance.png">
+      <feature
+        id="SketchConstraintDistance"
+        title="Distance"
+        tooltip="Set fixed distance from a point to an object"
+        icon=":icons/distance.png">
         <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
-               
-               <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select point, line end point, line, center of circle or arc." 
-                       shape_types="edge vertex"  use_subshapes="true"/>
-               
-               <sketch_shape_selector id="ConstraintEntityB" label="Last object" tooltip="Select point, line end point, line, center of circle or arc." 
+               <sketch_shape_selector 
+          id="ConstraintEntityA" 
+          label="First object" 
+          tooltip="Select point, line end point, line, center of circle or arc."
+          shape_types="edge vertex"  
+          use_subshapes="true"/>
+               <sketch_shape_selector 
+          id="ConstraintEntityB" 
+          label="Last object" 
+          tooltip="Select point, line end point, line, center of circle or arc." 
                        shape_types="edge vertex"  use_subshapes="true">
                        <validator id="SketchPlugin_DifferentObjects"/>
                </sketch_shape_selector>
                
         <sketch-2dpoint_selector id="ConstraintFlyoutValuePnt" internal="1" obligatory="0"/>
         
-               <doublevalue_editor label="Value" tooltip="Constraint value" id="ConstraintValue" default="computed" min="0">
+               <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
           <validator id="GeomValidators_Positive"/>
         </doublevalue_editor>
         
                <validator id="PartSet_DistanceValidator"/>
       </feature>
        <!--  SketchConstraintLength  -->      
-      <feature id="SketchConstraintLength" title="Length" tooltip="Create constraint for the given length of a line segment" icon=":icons/length.png">
+      <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon=":icons/length.png">
         <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
-               <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line in the viewer
+               <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line" 
                        shape_types="edge" >
                        <validator id="SketchPlugin_ResultLine"/>
       <selection_filter id="EdgeFilter" parameters="line"/>
     </shape_selector>
         <sketch-2dpoint_selector id="ConstraintFlyoutValuePnt" internal="1" obligatory="0"/>
-        <doublevalue_editor label="Value" tooltip="Constraint value" id="ConstraintValue" default="computed">
+        <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
           <validator id="GeomValidators_Positive"/>
         </doublevalue_editor>
         <validator id="PartSet_LengthValidator"/>
       </feature>
        <!--  SketchConstraintRadius  -->
-      <feature id="SketchConstraintRadius" title="Radius" tooltip="Create constraint for the given radius of a circle or an arc" icon=":icons/radius_constr.png">
+      <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon=":icons/radius_constr.png">
         <label title="Select a circle or an arc on which to calculate radius" tooltip="Select a circle or an arc on which to calculate radius"/>
-               <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc in the viewer
+               <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc" 
                        shape_types="edge">
                        <validator id="SketchPlugin_ResultArc"/>
                        <selection_filter id="EdgeFilter" parameters="circle"/>
                </shape_selector>
         <sketch-2dpoint_selector id="ConstraintFlyoutValuePnt" internal="1" obligatory="0"/>
-        <doublevalue_editor label="Value" tooltip="Constraint value" id="ConstraintValue" default="computed"/>
+        <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed"/>
         <validator id="PartSet_RadiusValidator"/>
       </feature>
        <!--  SketchConstraintParallel  -->
       <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines" icon=":icons/parallel.png">
                <sketch_constraint_shape_selector id="ConstraintEntityA" 
-                       label="First line" tooltip="Select an line in the viewer
+                       label="First line" tooltip="Select a line
                        shape_types="edge" use_subshapes="true">
                        <selection_filter id="EdgeFilter" parameters="line"/>
                </sketch_constraint_shape_selector>
                
-               <sketch_constraint_shape_selector id="ConstraintEntityB" label="Last line" tooltip="Select an line in the viewer
+               <sketch_constraint_shape_selector id="ConstraintEntityB" label="Last line" tooltip="Select a line
                        shape_types="edge" use_subshapes="true">
                        <selection_filter id="EdgeFilter" parameters="line"/>
                        <validator id="SketchPlugin_DifferentObjects"/>
        <!--  SketchConstraintPerpendicular  -->
       <feature id="SketchConstraintPerpendicular" title="Perpendicular" tooltip="Create constraint defining two perpendicular lines" icon=":icons/perpendicular.png">
                <sketch_constraint_shape_selector id="ConstraintEntityA" 
-                       label="First line" tooltip="Select an line in the viewer
+                       label="First line" tooltip="Select an line" 
                        shape_types="edge" use_subshapes="true">
       <selection_filter id="EdgeFilter" parameters="line"/>
     </sketch_constraint_shape_selector>
                
                <sketch_constraint_shape_selector id="ConstraintEntityB" 
-                       label="Last line" tooltip="Select an line in the viewer
+                       label="Last line" tooltip="Select an line" 
                        shape_types="edge" use_subshapes="true">
                        <validator id="SketchPlugin_DifferentObjects"/>
       <selection_filter id="EdgeFilter" parameters="line"/>
         <validator id="PartSet_PerpendicularValidator"/>
       </feature>
        <!--  SketchConstraintRigid  -->
-      <feature id="SketchConstraintRigid" title="Fixed" tooltip="Create constraint defining fixed object" icon=":icons/fixed.png">
-        <shape_selector id="ConstraintEntityA" label="Object" tooltip="Select any object in the viewer
+      <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon=":icons/fixed.png">
+        <shape_selector id="ConstraintEntityA" label="Object" tooltip="Select an object
                        shape_types="edge vertex">
                    <validator id="SketchPlugin_ResultPoint"/>
                        <validator id="SketchPlugin_ResultLine"/>