]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/scale_widget.xml
Salome HOME
La part
[modules/shaper.git] / src / FeaturesPlugin / scale_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="ByFactor"
4          title="By one common factor for the three directions"
5          icon="icons/Features/scale_factor_32x32.png">
6       <multi_selector id="main_objects"
7                       label="Main objects"
8                       icon=""
9                       tooltip="Select objects"
10                       shape_types="objects"
11                       concealment="true">
12         <validator id="FeaturesPlugin_ValidatorTransform"/>
13       </multi_selector>
14       <shape_selector id="center_point"
15                       icon=""
16                       label="Center point"
17                       tooltip="Select the center point"
18                       shape_types="vertex"
19                       default="">
20         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
21         <validator id="GeomValidators_ConstructionComposite"/>
22       </shape_selector>
23       <doublevalue
24           id="scale_factor"
25           label="Scale factor"
26           step="1."
27           default="2."
28           tooltip="Scale factor">
29       </doublevalue>
30     </box>
31     <box id="ByDimensions"
32          title="Different factors for the three directions"
33          icon="icons/Features/scale_dimensions_32x32.png">
34       <multi_selector id="main_objects"
35                       label="Main objects"
36                       icon=""
37                       tooltip="Select objects"
38                       shape_types="objects"
39                       concealment="true">
40         <validator id="FeaturesPlugin_ValidatorTransform"/>
41       </multi_selector>
42       <shape_selector id="center_point"
43                       icon=""
44                       label="Center point"
45                       tooltip="Select the center point"
46                       shape_types="vertex"
47                       default="">
48         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
49         <validator id="GeomValidators_ConstructionComposite"/>
50       </shape_selector>
51       <doublevalue
52           id="scale_factor_x"
53           label="Scale factor in X"
54           step="1."
55           default="2."
56           tooltip="Scale factor in X">
57       </doublevalue>
58       <doublevalue
59           id="scale_factor_y"
60           label="Scale factor in Y"
61           step="1."
62           default="2."
63           tooltip="Scale factor in Y">
64       </doublevalue>
65       <doublevalue
66           id="scale_factor_z"
67           label="Scale factor in Z"
68           step="1."
69           default="2."
70           tooltip="Scale factor in Z">
71       </doublevalue>
72       </box>
73   </toolbox>
74 </source>