Salome HOME
Issue #624: vertical buttons in switcher are implemented as a row of toolbuttons
[modules/shaper.git] / src / FeaturesPlugin / revolutionfuse_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <groupbox title="Revolution">
5     <sketch_launcher id="sketch"
6       label="Sketch"
7       icon=":icons/sketch.png"
8       tooltip="Create or edit a sketch">
9     </sketch_launcher>
10     <shape_selector id="axis_object"
11                     icon=":icons/axis.png"
12                     label="Axis"
13                     tooltip="Select an edge for axis"
14                     shape_types="edge"
15                     default="">
16       <validator id="GeomValidators_ShapeType" parameters="line"/>
17     </shape_selector>
18     <toolbox id="CreationMethod">
19       <box id="ByAngles" title="By angles" icon=":icons/angle_up.png">
20         <groupbox>
21           <doublevalue
22             id="to_angle"
23             label="Angle"
24             min="0"
25             step="1.0"
26             default="10"
27             icon=":icons/angle_up.png"
28             tooltip="Angle">
29           </doublevalue>
30         </groupbox>
31         <groupbox>
32           <doublevalue
33             id="from_angle"
34             label="Angle"
35             min="0"
36             step="1.0"
37             default="0"
38             icon=":icons/angle_down.png"
39             tooltip="Angle">
40           </doublevalue>
41         </groupbox>
42       </box>
43       <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted.png">
44         <groupbox title="To">
45           <shape_selector id="to_object"
46                           icon=":icons/plane_inverted.png"
47                           label="Plane face"
48                           tooltip="Select a planar face"
49                           shape_types="face"
50                           default="&lt;sketch&gt;">
51             <validator id="GeomValidators_Face" parameters="plane"/>
52           </shape_selector>
53           <doublevalue  id="to_offset" label="Offset"
54             min="0" step="1.0" default="0"
55             icon=":icons/angle_up.png"
56             tooltip="Offset">
57           </doublevalue>
58         </groupbox>
59         <groupbox title="From">
60           <shape_selector id="from_object"
61                           icon=":icons/plane.png"
62                           label="Plane face"
63                           tooltip="Select a planar face"
64                           shape_types="face"
65                           default="&lt;sketch&gt;">
66             <validator id="GeomValidators_Face" parameters="plane"/>
67           </shape_selector>
68           <doublevalue id="from_offset" label="Offset"
69             min="0" step="1.0" default="0"
70             icon=":icons/angle_down.png"
71             tooltip="Offset">
72           </doublevalue>
73         </groupbox>
74       </box>
75     </toolbox>
76   </groupbox>
77   <multi_selector id="boolean_objects"
78     label="Fuse with:"
79     icon=":icons/cut_shape.png"
80     tooltip="Objects to Fuse"
81     type_choice="Solids"
82     concealment="true">
83   </multi_selector>
84   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
85 </source>