X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetEditor.h;h=43d9c099b8421527768fa40848fba5a599d4ad7c;hb=ced1c42d80f02b1efa749ecdf35e620dcca4d9cc;hp=8bdf6f9e1d3e43a6acd35f556265b72e22a458ce;hpb=5352bbb1915f98d1f02b1cb953a2de19b286a28c;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.h b/src/ModuleBase/ModuleBase_WidgetEditor.h index 8bdf6f9e1..43d9c099b 100644 --- a/src/ModuleBase/ModuleBase_WidgetEditor.h +++ b/src/ModuleBase/ModuleBase_WidgetEditor.h @@ -43,9 +43,15 @@ Q_OBJECT /// \return the state whether the widget can accept the focus virtual bool focusTo(); - private slots: - /// 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); private: ///< the current widget feature @@ -53,6 +59,8 @@ Q_OBJECT ///< the kinds of possible features QStringList myFeatureKinds; + + int myXPosition, myYPosition; }; #endif