Salome HOME
Coincidence to rectangle macro feature: 1. Get point of sub-feature to set coincidenc...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetEditor.h
index 5f26a60cc1dae3b96841998102e6933eb81b719e..43d9c099b8421527768fa40848fba5a599d4ad7c 100644 (file)
@@ -43,8 +43,12 @@ Q_OBJECT
   /// \return the state whether the widget can accept the focus
   virtual bool focusTo();
 
-   /// Shous popup window under cursor for data editing
-   void showPopupEditor();
+  /// 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);
+
+  void setCursorPosition(const int theX, const int theY);
 
 private:
    void editedValue(double& outValue, QString& outText);
@@ -55,6 +59,8 @@ private:
 
    ///< the kinds of possible features
    QStringList myFeatureKinds;  
+
+   int myXPosition, myYPosition;
 };
 
 #endif