X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetEditor.h;h=43d9c099b8421527768fa40848fba5a599d4ad7c;hb=eef14b29d313b9dd16453d12f20aa02383ee139c;hp=f63ec0bcaf59762fdcd607280933c9c6a8db87dd;hpb=f34fba2433c87ccdf824df0dc8c34099054b1715;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.h b/src/ModuleBase/ModuleBase_WidgetEditor.h index f63ec0bca..43d9c099b 100644 --- a/src/ModuleBase/ModuleBase_WidgetEditor.h +++ b/src/ModuleBase/ModuleBase_WidgetEditor.h @@ -43,9 +43,12 @@ 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); @@ -56,6 +59,8 @@ private: ///< the kinds of possible features QStringList myFeatureKinds; + + int myXPosition, myYPosition; }; #endif