Salome HOME
SketchShapePlugin: checked group box/multi editor controls, which highlight the paren...
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index 7aa9f9d647ed3fb71fc71110976eb40b9eae6a1d..c8d3c6afa7655b63bd716ddafa9d2a5423342172 100755 (executable)
@@ -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