]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
XML keywords for the spin box widgets corrected according to the latest spec:
authorsbh <sergey.belash@opencascade.com>
Thu, 10 Apr 2014 09:20:56 +0000 (13:20 +0400)
committersbh <sergey.belash@opencascade.com>
Thu, 10 Apr 2014 09:20:56 +0000 (13:20 +0400)
* value --> doublevalue
* type="double" removed

src/Config/Config_Keywords.h
src/Config/plugin-PartSet.xml

index bca951680913fdc4efe8b2b12b14d2ee29de58e2..bd589d92dab20109e74022d01f68748a90463289 100644 (file)
@@ -14,7 +14,7 @@
 const static char* NODE_WORKBENCH = "workbench";
 const static char* NODE_GROUP = "group";
 const static char* NODE_FEATURE = "feature";
-const static char* NODE_DOUBLE_WDG = "value";
+const static char* NODE_DOUBLE_WDG = "doublevalue";
 
 const static char* _ID = "id";
 //const static char* WORKBENCH_ID = "id";
index decbb89ef409d9429361c1e2e0b1034162b91805..d9795ad2c55e78292a86a314c67424d468c2117c 100644 (file)
@@ -9,11 +9,11 @@
   <workbench id="Construction">
     <group id="Basic">
       <feature id="Point" text="Point" tooltip="Create a new point" icon=":icons/point.png">
-        <value id="x" type="double" label="X:" min="0" max="" step="0.1" default="0" 
+        <doublevalue id="x" label="X:" min="0" max="" step="0.1" default="0" 
                icon=":pictures/x_point.png" tooltip="Set X"/>
-        <value id="y" type="double" label="Y:" min="0" max="" step="0.1" default="1" 
+        <doublevalue id="y" label="Y:" min="0" max="" step="0.1" default="1" 
                icon=":pictures/y_point.png" tooltip="Set Y"/>
-        <value id="z" type="double" label="Z:" min="0" max="10" step="0.1" default="2" 
+        <doublevalue id="z" label="Z:" min="0" max="10" step="0.1" default="2" 
                icon=":pictures/z_point.png" tooltip="Set Z"/>
       </feature>
       <feature id="Axis" text="Axis" tooltip="Create a new axis" icon=":icons/axis.png" keysequence=""/>