- /// Creates an editor for the real value and set the new value to the feature
- /// \param theFeature the model feature
- /// \param theAttribute the feature attribute
- static void editFeatureValue(FeaturePtr theFeature, const std::string theAttribute);
+ /// 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);