Re: How to move the mouse ?
Hello!
Did you try this method?
Code:
void QCursor::setPos ( int x,
int y
) [static]
Re: How to move the mouse ?
No, I did not. But yes, this will work. The only pitfall is that the set cursor position will be interpreted as a global point. But it should be possible to map from widget coordinates to global ones.
Thanks.
Re: How to move the mouse ?
You're welcome!
Quote:
Originally Posted by
shad0w
But it should be possible to map from widget coordinates to global ones.
Yes, it will be possible with QWidget::map* methods