X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchCreator.h;h=f92285d37c4ffd5354b088c56f92cf0f3fe1598b;hb=506a83727ca8f8297fc1dcdf4ea40d7865c35450;hp=adb5a92be5522520cf29992d1ecc9f36f14a9c03;hpb=9a7ff0679f4cd8c203f53a2187d47a008bbd11c6;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchCreator.h b/src/PartSet/PartSet_WidgetSketchCreator.h index adb5a92be..f92285d37 100644 --- a/src/PartSet/PartSet_WidgetSketchCreator.h +++ b/src/PartSet/PartSet_WidgetSketchCreator.h @@ -16,12 +16,21 @@ class QLineEdit; class PartSet_Module; class ModuleBase_Operation; + +/** +* \ingroup Modules +* A widget which allow creation of a sketch in another operation. +* It creates sketch on aqctivation of this widget. If sketch object is already created then +* it will transfer a focus to next widget. It is supposed that the widget will be placed as +* a first widget in property panel +*/ class PARTSET_EXPORT PartSet_WidgetSketchCreator : public ModuleBase_ModelWidget { Q_OBJECT public: /// Constructor /// \param theParent the parent object + /// \param theModule a reference to a module object /// \param theData the widget configuation. The attribute of the model widget is obtained from /// \param theParentId is Id of a parent of the current attribute PartSet_WidgetSketchCreator(QWidget* theParent, PartSet_Module* theModule, @@ -63,6 +72,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