Salome HOME
Merge remote-tracking branch 'remotes/origin/Dev_UnitTestsForFill'
[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       <validator id="GeomValidators_ShapeType" parameters="line"/>
39     </shape_selector>
40     <doublevalue id="step_first_dir"
41                  label="Step"
42                  step="1.0"
43                  default="0"
44                  icon="icons/Features/dimension_v.png"
45                  tooltip="Step for the first direction">
46     </doublevalue>
47     <integervalue id="nb_first_dir"
48                   label="Nb copies"
49                   step="1"
50                   default="2"
51                   icon=""
52                   tooltip="Number of copies for the first direction">
53     </integervalue>
54   </groupbox>
55   <optionalbox id="use_second_dir" title="Second direction">
56     <shape_selector id="axis_second_dir"
57                     icon="icons/Features/axis.png"
58                     label="Axis"
59                     tooltip="Select an edge for the second direction"
60                     shape_types="edge"
61                     default="">
62       <validator id="GeomValidators_ShapeType" parameters="line"/>
63     </shape_selector>
64     <doublevalue id="step_second_dir"
65                  label="Step"
66                  step="1.0"
67                  default="0"
68                  icon="icons/Features/dimension_v.png"
69                  tooltip="Step for the second direction">
70     </doublevalue>
71     <integervalue id="nb_second_dir"
72                   label="Nb copies"
73                   step="1"
74                   default="2"
75                   icon=""
76                   tooltip="Number of copies for the second direction">
77     </integervalue>
78   </optionalbox>
79 </source>