Salome HOME
Validator for partition
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchCreator.h
index d90e4d7ce515aba1fdc3fb13a89f981d648b92b3..9bcc8a67f3b9163a502caf953bc85439b080f69d 100644 (file)
@@ -29,8 +29,6 @@ Q_OBJECT
 
   virtual ~PartSet_WidgetSketchCreator();
 
-  virtual bool restoreValue();
-
   /// Returns list of widget controls
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
@@ -45,6 +43,8 @@ protected:
   /// \return True in success
   virtual bool storeValueCustom() const;
 
+  virtual bool restoreValueCustom();
+
   /// The methiod called when widget is activated
   virtual void activateCustom();
 
@@ -63,6 +63,9 @@ private:
   /// Input control of the widget
   QLineEdit* myTextLine;
 
+  /// To check if we need to use body for composite feature or not
+  bool myUseBody;
+
 };
 
 #endif
\ No newline at end of file