Salome HOME
High level objects history implementation for LinearCopy and AngularCopy features.
[modules/shaper.git] / src / FeaturesPlugin / multitranslation_widget.xml
1 <!--
2 Copyright (C) 2014-2017  CEA/DEN, EDF R&D
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
20 -->
21
22 <source>
23   <multi_selector id="main_objects"
24                   label="Main objects"
25                   icon=""
26                   tooltip="Select objects"
27                   type_choice="objects"
28                   concealment="true">
29     <validator id="FeaturesPlugin_ValidatorTransform"/>
30   </multi_selector>
31   <groupbox title="First direction">
32     <shape_selector id="axis_first_dir"
33                     icon="icons/Features/axis.png"
34                     label="Axis"
35                     tooltip="Select an edge for the first direction"
36                     shape_types="edge"
37                     default=""
38                     geometrical_selection="true">
39       <validator id="GeomValidators_ShapeType" parameters="line"/>
40     </shape_selector>
41     <doublevalue id="step_first_dir"
42                  label="Step"
43                  step="1.0"
44                  default="0"
45                  icon="icons/Features/dimension_v.png"
46                  tooltip="Step for the first direction">
47     </doublevalue>
48     <integervalue id="nb_first_dir"
49                   label="Nb copies"
50                   step="1"
51                   default="2"
52                   icon=""
53                   tooltip="Number of copies for the first direction">
54     </integervalue>
55   </groupbox>
56   <optionalbox id="use_second_dir" title="Second direction">
57     <shape_selector id="axis_second_dir"
58                     icon="icons/Features/axis.png"
59                     label="Axis"
60                     tooltip="Select an edge for the second direction"
61                     shape_types="edge"
62                     default=""
63                     geometrical_selection="true">
64       <validator id="GeomValidators_ShapeType" parameters="line"/>
65     </shape_selector>
66     <doublevalue id="step_second_dir"
67                  label="Step"
68                  step="1.0"
69                  default="0"
70                  icon="icons/Features/dimension_v.png"
71                  tooltip="Step for the second direction">
72     </doublevalue>
73     <integervalue id="nb_second_dir"
74                   label="Nb copies"
75                   step="1"
76                   default="2"
77                   icon=""
78                   tooltip="Number of copies for the second direction">
79     </integervalue>
80   </optionalbox>
81 </source>