]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/remove_subshapes_widget.xml
Salome HOME
Reverted some changes in salome build/run scripts.
[modules/shaper.git] / src / FeaturesPlugin / remove_subshapes_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   <shape_selector id="base_shape"
24                   label="Shape:"
25                   tooltip="Select a shape to modify."
26                   shape_types="objects"
27                   concealment="true"
28                   greed="true">
29     <validator id="GeomValidators_ShapeType" parameters="wire,shell,compsolid,compound"/>
30     <validator id="GeomValidators_BodyShapes" parameters="toplevel"/>
31   </shape_selector>
32   <toolbox id="creation_method">
33     <box id="by_remove_subshapes"
34      title="By removing sub-shapes"
35      icon="icons/Features/remove_subshapes_32x32.png">
36       <multi_selector id="subshapes_to_remove"
37                 label="Sub-Shapes to remove:"
38                 tooltip="Select shapes to remove."
39                 type_choice="vertices edges wires faces shells solids compsolids compounds"
40                 clear_in_neutral_point="false">
41         <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
42       </multi_selector>
43     </box>
44     <box id="by_keep_subshapes"
45      title="By keeping sub-shapes"
46      icon="icons/Features/keep_subshapes_32x32.png">
47       <multi_selector id="subshapes_to_keep"
48                 label="Sub-Shapes to keep:"
49                 tooltip="Select shapes to keep."
50                 type_choice="vertices edges wires faces shells solids compsolids compounds"
51                 clear_in_neutral_point="false">
52         <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
53       </multi_selector>
54     </box>
55   </toolbox>
56   <validator id="FeaturesPlugin_ValidatorRemoveSubShapesResult"/>
57 </source>