Results 1 to 20 of 42

Thread: Hover and Highlight QTable and QTree Items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Hover and Highlight QTable and QTree Items

    Have you enabled mouse tracking on the viewport and also installed the event filter on the viewport?
    Qt Code:
    1. treeWidget->viewport()->setMouseTracking(true);
    2. treeWidget->viewport()->installEventFilter(this);
    To copy to clipboard, switch view to plain text mode 

    Edit: is the tree massive, containing huge amount of items in a complex hierarchy?
    Last edited by jpn; 12th May 2007 at 09:01.
    J-P Nurmi

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
  •  
Qt is a trademark of The Qt Company.