Salome HOME
Issue #1057: Update title of property panel on operation type change
[modules/shaper.git] / src / PartSet / PartSet_WidgetChoice.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        PartSet_WidgetChoice.h
4 // Created:     17 Nov 2015
5 // Author:      Vitaly Smetannikov
6
7 #ifndef PartSet_WidgetChoice_H
8 #define PartSet_WidgetChoice_H
9
10 #include "PartSet.h"
11 #include <ModuleBase_WidgetChoice.h>
12
13 /**
14 * \ingroup GUI
15 * Implementation of a proxy of choice widget in order to geat access to it on moment 
16 * of creation in module
17 */
18 class PARTSET_EXPORT PartSet_WidgetChoice : public ModuleBase_WidgetChoice
19 {
20 Q_OBJECT
21  public:
22   /// Constructor
23   /// \param theParent the parent object
24   /// \param theData the widget configuation. The attribute of the model widget is obtained from
25   /// \param theParentId is Id of a parent of the current attribute
26   PartSet_WidgetChoice(QWidget* theParent, const Config_WidgetAPI* theData, 
27     const std::string& theParentId) 
28     : ModuleBase_WidgetChoice(theParent, theData, theParentId) {}
29 };
30
31 #endif