Salome HOME
refs #836: the icons of extrusion options with size 32x32
[modules/shaper.git] / src / FeaturesPlugin / extrusion_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <multi_selector id="base"
5     label="Select a sketch face"
6     icon=":icons/sketch.png"
7     tooltip="Select a sketch face"
8     type_choice="Faces">
9     <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
10   </multi_selector>
11   <toolbox id="CreationMethod">
12     <box id="BySizes" title="By sizes" icon=":icons/dimension_up_32x32.png">
13       <groupbox>
14         <doublevalue
15           id="to_size"
16           label="Size"
17           step="1.0"
18           default="10"
19           icon=":icons/dimension_up.png"
20           tooltip="Size">
21         </doublevalue>
22       </groupbox>
23       <groupbox>
24         <doublevalue
25           id="from_size"
26           label="Size"
27           step="1.0"
28           default="0"
29           icon=":icons/dimension_down.png"
30           tooltip="Size">
31         </doublevalue>
32       </groupbox>
33     </box>
34     <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
35       <groupbox title="To">
36         <shape_selector id="to_object"
37                         icon=":icons/plane_inverted.png"
38                         label="Plane face"
39                         tooltip="Select a planar face"
40                         shape_types="face"
41                         default="&lt;base sketch&gt;">
42           <validator id="GeomValidators_Face" parameters="plane"/>
43         </shape_selector>
44         <doublevalue
45           id="to_offset"
46           label="Offset"
47           step="1.0"
48           default="0"
49           icon=":icons/dimension_up.png"
50           tooltip="Offset">
51         </doublevalue>
52       </groupbox>
53       <groupbox title="From">
54         <shape_selector id="from_object"
55                         icon=":icons/plane.png"
56                         label="Plane face"
57                         tooltip="Select a planar face"
58                         shape_types="face"
59                         default="&lt;base sketch&gt;">
60           <validator id="GeomValidators_Face" parameters="plane"/>
61         </shape_selector>
62         <doublevalue
63           id="from_offset"
64           label="Offset"
65           step="1.0"
66           default="0"
67           icon=":icons/dimension_down.png"
68           tooltip="Offset">
69         </doublevalue>
70       </groupbox>
71     </box>    
72   </toolbox>
73   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
74 </source>