Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1150 Tab buttons problems
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.h
b/src/ModuleBase/ModuleBase_WidgetEditor.h
index 8f494b366decf324104319c0fbc82f85658b219c..063dd2b2b33d56ddf980e940fadcb8662f0ecb55 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.h
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.h
@@
-43,11
+43,15
@@
Q_OBJECT
/// \return the state whether the widget can accept the focus
virtual bool focusTo();
/// \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);
-protected slots:
- void onKeyReleased(QKeyEvent* theEvent);
+ void setCursorPosition(const int theX, const int theY);
+
+//protected slots:
+ //void onEnterPressed();
private:
void editedValue(double& outValue, QString& outText);
private:
void editedValue(double& outValue, QString& outText);
@@
-59,7
+63,9
@@
private:
///< the kinds of possible features
QStringList myFeatureKinds;
///< the kinds of possible features
QStringList myFeatureKinds;
- bool myIsKeyReleasedEmitted;
+ //bool myIsEnterPressedEmitted;
+
+ int myXPosition, myYPosition;
};
#endif
};
#endif