Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / PartSet / PartSet_EditLine.h
index 1a7b5badd2baf1991032f54ee699bd44027f609d..f389a45f9ec5509aa1ea0b4cf3886f74d1313143 100644 (file)
@@ -31,15 +31,23 @@ public:
   /// \param theValue a value for the editor
   void start(const QPoint& thePoint, double theValue);
 
-  /// Returns the editor value
-  /// \return the real value
-  double getValue() const;
+  /// Checks whether the editor is started
+  /// \returns true if the editor is activated
+  bool isStarted() const;
+
+  /// Stop the editor, in other words hide it
+  void stop();
 
 signals:
   /// Signals about the editing stop
   /// \param theValue the editor value
   void stopped(double theValue);
 
+protected:
+  /// Returns the editor value
+  /// \return the real value
+  double getValue() const;
+
 protected slots:
   /// Slot to check the editing stop
   void onStopEditing();