Salome HOME
French translations
[modules/shaper.git] / src / PrimitivesPlugin / cylinder_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="Cylinder" title="Cylinder" icon="icons/Primitives/cylinder_32x32.png">
4       <shape_selector
5           id="base_point"
6           label="base_point"
7           default=""
8           shape_types="vertex"
9           icon="icons/Primitives/point.png"
10           tooltip="Select the center of the base of the cylinder">
11         <validator id="GeomValidators_ConstructionComposite"/>
12         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
13       </shape_selector>
14       <shape_selector
15           id="axis"
16           label="axis"
17           default=""
18           shape_types="edge"
19           geometrical_selection="true"
20           icon="icons/Primitives/axis.png"
21           tooltip="Select the axis of the cylinder">
22         <validator id="GeomValidators_ConstructionComposite"/>
23         <validator id="GeomValidators_ShapeType" parameters="line"/>
24       </shape_selector>
25       <doublevalue
26           id="radius"
27           label="radius"
28           step="1."
29           default="5."
30           icon="icons/Primitives/radius.png"
31           tooltip="Enter the radius of the cylinder">
32       </doublevalue>
33       <doublevalue
34           id="height"
35           label="height"
36           step="1."
37           default="10."
38           icon="icons/Primitives/dimension_v.png"
39           tooltip="Enter the height of the cylinder">
40       </doublevalue>
41     </box>
42     <box id="CylinderPortion" title="Portion of cylinder" icon="icons/Primitives/cylinder_portion_32x32.png">
43       <shape_selector
44           id="base_point"
45           label="base_point"
46           default=""
47           shape_types="vertex"
48           icon="icons/Primitives/point.png"
49           tooltip="Select the center of the base of the cylinder">
50         <validator id="GeomValidators_ConstructionComposite"/>
51         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
52       </shape_selector>
53       <shape_selector
54           id="axis"
55           label="axis"
56           default=""
57           shape_types="edge"
58           geometrical_selection="true"
59           icon="icons/Primitives/axis.png"
60           tooltip="Select the axis of the cylinder">
61         <validator id="GeomValidators_ConstructionComposite"/>
62         <validator id="GeomValidators_ShapeType" parameters="line"/>
63       </shape_selector>
64       <doublevalue
65           id="radius"
66           label="radius"
67           step="1."
68           default="5."
69           icon="icons/Primitives/radius.png"
70           tooltip="Enter the radius of the cylinder">
71       </doublevalue>
72       <doublevalue
73           id="height"
74           label="height"
75           step="1."
76           default="10."
77           icon="icons/Primitives/dimension_v.png"
78           tooltip="Enter the height of the cylinder">
79       </doublevalue>
80       <doublevalue
81           id="angle"
82           label="angle"
83           step="10."
84           default="45.0"
85           icon="icons/Primitives/angle.png"
86           tooltip="Enter the angle of the portion of the cylinder">
87       </doublevalue>
88     </box>
89   </toolbox>
90 </source>