Salome HOME
Fix for formula definition with '=' in an integer widget
[modules/shaper.git] / src / PrimitivesPlugin / box_widget.xml
index 4ec2cda6759fb69721f6a512d068d40cd95e0b55..8915fbc197c1edfeae5b486c557b9b540f4e3f29 100644 (file)
@@ -1,4 +1,23 @@
-<!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
+<!--
+Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+See http:##www.salome-platform.org/ or
+email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+-->
 
 <source>
   <toolbox id="CreationMethod">
         label="DX"
         step="1.0"
         default="10.0"
-        min = "0.0"
         icon=""
         tooltip="Dimension in X">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
       <doublevalue
         id="dy"
         label="DY"
         step="1.0"
         default="10.0"
-        min = "0.0"
         icon=""
         tooltip="Dimension in Y">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
       <doublevalue
         id="dz"
         label="DZ"
         step="1.0"
         default="10.0"
-        min = "0.0"
         icon=""
         tooltip="Dimension in Z">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
     </box>
     <box id="BoxByTwoPoints" title="By two points" icon="icons/Primitives/box_2pt_32x32.png">
         icon="icons/Primitives/point.png"
         tooltip="Select a first point"
         shape_types="vertex">
-        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
       </shape_selector>
       <shape_selector id="SecondPoint"
         label="Second point"
         icon="icons/Primitives/point.png"
         tooltip="Select a second point"
         shape_types="vertex">
-        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
-        <validator id="GeomValidators_DifferentShapes"/>
       </shape_selector>
     </box>
   </toolbox>