Results 1 to 2 of 2

Thread: How to hide mouse cursor

  1. #1
    Join Date
    Mar 2007
    Posts
    19
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Question How to hide mouse cursor

    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

  2. #2
    Join Date
    Feb 2007
    Posts
    16
    Thanks
    1
    Platforms
    Windows

    Default Re: How to hide mouse cursor

    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.

    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.
    Last edited by giverson; 23rd March 2007 at 17:58.

Similar Threads

  1. Game mouse movement
    By chaosgeorge in forum Qt Programming
    Replies: 1
    Last Post: 2nd December 2006, 23:41
  2. mouse moving don't produce mouse events
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2006, 06:13
  3. Replies: 7
    Last Post: 8th September 2006, 16:19
  4. Replies: 2
    Last Post: 24th July 2006, 18:36
  5. QStackerWidget and mouse events
    By high_flyer in forum Qt Programming
    Replies: 3
    Last Post: 25th April 2006, 19:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.