Salome HOME
Compilation fix
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetEditor.h
index db9dd1cc422f65dbef5030a98a11c92daeadd860..d9c0671f7e3087e55ccd48cd0c29bb669faf5148 100644 (file)
@@ -44,12 +44,20 @@ Q_OBJECT
   /// Shous popup window under cursor for data editing
   /// \param theSendSignals a flag whether the signals should be sent or the value
   /// is to be applyed directly
-  void showPopupEditor(const bool theSendSignals = true);
+  /// \return true if the editor value is accepted
+  bool showPopupEditor(const bool theSendSignals = true);
 
+  /// Set current cursor position
+  /// \param theX the X coordinate
+  /// \param theY the Y coordinate
   void setCursorPosition(const int theX, const int theY);
 
 private:
-   void editedValue(double& outValue, QString& outText);
+  /// Show editor
+  /// \param theOutValue a result value
+  /// \param theOutText a result text
+  /// \return true if the editor value is accepted
+  bool editedValue(double& theOutValue, QString& theOutText);
 
  private:
    ///< the current widget feature