From: sbh Date: Fri, 31 Oct 2014 13:39:04 +0000 (+0300) Subject: Import and Groups features: highlight only one control in the widget X-Git-Tag: V_0.5~44^2^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c4d160c28d08c0bb37ef0f3fc745e5644b86419;p=modules%2Fshaper.git Import and Groups features: highlight only one control in the widget --- diff --git a/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp b/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp index 36191b141..259560e38 100644 --- a/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp @@ -98,8 +98,8 @@ QWidget* ModuleBase_WidgetFileSelector::getControl() const QList ModuleBase_WidgetFileSelector::getControls() const { QList result; - QPushButton * aButton = myMainWidget->findChild(); - result << aButton; + //QPushButton * aButton = myMainWidget->findChild(); + //result << aButton; result << myPathField; return result; } diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 96f8241f9..514d67d23 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -131,7 +131,7 @@ QWidget* ModuleBase_WidgetMultiSelector::getControl() const QList ModuleBase_WidgetMultiSelector::getControls() const { QList result; - result << myTypeCombo; + //result << myTypeCombo; result << myListControl; return result; }