Results 1 to 5 of 5

Thread: How do I show the drop indicator BETWEEN rows, not on them in QTreeView

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: How do I show the drop indicator BETWEEN rows, not on them in QTreeView

    With wysota's suggestion it would be this simple. Maybe not as pretty though.
    Attached Files Attached Files
    J-P Nurmi

  2. #2
    Join Date
    Feb 2011
    Posts
    354
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows
    Thanks
    17
    Thanked 27 Times in 24 Posts

    Default Re: How do I show the drop indicator BETWEEN rows, not on them in QTreeView

    It looks like the drop indicator is shown for only one column. In my application I need to move whole rows, so I'd like to show drop indicator as wide as the row. Is it possible?
    Last edited by mentalmushroom; 26th September 2011 at 13:19.

Similar Threads

  1. How to show progess in a QTreeView item ?
    By tanminh in forum Qt Programming
    Replies: 69
    Last Post: 3rd March 2008, 17:55
  2. Drag & drop items on the same QTreeView
    By wind in forum Qt Programming
    Replies: 2
    Last Post: 11th October 2006, 14:29
  3. drag and drop from QTreeView
    By Untersander in forum Qt Programming
    Replies: 1
    Last Post: 10th April 2006, 09:00
  4. [Qt 4.x] Highliting rows in a QTreeView
    By Moppel in forum Qt Programming
    Replies: 3
    Last Post: 10th March 2006, 10:00
  5. Drag & drop for QTreeView
    By yogeshm02 in forum Qt Programming
    Replies: 2
    Last Post: 30th January 2006, 14:32

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.