+ ModuleBase_WidgetFeature* aWidget =
+ new ModuleBase_WidgetFeature(theParent, myWidgetApi,myParentId);
+ myModelWidgets.append(aWidget);
+ return aWidget->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::featureOrAttributeSelectorControl(QWidget* theParent)
+{
+ ModuleBase_WidgetFeatureOrAttribute* aWidget =
+ new ModuleBase_WidgetFeatureOrAttribute(theParent, myWidgetApi, myParentId);
+ myModelWidgets.append(aWidget);
+ return aWidget->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::doubleValueEditor(QWidget* theParent)
+{
+ ModuleBase_WidgetEditor* aWidget =
+ new ModuleBase_WidgetEditor(theParent, myWidgetApi, myParentId);
+ myModelWidgets.append(aWidget);
+ return aWidget->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::shapeSelectorControl(QWidget* theParent)
+{
+ ModuleBase_WidgetShapeSelector* aSelector =
+ new ModuleBase_WidgetShapeSelector(theParent, myWorkshop, myWidgetApi, myParentId);
+ myModelWidgets.append(aSelector);
+ return aSelector->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::booleanControl(QWidget* theParent)
+{
+ ModuleBase_WidgetBoolValue* aBoolWgt =
+ new ModuleBase_WidgetBoolValue(theParent, myWidgetApi, myParentId);
+ myModelWidgets.append(aBoolWgt);
+ return aBoolWgt->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::point2dDistanceControl(QWidget* theParent)
+{
+ ModuleBase_WidgetPoint2dDistance* aDistWgt =
+ new ModuleBase_WidgetPoint2dDistance(theParent, myWidgetApi, myParentId);
+ myModelWidgets.append(aDistWgt);
+ return aDistWgt->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::fileSelectorControl(QWidget* theParent)
+{
+ ModuleBase_WidgetFileSelector* aFileSelectorWgt =
+ new ModuleBase_WidgetFileSelector(theParent, myWidgetApi, myParentId);
+ myModelWidgets.append(aFileSelectorWgt);
+ return aFileSelectorWgt->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::choiceControl(QWidget* theParent)
+{
+ ModuleBase_WidgetChoice* aChoiceWgt =
+ new ModuleBase_WidgetChoice(theParent, myWidgetApi,myParentId);
+ myModelWidgets.append(aChoiceWgt);
+ return aChoiceWgt->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::lineEditControl(QWidget* theParent)
+{
+ ModuleBase_WidgetLineEdit* aLineEditWgt =
+ new ModuleBase_WidgetLineEdit(theParent, myWidgetApi,myParentId);
+ myModelWidgets.append(aLineEditWgt);
+ return aLineEditWgt->getControl();
+}
+
+QWidget* ModuleBase_WidgetFactory::multiSelectorControl(QWidget* theParent)
+{
+ ModuleBase_WidgetMultiSelector* aMultiselectorWgt =
+ new ModuleBase_WidgetMultiSelector(theParent, myWorkshop, myWidgetApi,myParentId);
+ myModelWidgets.append(aMultiselectorWgt);
+ return aMultiselectorWgt->getControl();