/// Destructor
virtual ~ModuleBase_WidgetEditor();
- /// Set focus to the first control of the current widget. The focus policy of the control is checked.
+ /// Set focus to the first control of the current widget.
+ /// The focus policy of the control is checked.
/// If the widget has the NonFocus focus policy, it is skipped.
/// \return the state whether the widget can accept the focus
virtual bool focusTo();
/// \return true if the editor value is accepted
bool showPopupEditor(const bool theSendSignals = true);
+ /// Set current cursor position
+ /// \param theX the X coordinate
+ /// \param theY the Y coordinate
void setCursorPosition(const int theX, const int theY);
private:
private:
///< the current widget feature
- FeaturePtr myFeature;
+ FeaturePtr myFeature;
///< the kinds of possible features
- QStringList myFeatureKinds;
+ QStringList myFeatureKinds;
int myXPosition, myYPosition;
};