I'm writing program for using with touchscreen and I need to hide the mouse pointer, when it is over my window.
May be I can set "Blank" cursor, but I've too much widgets on my form. May be there is some more correct solution?
I'm writing program for using with touchscreen and I need to hide the mouse pointer, when it is over my window.
May be I can set "Blank" cursor, but I've too much widgets on my form. May be there is some more correct solution?
What if you set setCursor(Qt::BitmapCursor) on the widget ??
Edit :
that doesnt work, just tried...
This works for me -
setCursor(QPixmap(1,1))
Last edited by aamer4yu; 22nd August 2008 at 18:17.
At the work this don't help me, but now at home I've tested this and all works fine... hmm... may be some bug in designer =/
setCursor(Qt::BlankCursor) works fine.
I'll test it at work some days later and post here. Thanks.
Bookmarks