Salome HOME
[CEA] Select text in Measurement
[modules/shaper.git] / src / FeaturesPlugin / measurement_widget.xml
1 <source>
2   <toolbox id="MeasureKind">
3     <box id="Length" title="Edge length" icon="icons/Features/meas_length_32x32.png">
4       <shape_selector id="edge_for_length"
5                       icon="icons/Features/edge.png"
6                       label="Edge"
7                       tooltip="Select an edge"
8                       shape_types="edge"
9                       default="">
10         <validator id="GeomValidators_ShapeType" parameters="edge"/>
11       </shape_selector>
12     </box>
13     <box id="Distance" title="Distance between objects" icon="icons/Features/meas_distance_32x32.png">
14       <shape_selector id="distance_from"
15                       icon=""
16                       label="From"
17                       tooltip="Select a shape"
18                       shape_types="vertex edge wire face shell solid objects"
19                       default="">
20       </shape_selector>
21       <shape_selector id="distance_to"
22                       icon=""
23                       label="To"
24                       tooltip="Select a shape"
25                       shape_types="vertex edge wire face shell solid objects"
26                       default="">
27       </shape_selector>
28     </box>
29     <box id="Radius" title="Radius of circular edge, cylindrical surface or sphere" icon="icons/Features/meas_radius_32x32.png">
30       <shape_selector id="circular"
31                       icon=""
32                       label="Object"
33                       tooltip="Select an edge or face"
34                       shape_types="edge face"
35                       default="">
36         <validator id="FeaturesPlugin_ValidatorCircular"/>
37       </shape_selector>
38     </box>
39     <box id="Angle" title="Angle between edges" icon="icons/Features/meas_angle_32x32.png">
40       <shape_selector id="angle_from"
41                       icon="icons/Features/edge.png"
42                       label="First edge"
43                       tooltip="Select an edge"
44                       shape_types="edge"
45                       default="">
46         <validator id="GeomValidators_ShapeType" parameters="edge"/>
47         <validator id="GeomValidators_Intersected" parameters="angle_to"/>
48       </shape_selector>
49       <shape_selector id="angle_to"
50                       icon="icons/Features/edge.png"
51                       label="Second edge"
52                       tooltip="Select an edge"
53                       shape_types="edge"
54                       default="">
55         <validator id="GeomValidators_ShapeType" parameters="edge"/>
56         <validator id="GeomValidators_Intersected" parameters="angle_from"/>
57       </shape_selector>
58     </box>
59     <box id="AngleBy3Points" title="Angle by 3 points" icon="icons/Features/meas_angle3p_32x32.png">
60       <shape_selector id="angle_point_1"
61                       icon="icons/Features/point.png"
62                       label="Start point"
63                       tooltip="Select a point"
64                       shape_types="vertex"
65                       default="">
66         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
67       </shape_selector>
68       <shape_selector id="angle_point_2"
69                       icon="icons/Features/point.png"
70                       label="Angle apex"
71                       tooltip="Select a point"
72                       shape_types="vertex"
73                       default="">
74         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
75       </shape_selector>
76       <shape_selector id="angle_point_3"
77                       icon="icons/Features/point.png"
78                       label="End point"
79                       tooltip="Select a point"
80                       shape_types="vertex"
81                       default="">
82         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
83       </shape_selector>
84     </box>
85   </toolbox>
86   <label id="result" isSelectable="true"/>
87 </source>