Salome HOME
Delete key regression corrections: in previous implementation sketch entities did...
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_WidgetMultiSelector.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_MULTI_SELECTOR_H_
8 #define SKETCHSHAPEPLUGIN_WIDGET_MULTI_SELECTOR_H_
9
10 #include <ModuleBase_WidgetMultiSelector.h>
11
12 class ModuleBase_IWorkshop;
13 class QWidget;
14
15 /*!
16  * \ingroup GUI
17  * Represent a property panel's list of ModuleBase_ModelWidgets.
18  */
19 class SketchShapePlugin_WidgetMultiSelector : public ModuleBase_WidgetMultiSelector
20 {
21   //Q_OBJECT
22 public:
23   /// Constructs a multi selector widget, which can not be highlighted itself,
24   /// the parent SketchShapePlugin_GroupBox is highlighted instead of it
25   SketchShapePlugin_WidgetMultiSelector(QWidget* theParent, ModuleBase_IWorkshop* theWorkshop,
26                                         const Config_WidgetAPI* theData,
27                                         const std::string& theParentId);
28   /// Destructs the page
29   virtual ~SketchShapePlugin_WidgetMultiSelector() {}
30
31   //! Switch On/Off highlighting of the widget
32   //! Set highlight to the parent group box if there is such parent
33   virtual void setHighlighted(bool isHighlighted);
34 };
35
36 #endif /* SKETCHSHAPEPLUGIN_PAGEGROUPBOX_H_ */