1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #include "SketchShapePlugin_WidgetCreator.h"
4 #include "SketchShapePlugin_PageGroupBox.h"
6 SketchShapePlugin_WidgetCreator::SketchShapePlugin_WidgetCreator()
7 : ModuleBase_IWidgetCreator()
9 myTypes.insert("sketchshape_groupbox");
12 const std::set<std::string>& SketchShapePlugin_WidgetCreator::widgetTypes()
17 ModuleBase_ModelWidget* SketchShapePlugin_WidgetCreator::createWidgetByType(
18 const std::string& theType, QWidget* theParent)
20 ModuleBase_ModelWidget* aWidget = 0;
21 if (myTypes.find(theType) != myTypes.end())
24 if (theType == "sketchshape_groupbox") {
26 new SketchShapePlugin_PageGroupBox(theParent);