1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
3 // File: ParametersPlugin_WidgetParamsMgr.h
4 // Created: 11 Apr 2016
5 // Author: Vitaly SMETANNIKOV
7 #ifndef ParametersPlugin_WidgetParamsMgr_H_
8 #define ParametersPlugin_WidgetParamsMgr_H_
10 #include <ModuleBase_ModelWidget.h>
16 * Represent a content of the property panel to show/modify parameters of some feature.
18 class ParametersPlugin_WidgetParamsMgr : public ModuleBase_ModelWidget
22 /// Constructs a model widget
23 ParametersPlugin_WidgetParamsMgr(QWidget* theParent, const Config_WidgetAPI* theData);
25 /// Destructs the model widget
26 virtual ~ParametersPlugin_WidgetParamsMgr() {}
28 /// Returns list of widget controls
29 /// \return a control list
30 virtual QList<QWidget*> getControls() const;
33 /// Saves the internal parameters to the given feature
34 /// \return True in success
35 virtual bool storeValueCustom() const;
37 /// Restore value from attribute data to the widget's control
38 virtual bool restoreValueCustom();