Results 1 to 4 of 4

Thread: QTreeWidget selection

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Leiden, the Netherlands
    Posts
    43
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default QTreeWidget selection

    Hello,

    I want a QTreeWidget with multiple selection (with CTRL keys as QAbstractItemView::ExtendedSelection). Multiple selecting items should turn multiple items blue. Like the pic shown in this thread:
    http://www.qtcentre.org/forum/f-qt-p...low--2662.html

    Howver, I set my tree to Selection: QAbstractItemView::ExtendedSelection, SelectionBehavior to: QAbstractItemView::SelectRows

    First: I only see a rubberband around the selected column and second I cannot multiple select rows.

    What am I doing wrong?

    Arthur
    Last edited by Arthur; 9th March 2007 at 16:11.

Similar Threads

  1. [SOLVED] QTreeView drawing selection with icons
    By Timewarp in forum Qt Programming
    Replies: 7
    Last Post: 7th February 2013, 07:52
  2. Replies: 1
    Last Post: 8th March 2007, 10:12
  3. resizing a QTreeWidget
    By drhex in forum Qt Programming
    Replies: 6
    Last Post: 27th October 2006, 22:32
  4. CheckBox and selection in QTableView
    By Mike Krus in forum Qt Programming
    Replies: 1
    Last Post: 21st September 2006, 20:31
  5. QTreeWidget & QListWidget different selection
    By munna in forum Qt Programming
    Replies: 9
    Last Post: 21st July 2006, 06:50

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.