Salome HOME
The obligatory and concealment attribute's properties now registers in model by speci...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFactory.h
index f8f67a6e4afb9b488cbeefdd150376d07f90120b..fd267d41801bd144d92aa5841b20f71ece86af69 100644 (file)
@@ -21,8 +21,9 @@ class ModuleBase_IWorkshop;
 
 class MODULEBASE_EXPORT ModuleBase_WidgetFactory
 {
-public:
-  ModuleBase_WidgetFactory(const std::string& theXmlRepresentation, ModuleBase_IWorkshop* theWorkshop);
+ public:
+  ModuleBase_WidgetFactory(const std::string& theXmlRepresentation,
+                           ModuleBase_IWorkshop* theWorkshop);
   virtual ~ModuleBase_WidgetFactory();
 
   void createWidget(QWidget* theParent);
@@ -32,24 +33,33 @@ public:
     return myModelWidgets;
   }
 
-protected:
+ protected:
   //Widgets
   QWidget* createWidgetByType(const std::string& theType, QWidget* theParent = NULL);
+  QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
   QWidget* labelControl(QWidget* theParent);
   QWidget* doubleSpinBoxControl(QWidget* theParent);
   QWidget* pointSelectorControl(QWidget* theParent);
-  QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
-  QWidget* selectorControl(QWidget* theParent);
+  QWidget* featureSelectorControl(QWidget* theParent);
+  QWidget* featureOrAttributeSelectorControl(QWidget* theParent);
+  QWidget* doubleValueEditor(QWidget* theParent);
+  QWidget* shapeSelectorControl(QWidget* theParent);
   QWidget* booleanControl(QWidget* theParent);
   QWidget* point2dDistanceControl(QWidget* theParent);
+  QWidget* fileSelectorControl(QWidget* theParent);
+  QWidget* choiceControl(QWidget* theParent);
+  QWidget* lineEditControl(QWidget* theParent);
+  QWidget* multiSelectorControl(QWidget* theParent);
+
 
   QString qs(const std::string& theStdString) const;
 
-private:
+ private:
   Config_WidgetAPI* myWidgetApi;
-  ModuleBase_IWorkshop*   myWorkshop;
+  ModuleBase_IWorkshop* myWorkshop;
 
   QList<ModuleBase_ModelWidget*> myModelWidgets;
+  std::string myParentId;
 };
 
 #endif /* ModuleBase_WidgetFactory_H_ */