Salome HOME
It corrects the validator parameter from the entrity to viewerprs in order to validat...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 0b26103a47bed65f9be334dd6d73b852dfe33b71..ab7cd18eb35737396accc48f7e5b4be2a0cb4471 100644 (file)
@@ -19,7 +19,7 @@
 #include <TopoDS_Shape.hxx>
 
 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;
 };