Salome HOME
Update copyrights
[modules/shaper.git] / src / FeaturesPlugin / translation_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="ByAxisAndDistance"
4          title="By an axis and a distance"
5          icon="icons/Features/translation_vector_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="distance"
24                    label="Distance"
25                    step="1.0"
26                    default="0"
27                    icon="icons/Features/dimension_v.png"
28                    tooltip="Distance">
29       </doublevalue>
30     </box>
31     <box id="ByDimensions"
32          title="By X, Y and Z dimensions"
33          icon="icons/Features/translation_dxyz_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       <doublevalue id="dx"
43                    label="DX"
44                    step="1.0"
45                    default="10"
46                    icon=""
47                    tooltip="Dimension in X">
48       </doublevalue>
49       <doublevalue id="dy"
50                    label="DY"
51                    step="1.0"
52                    default="0"
53                    icon=""
54                    tooltip="Dimension in Y">
55       </doublevalue>
56       <doublevalue id="dz"
57                    label="DZ"
58                    step="1.0"
59                    default="0"
60                    icon=""
61                    tooltip="Dimension in Z">
62       </doublevalue>
63     </box>
64     <box id="ByTwoPoints"
65          title="By two points"
66          icon="icons/Features/translation_2pt_32x32.png">
67       <multi_selector id="main_objects"
68                       label="Main objects"
69                       icon=""
70                       tooltip="Select solid objects"
71                       type_choice="objects"
72                       concealment="true">
73         <validator id="FeaturesPlugin_ValidatorTransform"/>
74       </multi_selector>
75       <shape_selector id="start_point"
76                       icon=""
77                       label="Start point"
78                       tooltip="Select the start point to define the axis"
79                       shape_types="vertex"
80                       default="">
81         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
82         <validator id="GeomValidators_ConstructionComposite"/>
83       </shape_selector>
84       <shape_selector id="end_point"
85                       icon=""
86                       label="End point"
87                       tooltip="Select the end point to define the axis"
88                       shape_types="vertex"
89                       default="">
90         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
91         <validator id="GeomValidators_ConstructionComposite"/>
92         <validator id="GeomValidators_DifferentShapes"/>
93       </shape_selector>
94     </box>
95  </toolbox>
96 </source>