X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchCreator.h;h=9bcc8a67f3b9163a502caf953bc85439b080f69d;hb=020e7187ee88afbd18286f149536cdef61d9f61e;hp=80e45b496ffe85d3b688c6d7acff984c4de3ba4c;hpb=be98c135eadf34424cf100e3fdcedbeaca712885;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchCreator.h b/src/PartSet/PartSet_WidgetSketchCreator.h index 80e45b496..9bcc8a67f 100644 --- a/src/PartSet/PartSet_WidgetSketchCreator.h +++ b/src/PartSet/PartSet_WidgetSketchCreator.h @@ -29,8 +29,6 @@ Q_OBJECT virtual ~PartSet_WidgetSketchCreator(); - virtual bool restoreValue(); - /// Returns list of widget controls /// \return a control list virtual QList getControls() const; @@ -45,12 +43,16 @@ protected: /// \return True in success virtual bool storeValueCustom() const; + virtual bool restoreValueCustom(); + /// The methiod called when widget is activated virtual void activateCustom(); private slots: void onStarted(); + void onResumed(ModuleBase_Operation* theOp); + private: PartSet_Module* myModule; @@ -61,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