Results 1 to 2 of 2

Thread: How to disable QWidget managing the mouse cursor shape?

  1. #1
    Join Date
    Feb 2011
    Posts
    4
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default How to disable QWidget managing the mouse cursor shape?

    I have an in-place activated Flash Player, which contents I draw to a QWidget. Sometimes, the Flash Player tries to change the default mouse cursor to a "hand" cursor. However, QWidget seems to change it back, so it is flickering. How can I disable this behavior? Or create a dumb QWidget that only provides a HWND doesn't do anything else (besides being possible to add to another QWidgets as a child?)

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to disable QWidget managing the mouse cursor shape?

    Have you tried QWidget::unsetCursor()?

Similar Threads

  1. Changing cursor shape
    By Odyseusz in forum Qt Programming
    Replies: 7
    Last Post: 22nd November 2011, 17:39
  2. Managing Widget (by mouse)
    By peace_comp in forum Newbie
    Replies: 1
    Last Post: 30th May 2011, 17:57
  3. Get QWidget pixel color below mouse Cursor
    By ^NyAw^ in forum Qt Programming
    Replies: 4
    Last Post: 24th May 2010, 18:17
  4. How to Disable or hide cursor from QWidget?
    By ashukla in forum Qt Programming
    Replies: 5
    Last Post: 17th October 2007, 15:42
  5. How to disable Mouse pointers on particular QWidget
    By rajeshs in forum Qt Programming
    Replies: 4
    Last Post: 1st July 2007, 18:05

Tags for this Thread

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.