Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetShapeSelector.h
index bf9cb955f6d144316d485a2ec6beb9d492195bec..7d0a453f6931e4c25646fd6aac9bc739c57e5942 100644 (file)
@@ -27,6 +27,8 @@ class MODULEBASE_EXPORT ModuleBase_WidgetShapeSelector : public ModuleBase_Model
 {
 Q_OBJECT
  public:
+  static TopAbs_ShapeEnum shapeType(const QString& theType);
+
   ModuleBase_WidgetShapeSelector(QWidget* theParent, ModuleBase_IWorkshop* theWorkshop,
                             const Config_WidgetAPI* theData, const std::string& theParentId);
 
@@ -81,8 +83,6 @@ private:
   // Set the given object as a value of the widget
   void setObject(ObjectPtr theObj, boost::shared_ptr<GeomAPI_Shape> theShape = boost::shared_ptr<GeomAPI_Shape>());
 
-  static TopAbs_ShapeEnum shapeType(const QString& theType);
-
   QWidget* myContainer;
   QLabel* myLabel;
   QLineEdit* myTextLine;