Salome HOME
SketchShapePlugin: checked group box/multi editor controls, which highlight the paren...
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_WidgetCheckGroupBox.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 // File:        SketchShapePlugin_PageGroupBox.h
4 // Created:     13 Dec 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #ifndef SKETCHSHAPEPLUGIN_WIDGET_CHECK_GROUP_BOX_H_
8 #define SKETCHSHAPEPLUGIN_WIDGET_CHECK_GROUP_BOX_H_
9
10 #include <ModuleBase_WidgetCheckGroupBox.h>
11
12 class QWidget;
13
14 /*!
15  * \ingroup GUI
16  * Represent a property panel's list of ModuleBase_ModelWidgets.
17  */
18 class SketchShapePlugin_WidgetCheckGroupBox : public ModuleBase_WidgetCheckGroupBox
19 {
20   //Q_OBJECT
21 public:
22   /// Constructs a page that looks like a QGroupBox
23   SketchShapePlugin_WidgetCheckGroupBox(QWidget* theParent, const Config_WidgetAPI* theData,
24                                  const std::string& theParentId);
25   /// Destructs the page
26   virtual ~SketchShapePlugin_WidgetCheckGroupBox() {}
27
28   //! Switch On/Off highlighting of the widget
29   //! Set highlight to the parent group box if there is such parent
30   virtual void setHighlighted(bool isHighlighted);
31 };
32
33 #endif /* SKETCHSHAPEPLUGIN_WIDGET_CHECK_GROUP_BOX_H_ */