Results 1 to 2 of 2

Thread: mouseover and views

  1. #1
    Join Date
    Jun 2011
    Posts
    56
    Thanks
    7
    Qt products
    Qt4

    Default mouseover and views

    Is it possible to convince the QTreeView and other Q*Views not to generate repaints for mouseovers? I figure one could block those repaints in the delegate, but maybe there's a smarter solution?

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: mouseover and views

    You could filter mouseMoveEvent to the Q*View, this way you can avoid paintEvent for mouse move

Similar Threads

  1. mouseOver Label
    By eLancaster in forum Newbie
    Replies: 10
    Last Post: 1st February 2011, 07:36
  2. Replies: 7
    Last Post: 24th May 2009, 13:58
  3. QT3: mouseover effect in QListViewItem
    By karye in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2006, 12:44
  4. Mouseover signal on QAction
    By manhds in forum Qt Programming
    Replies: 14
    Last Post: 21st March 2006, 03:24
  5. Mouseover event on QPushButton
    By Twey in forum Newbie
    Replies: 2
    Last Post: 13th January 2006, 18:45

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.