From e48efe1ec56a7d7e0d8a57fc05f8220b846ea995 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 28 Dec 2015 16:14:11 +0300 Subject: [PATCH] Show tool tip of shape multi selector. Remove an article. --- src/FeaturesPlugin/boolean_widget.xml | 2 +- src/FeaturesPlugin/partition_widget.xml | 2 +- src/FeaturesPlugin/placement_widget.xml | 4 ++-- src/FeaturesPlugin/rotation_widget.xml | 2 +- src/FeaturesPlugin/translation_widget.xml | 2 +- src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp | 2 ++ 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/FeaturesPlugin/boolean_widget.xml b/src/FeaturesPlugin/boolean_widget.xml index 8e6543d09..5e8996be5 100644 --- a/src/FeaturesPlugin/boolean_widget.xml +++ b/src/FeaturesPlugin/boolean_widget.xml @@ -13,7 +13,7 @@ diff --git a/src/FeaturesPlugin/partition_widget.xml b/src/FeaturesPlugin/partition_widget.xml index 9f4cfe3bb..1cae4267d 100755 --- a/src/FeaturesPlugin/partition_widget.xml +++ b/src/FeaturesPlugin/partition_widget.xml @@ -4,7 +4,7 @@ diff --git a/src/FeaturesPlugin/placement_widget.xml b/src/FeaturesPlugin/placement_widget.xml index 48dab601c..75bbaf7a6 100644 --- a/src/FeaturesPlugin/placement_widget.xml +++ b/src/FeaturesPlugin/placement_widget.xml @@ -2,9 +2,9 @@ diff --git a/src/FeaturesPlugin/rotation_widget.xml b/src/FeaturesPlugin/rotation_widget.xml index f483a7403..002fbee48 100755 --- a/src/FeaturesPlugin/rotation_widget.xml +++ b/src/FeaturesPlugin/rotation_widget.xml @@ -4,7 +4,7 @@ diff --git a/src/FeaturesPlugin/translation_widget.xml b/src/FeaturesPlugin/translation_widget.xml index 41e53b002..2a1505aa0 100644 --- a/src/FeaturesPlugin/translation_widget.xml +++ b/src/FeaturesPlugin/translation_widget.xml @@ -4,7 +4,7 @@ diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 40149e343..bb4ec7861 100755 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -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); -- 2.39.2