Salome HOME
Update of icons
[modules/shaper.git] / src / FeaturesPlugin / revolutioncut_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_32x32.png">
20         <groupbox>
21           <doublevalue
22             id="to_angle"
23             label="Angle"
24             step="1.0"
25             default="0"
26             icon=":icons/angle_up.png"
27             tooltip="To angle">
28           </doublevalue>
29         </groupbox>
30         <groupbox>
31           <doublevalue
32             id="from_angle"
33             label="Angle"
34             step="1.0"
35             default="10"
36             icon=":icons/angle_down.png"
37             tooltip="From angle">
38           </doublevalue>
39         </groupbox>
40       </box>
41       <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
42         <groupbox title="To">
43           <shape_selector id="to_object"
44                           icon=":icons/plane_inverted.png"
45                           label="Plane face"
46                           tooltip="Bounding plane (select a planar face)"
47                           shape_types="face"
48                           default="&lt;sketch&gt;">
49             <validator id="GeomValidators_Face" parameters="plane"/>
50           </shape_selector>
51           <doublevalue  id="to_offset" label="Offset"
52             step="1.0" default="0"
53             icon=":icons/angle_up.png"
54             tooltip="Offset for bounding plane">
55           </doublevalue>
56         </groupbox>
57         <groupbox title="From">
58           <shape_selector id="from_object"
59                           icon=":icons/plane.png"
60                           label="Plane face"
61                           tooltip="Bounding plane (select a planar face)"
62                           shape_types="face"
63                           default="&lt;sketch&gt;">
64             <validator id="GeomValidators_Face" parameters="plane"/>
65           </shape_selector>
66           <doublevalue id="from_offset" label="Offset"
67             step="1.0" default="0"
68             icon=":icons/angle_down.png"
69             tooltip="Offset for bounding plane">
70           </doublevalue>
71         </groupbox>
72       </box>
73     </toolbox>
74   </groupbox>
75   <multi_selector id="boolean_objects"
76     label="Cut from:"
77     icon=":icons/cut_shape.png"
78     tooltip="Objects to Cut"
79     type_choice="Solids"
80     concealment="true">
81     <validator id="GeomValidators_ShapeType" parameters="solid"/>
82   </multi_selector>
83   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
84 </source>