#include <iostream>
#endif
-ModuleBase_MetaWidget::ModuleBase_MetaWidget(const QString& theId,
- QWidget* theWrapped,
- boost::shared_ptr<ModelAPI_Feature> theFeature)
- : myId(theId), myWrappedWidget(theWrapped), myFeature(theFeature)
+ModuleBase_MetaWidget::ModuleBase_MetaWidget(QWidget* theWrapped)
+ : ModuleBase_ModelWidget(theWrapped->parent()),
+ myWrappedWidget(theWrapped)
{
}
}
-bool ModuleBase_MetaWidget::storeValue()
+bool ModuleBase_MetaWidget::storeValue(boost::shared_ptr<ModelAPI_Feature> theFeature)
{
#ifdef _DEBUG
std::cout << "ModuleBase_MetaWidget::storeValue"
return true;
}
-bool ModuleBase_MetaWidget::restoreValue()
+bool ModuleBase_MetaWidget::restoreValue(boost::shared_ptr<ModelAPI_Feature> theFeature)
{
#ifdef _DEBUG
std::cout << "ModuleBase_MetaWidget::restoreValue"