Salome HOME
[CEA] Select text in Measurement
[modules/shaper.git] / src / FeaturesPlugin / measurement_widget.xml
index e16856771aea77c02f3393eb0238715d6f5bb88e..f664ad21f942ef1d72630c9ca880eb7a0221904b 100644 (file)
@@ -1,24 +1,3 @@
-<!--
-Copyright (C) 2018-20xx  CEA/DEN, EDF R&D
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-See http:##www.salome-platform.org/ or
-email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
--->
-
 <source>
   <toolbox id="MeasureKind">
     <box id="Length" title="Edge length" icon="icons/Features/meas_length_32x32.png">
@@ -47,7 +26,7 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
                       default="">
       </shape_selector>
     </box>
-    <box id="Radius" title="Radius of circular" icon="icons/Features/meas_radius_32x32.png">
+    <box id="Radius" title="Radius of circular edge, cylindrical surface or sphere" icon="icons/Features/meas_radius_32x32.png">
       <shape_selector id="circular"
                       icon=""
                       label="Object"
@@ -77,6 +56,32 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
         <validator id="GeomValidators_Intersected" parameters="angle_from"/>
       </shape_selector>
     </box>
+    <box id="AngleBy3Points" title="Angle by 3 points" icon="icons/Features/meas_angle3p_32x32.png">
+      <shape_selector id="angle_point_1"
+                      icon="icons/Features/point.png"
+                      label="Start point"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+      </shape_selector>
+      <shape_selector id="angle_point_2"
+                      icon="icons/Features/point.png"
+                      label="Angle apex"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+      </shape_selector>
+      <shape_selector id="angle_point_3"
+                      icon="icons/Features/point.png"
+                      label="End point"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+      </shape_selector>
+    </box>
   </toolbox>
-  <label id="result"/>
+  <label id="result" isSelectable="true"/>
 </source>