Salome HOME
Update copyrights
[modules/shaper.git] / src / PrimitivesPlugin / box_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="BoxByDimensions" title="By dimensions" icon="icons/Primitives/box_dxyz_32x32.png">
4       <doublevalue
5         id="dx"
6         label="DX"
7         step="1.0"
8         default="10.0"
9         icon=""
10         tooltip="Dimension in X">
11       </doublevalue>
12       <doublevalue
13         id="dy"
14         label="DY"
15         step="1.0"
16         default="10.0"
17         icon=""
18         tooltip="Dimension in Y">
19       </doublevalue>
20       <doublevalue
21         id="dz"
22         label="DZ"
23         step="1.0"
24         default="10.0"
25         icon=""
26         tooltip="Dimension in Z">
27       </doublevalue>
28     </box>
29     <box id="BoxByTwoPoints" title="By two points" icon="icons/Primitives/box_2pt_32x32.png">
30       <shape_selector id="FirstPoint"
31         label="First point"
32         icon="icons/Primitives/point.png"
33         tooltip="Select a first point"
34         shape_types="vertex">
35       </shape_selector>
36       <shape_selector id="SecondPoint"
37         label="Second point"
38         icon="icons/Primitives/point.png"
39         tooltip="Select a second point"
40         shape_types="vertex">
41       </shape_selector>
42     </box>
43   </toolbox>
44 </source>