]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Show tool tip of shape multi selector. Remove an article.
authornds <nds@opencascade.com>
Mon, 28 Dec 2015 13:14:11 +0000 (16:14 +0300)
committernds <nds@opencascade.com>
Mon, 28 Dec 2015 13:14:11 +0000 (16:14 +0300)
src/FeaturesPlugin/boolean_widget.xml
src/FeaturesPlugin/partition_widget.xml
src/FeaturesPlugin/placement_widget.xml
src/FeaturesPlugin/rotation_widget.xml
src/FeaturesPlugin/translation_widget.xml
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp

index 8e6543d09ffcf4873e03000d86115cd26e2e5856..5e8996be5daf1ff3634147b8520d4d6b30786047 100644 (file)
@@ -13,7 +13,7 @@
   <multi_selector id="main_objects"
     label="Main objects"
     icon=""
-    tooltip="Select solid objects"
+    tooltip="Select solid objects"
     type_choice="Solids"
     concealment="true">
     <validator id="PartSet_DifferentObjects"/>
index 9f4cfe3bb6f3fe46f0c899d3604e52d5c44d6fb0..1cae4267d9bd5c345e6c9297ed8417c36dafd892 100755 (executable)
@@ -4,7 +4,7 @@
   <multi_selector id="main_objects"
     label="Main objects"
     icon=":icons/cut_shape.png"
-    tooltip="Select solid objects"
+    tooltip="Select solid objects"
     type_choice="Solids"
     concealment="true">
     <validator id="PartSet_DifferentObjects"/>
index 48dab601c4aa4d2adc96854353534e1ed455fc6d..75bbaf7a6c77a5a8b48d971dcfda21936b635bac 100644 (file)
@@ -2,9 +2,9 @@
 
 <source>
   <multi_selector id="placement_objects_list"
-    label="Select solid objects"
+    label="Select solid objects"
     icon=":icons/cut_shape.png"
-    tooltip="Select solid objects"
+    tooltip="Select solid objects"
     type_choice=""
     concealment="true" >
     <validator id="FeaturesPlugin_ValidatorTransform"/>
index f483a7403ba34bab03ae209bf19ebda01f0f70fb..002fbee48ff959bce4b1721975cbc43e2a559a32 100755 (executable)
@@ -4,7 +4,7 @@
   <multi_selector id="main_objects"
     label="Main objects"
     icon=":icons/cut_shape.png"
-    tooltip="Select solid objects"
+    tooltip="Select solid objects"
     type_choice="solid"
     use_choice="false"
     concealment="true">
index 41e53b00254a0db5f9bec353534630f9d780131c..2a1505aa0def90621cc9ed1f28090d5e53a4e005 100644 (file)
@@ -4,7 +4,7 @@
   <multi_selector id="main_objects"
     label="Main objects"
     icon=":icons/cut_shape.png"
-    tooltip="Select solid objects"
+    tooltip="Select solid objects"
     type_choice="solid"
     concealment="true">
     <validator id="FeaturesPlugin_ValidatorTransform"/>
index 40149e343af3eaa76486ab8e32c62541712a22ed..bb4ec7861b59d4fbab17a35f63aa69df0bbcddbf 100755 (executable)
@@ -124,9 +124,11 @@ ModuleBase_WidgetMultiSelector::ModuleBase_WidgetMultiSelector(QWidget* theParen
     aMainLay->setColumnStretch(2, 1);
   }
 
+  QString aToolTip = QString::fromStdString(theData->widgetTooltip());
   myListControl = new CustomListWidget(this);
   QString anObjName = QString::fromStdString(attributeID());
   myListControl->setObjectName(anObjName);
+  myListControl->setToolTip(aToolTip);
 
   aMainLay->addWidget(myListControl, 2, 0, 1, -1);
   aMainLay->setRowStretch(2, 1);