Salome HOME
Update copyrights
[modules/shaper.git] / src / FeaturesPlugin / rotation_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="ByAxisAndAngle"
4          title="By an axis and an angle"
5          icon="icons/Features/rotation_axis_32x32.png">
6       <multi_selector id="main_objects"
7                       label="Main objects"
8                       icon=""
9                       tooltip="Select solid objects"
10                       type_choice="objects"
11                       concealment="true">
12         <validator id="FeaturesPlugin_ValidatorTransform"/>
13       </multi_selector>
14       <shape_selector id="axis_object"
15                   icon="icons/Features/axis.png"
16                   label="Axis"
17                   tooltip="Select an edge for axis"
18                   shape_types="edge"
19                   default=""
20                   geometrical_selection="true">
21         <validator id="GeomValidators_ShapeType" parameters="line"/>
22       </shape_selector>
23       <doublevalue id="angle"
24                    label="Angle"
25                    step="1.0"
26                    default="0"
27                    icon="icons/Features/angle.png"
28                    tooltip="Angle">
29       </doublevalue>
30     </box>
31     <box id="ByThreePoints"
32          title="By a center and two points"
33          icon="icons/Features/rotation_3pt_32x32.png">
34       <multi_selector id="main_objects"
35                       label="Main objects"
36                       icon=""
37                       tooltip="Select solid objects"
38                       type_choice="objects"
39                       concealment="true">
40         <validator id="FeaturesPlugin_ValidatorTransform"/>
41       </multi_selector>
42       <shape_selector id="center_point"
43                       label="Center point"
44                       icon="icons/Features/point.png"
45                       tooltip="Select a center point"
46                       shape_types="vertex">
47         <validator id="GeomValidators_ConstructionComposite"/>
48         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
49       </shape_selector>
50       <shape_selector id="start_point"
51                       label="Start point"
52                       icon="icons/Features/point.png"
53                       tooltip="Select a starting point"
54                       shape_types="vertex">
55         <validator id="GeomValidators_ConstructionComposite"/>
56         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
57         <validator id="GeomValidators_DifferentShapes"/>
58       </shape_selector>
59       <shape_selector id="end_point"
60                       label="End point"
61                       icon="icons/Features/point.png"
62                       tooltip="Select an end point"
63                       shape_types="vertex">
64         <validator id="GeomValidators_ConstructionComposite"/>
65         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
66         <validator id="GeomValidators_DifferentShapes"/>
67       </shape_selector>
68     </box>
69   </toolbox>
70 </source>