Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFactory.h
index 1b9e031bf7fcad51a7de5b74c8abae0481181b10..43b8208b6596d3912f436ea914ded46e337e8ab5 100644 (file)
@@ -36,25 +36,24 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFactory
  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* featureSelectorControl(QWidget* theParent);
   QWidget* featureOrAttributeSelectorControl(QWidget* theParent);
   QWidget* doubleValueEditor(QWidget* theParent);
-  QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
-  QWidget* selectorControl(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);
 
-  /// Check whether the XML definition for the given type contains internal property
-  /// \param theType the widget type
-  /// \return the boolean result
-  bool isInternalWidget(const std::string& theType);
 
   QString qs(const std::string& theStdString) const;
+  void processAttributes();
 
  private:
   Config_WidgetAPI* myWidgetApi;