]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Bug #994: 'Distance' icon in 'Translation' property panel is not useful
authordbv <dbv@opencascade.com>
Wed, 16 Sep 2015 15:01:58 +0000 (18:01 +0300)
committerdbv <dbv@opencascade.com>
Wed, 16 Sep 2015 15:02:13 +0000 (18:02 +0300)
src/FeaturesPlugin/CMakeLists.txt
src/FeaturesPlugin/movement_widget.xml [deleted file]
src/FeaturesPlugin/plugin-Features.xml
src/FeaturesPlugin/translation_widget.xml [new file with mode: 0644]

index 52239b22af0b6d706d5fea0235d6eb5b52c37f78..7650ed84ffa183669a595c95410d833ed4571417 100644 (file)
@@ -59,7 +59,7 @@ SET(XML_RESOURCES
   revolutioncut_widget.xml
   revolutionfuse_widget.xml
   rotation_widget.xml
-  movement_widget.xml
+  translation_widget.xml
   boolean_widget.xml
   group_widget.xml
   partition_widget.xml
diff --git a/src/FeaturesPlugin/movement_widget.xml b/src/FeaturesPlugin/movement_widget.xml
deleted file mode 100644 (file)
index 7f1671d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-<source>
-  <multi_selector id="main_objects"
-    label="Main objects"
-    icon=":icons/cut_shape.png"
-    tooltip="Select a solid objects"
-    type_choice=""
-    concealment="true">
-  </multi_selector>
-  <shape_selector id="axis_object"
-                  icon=":icons/axis.png"
-                  label="Axis"
-                  tooltip="Select an edge for axis"
-                  shape_types="edge"
-                  default="">
-    <validator id="GeomValidators_ShapeType" parameters="line"/>
-  </shape_selector>
-  <doublevalue
-    id="distance"
-    label="Distance"
-    step="1.0"
-    default="0"
-    icon=":icons/radius.png"
-    tooltip="Distance">
-  </doublevalue>
-</source>
\ No newline at end of file
index 6e85d82de5a7bca5a80f53578905e1e4500930df..ba6bf0fb98e2b61941512fbcb2675651950ed783 100644 (file)
@@ -53,7 +53,7 @@
         <source path="placement_widget.xml"/>
       </feature>
       <feature id="Translation" title="Translation" tooltip="Perform translation of an objects along the axis to specified distance" icon=":icons/movement.png">
-        <source path="movement_widget.xml"/>
+        <source path="translation_widget.xml"/>
       </feature>
       <feature id="Rotation" title="Rotation" tooltip="Perform rotation of an objects around the axis to specified angle" icon=":icons/rotation.png">
         <source path="rotation_widget.xml"/>
diff --git a/src/FeaturesPlugin/translation_widget.xml b/src/FeaturesPlugin/translation_widget.xml
new file mode 100644 (file)
index 0000000..ad24f62
--- /dev/null
@@ -0,0 +1,27 @@
+<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
+<source>
+  <multi_selector id="main_objects"
+    label="Main objects"
+    icon=":icons/cut_shape.png"
+    tooltip="Select a solid objects"
+    type_choice=""
+    concealment="true">
+  </multi_selector>
+  <shape_selector id="axis_object"
+                  icon=":icons/axis.png"
+                  label="Axis"
+                  tooltip="Select an edge for axis"
+                  shape_types="edge"
+                  default="">
+    <validator id="GeomValidators_ShapeType" parameters="line"/>
+  </shape_selector>
+  <doublevalue
+    id="distance"
+    label="Distance"
+    step="1.0"
+    default="0"
+    icon=":icons/dimension_v.png"
+    tooltip="Distance">
+  </doublevalue>
+</source>
\ No newline at end of file