X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.h;h=ab7cd18eb35737396accc48f7e5b4be2a0cb4471;hb=6f31859c9897eacec13d3912e76f28b8b824ecf4;hp=0b26103a47bed65f9be334dd6d73b852dfe33b71;hpb=87aaa6244dbdd6e4fb6440d7516df672679f8701;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.h b/src/PartSet/PartSet_WidgetSketchLabel.h index 0b26103a4..ab7cd18eb 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.h +++ b/src/PartSet/PartSet_WidgetSketchLabel.h @@ -19,7 +19,7 @@ #include class QLabel; -class QTimer; +//class QTimer; class XGUI_OperationMgr; class XGUI_Workshop; class QCheckBox; @@ -97,7 +97,7 @@ protected: /// Fills the attribute with the value of the selected owner /// \param theOwner a selected owner - virtual bool setSelection(const Handle_SelectMgr_EntityOwner& theOwner); + virtual bool setSelectionCustom(const ModuleBase_ViewerPrs& thePrs); /// Saves the internal parameters to the given feature /// \return True in success @@ -110,11 +110,11 @@ protected: virtual void activateCustom(); private slots: - /// Slot on plane selection - void onPlaneSelected(); + /// Slot on change selection + void onSelectionChanged(); /// Set sketch specific mode of selection - void setSketchingMode(); + //void setSketchingMode(); private: /// Create preview of planes for sketch plane selection @@ -147,7 +147,7 @@ protected: AISObjectPtr myXYPlane; bool myPreviewDisplayed; - QTimer* mySelectionTimer; + //QTimer* mySelectionTimer; QCheckBox* myShowConstraints; };