]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_WidgetSketchLabel.h
Salome HOME
Issue #2927: Show/Hide markers on free points
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 4add82b00b9dae8e791c76e8f92e16956d01ee28..74a16f2248f33199e47f8d54c402636130499e05 100644 (file)
@@ -101,6 +101,10 @@ public:
   virtual void setHighlighted(bool) { /*do nothing*/ };
   virtual void enableFocusProcessing();
 
+  /// Set current state of show free points
+  /// \param theState a state of the corresponded check box
+  void setShowPointsState(bool theState);
+
   /// Returns True if the selected presentation can be used for plane definition
   /// \param thePrs a presentation
   static bool canFillSketch(const std::shared_ptr<ModuleBase_ViewerPrs>& thePrs);
@@ -114,6 +118,8 @@ signals:
   /// \param theState a state of the check box
   void showConstraintToggled(int theType, bool theState);
 
+  void showFreePoints(bool toShow);
+
 protected:
   /// Creates a backup of the current values of the attribute
   /// It should be realized in the specific widget because of different
@@ -216,6 +222,7 @@ private:
 
   QCheckBox* myViewInverted;
   QCheckBox* myRemoveExternal;
+  QCheckBox* myShowPoints;
 
   QMap<PartSet_Tools::ConstraintVisibleState, QCheckBox*> myShowConstraints;