Salome HOME
Fix for regression caused by merging of new configuration files and the pictures
[modules/shaper.git] / src / FeaturesPlugin / revolution_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <toolbox id="CreationMethod">
5     <box id="ByAngles" title="By angles" icon=":icons/angle_up_down_32x32.png">
6       <multi_selector id="base"
7         label="Select a sketch face"
8         icon=":icons/sketch.png"
9         tooltip="Select a sketch face"
10         type_choice="Faces">
11         <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
12       </multi_selector>
13       <shape_selector id="axis_object"
14                       icon=":icons/axis.png"
15                       label="Axis"
16                       tooltip="Select an edge for axis"
17                       shape_types="edge"
18                       default="">
19         <validator id="GeomValidators_ShapeType" parameters="line"/>
20       </shape_selector>
21       <groupbox>
22         <doublevalue
23           id="from_angle"
24           label="Angle"
25           step="1.0"
26           default="0"
27           icon=":icons/angle_down.png"
28           tooltip="From angle">
29         </doublevalue>
30       </groupbox>
31       <groupbox>
32         <doublevalue
33           id="to_angle"
34           label="Angle"
35           step="1.0"
36           default="360"
37           icon=":icons/angle_up.png"
38           tooltip="To angle">
39         </doublevalue>
40       </groupbox>
41     </box>
42     <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
43       <multi_selector id="base"
44         label="Select a sketch face"
45         icon=":icons/sketch.png"
46         tooltip="Select a sketch face"
47         type_choice="Faces">
48         <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
49       </multi_selector>
50       <shape_selector id="axis_object"
51                       icon=":icons/axis.png"
52                       label="Axis"
53                       tooltip="Select an edge for axis"
54                       shape_types="edge"
55                       default="">
56         <validator id="GeomValidators_ShapeType" parameters="line"/>
57       </shape_selector>
58       <groupbox title="From">
59         <shape_selector id="from_object"
60                         icon=":icons/plane.png"
61                         label="Plane face"
62                         tooltip="Bounding plane (select a planar face)"
63                         shape_types="face"
64                         default="&lt;base sketch&gt;">
65           <validator id="GeomValidators_Face" parameters="plane"/>
66         </shape_selector>
67         <doublevalue
68           id="from_offset"
69           label="Offset"
70           step="1.0"
71           default="0"
72           icon=":icons/angle_down.png"
73           tooltip="Offset for bounding plane">
74         </doublevalue>
75       </groupbox>
76       <groupbox title="To">
77         <shape_selector id="to_object"
78                         icon=":icons/plane_inverted.png"
79                         label="Plane face"
80                         tooltip="Bounding plane (select a planar face)"
81                         shape_types="face"
82                         default="&lt;base sketch&gt;">
83           <validator id="GeomValidators_Face" parameters="plane"/>
84         </shape_selector>
85         <doublevalue
86           id="to_offset"
87           label="Offset"
88           step="1.0"
89           default="0"
90           icon=":icons/angle_up.png"
91           tooltip="Offset for bounding plane">
92         </doublevalue>
93       </groupbox>
94     </box>
95   </toolbox>
96   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
97 </source>