X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetEditor.h;h=063dd2b2b33d56ddf980e940fadcb8662f0ecb55;hb=8cd56d486b6e96b8814002f9f0f4acadd6cea11b;hp=5f26a60cc1dae3b96841998102e6933eb81b719e;hpb=42985955d89fa845790a7e38609f5b6838285147;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.h b/src/ModuleBase/ModuleBase_WidgetEditor.h index 5f26a60cc..063dd2b2b 100644 --- a/src/ModuleBase/ModuleBase_WidgetEditor.h +++ b/src/ModuleBase/ModuleBase_WidgetEditor.h @@ -43,8 +43,15 @@ 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); + +//protected slots: + //void onEnterPressed(); private: void editedValue(double& outValue, QString& outText); @@ -55,6 +62,10 @@ private: ///< the kinds of possible features QStringList myFeatureKinds; + + //bool myIsEnterPressedEmitted; + + int myXPosition, myYPosition; }; #endif