]> SALOME platform Git repositories - modules/shaper.git/blob - src/PrimitivesPlugin/box_widget.xml
Salome HOME
Better management of errors.
[modules/shaper.git] / src / PrimitivesPlugin / box_widget.xml
1 <!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
2
3 <source>
4   <toolbox id="CreationMethod">
5     <box id="BoxByDimensions" title="By dimensions" icon="icons/Primitives/box_dxyz_32x32.png">
6       <doublevalue
7         id="dx"
8         label="DX"
9         step="1.0"
10         default="10.0"
11         icon=""
12         tooltip="Dimension in X">
13       </doublevalue>
14       <doublevalue
15         id="dy"
16         label="DY"
17         step="1.0"
18         default="10.0"
19         icon=""
20         tooltip="Dimension in Y">
21       </doublevalue>
22       <doublevalue
23         id="dz"
24         label="DZ"
25         step="1.0"
26         default="10.0"
27         icon=""
28         tooltip="Dimension in Z">
29       </doublevalue>
30     </box>
31     <box id="BoxByTwoPoints" title="By two points" icon="icons/Primitives/box_2pt_32x32.png">
32       <shape_selector id="FirstPoint"
33         label="First point"
34         icon="icons/Primitives/point.png"
35         tooltip="Select a first point"
36         shape_types="vertex">
37       </shape_selector>
38       <shape_selector id="SecondPoint"
39         label="Second point"
40         icon="icons/Primitives/point.png"
41         tooltip="Select a second point"
42         shape_types="vertex">
43       </shape_selector>
44     </box>
45   </toolbox>
46 </source>