2 * ModuleBase_IModelWidget.h
4 * Created on: Apr 30, 2014
8 #ifndef MODULEBASE_METAWIDGET_H_
9 #define MODULEBASE_METAWIDGET_H_
11 #include <ModuleBase_IModelWidget.h>
12 #include <ModuleBase.h>
14 #include <ModelAPI_Feature.h>
19 #include <boost/shared_ptr.hpp>
24 class ModuleBase_MetaWidget : public ModuleBase_IModelWidget
27 MODULEBASE_EXPORT ModuleBase_MetaWidget(const QString& theId,
29 boost::shared_ptr<ModelAPI_Feature>);
30 virtual ~ModuleBase_MetaWidget();
31 //! Interface for saving widget's data into the data model
32 MODULEBASE_EXPORT virtual bool storeValue();
33 //! Interface for loading widget's data from the data model
34 MODULEBASE_EXPORT virtual bool restoreValue();
38 QWidget* myWrappedWidget;
39 boost::shared_ptr<ModelAPI_Feature> myFeature;
42 #endif /* MODULEBASE_METAWIDGET_H_ */