X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Tools.h;h=c8d3c6afa7655b63bd716ddafa9d2a5423342172;hb=31c4ff77330b870d466fbd6b38e1fa566600f79a;hp=7aa9f9d647ed3fb71fc71110976eb40b9eae6a1d;hpb=bf77656be8adb44ea166a982f3484ba499cb4c04;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Tools.h b/src/ModuleBase/ModuleBase_Tools.h index 7aa9f9d64..c8d3c6afa 100755 --- a/src/ModuleBase/ModuleBase_Tools.h +++ b/src/ModuleBase/ModuleBase_Tools.h @@ -55,6 +55,13 @@ MODULEBASE_EXPORT void activateWindow(QWidget* theWidget, const QString& theInfo */ MODULEBASE_EXPORT void setFocus(QWidget* theWidget, const QString& theInfo = QString()); + +//! Sets or removes the shadow effect to the widget +//! \param theWidget a widget to be styled +//! \param isSetEffect if true, the shadow effect is set, overwise cleared +//! \return resulting pixmap +MODULEBASE_EXPORT void setShadowEffect(QWidget* theWidget, const bool isSetEffect); + /** * \ingroup GUI * Methods to modify a resource pixmap