PDA

View Full Version : How to hide mouse cursor



kiransu123
23rd March 2007, 17:34
hi i am displaying image as full screen and i dont want the mouse cursor to be shown
is there any way to hide mouse cursor

giverson
23rd March 2007, 17:52
in 4.2, you can use the QCursor class (http://doc.trolltech.com/4.2/qcursor.html).

Customize a mouse cursor to just be a blank cursor. Not sure if there's a way to flat out hide it but you can make it display as nothing. :rolleyes:

Not sure if this works in QT3, though.

Edit:

Looked under the 3.3 docs and found this...

http://doc.trolltech.com/3.3/qcursor.html

Apparently, the QT3 version has a blank cursor already defined. Doesn't look like QT4.2 does.