Salome HOME
Fix for the issue #2246 : Naming incorrect after translation.
[modules/shaper.git] / src / PrimitivesPlugin / cylinder_widget.xml
index a9469742e0a29fa630f499bff164638e34ca70c0..373bafb5f2a297d4a08a5e29fd19ef1cec793527 100644 (file)
@@ -1,4 +1,23 @@
-<!-- Copyright (C) 2014-201x 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="radius"
           step="1."
           default="5."
-          min="0."
           icon="icons/Primitives/radius.png"
           tooltip="Enter the radius of the cylinder">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
       <doublevalue
           id="height"
           label="height"
           step="1."
           default="10."
-          min="0."
           icon="icons/Primitives/dimension_v.png"
           tooltip="Enter the height of the cylinder">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
     </box>
     <box id="CylinderPortion" title="Portion of cylinder" icon="icons/Primitives/cylinder_portion_32x32.png">
           label="radius"
           step="1."
           default="5."
-          min="0."
           icon="icons/Primitives/radius.png"
           tooltip="Enter the radius of the cylinder">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
       <doublevalue
           id="height"
           label="height"
           step="1."
           default="10."
-          min="0."
           icon="icons/Primitives/dimension_v.png"
           tooltip="Enter the height of the cylinder">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
       <doublevalue
           id="angle"
           label="angle"
           step="10."
           default="45.0"
-          min="0."
-          max="360."
           icon="icons/Primitives/angle.png"
           tooltip="Enter the angle of the portion of the cylinder">
-        <validator id="GeomValidators_Positive"/>
       </doublevalue>
     </box>
   </toolbox>