Results 1 to 2 of 2

Thread: Get rid empty row in QTreeWidget after item delete

  1. #1
    Join Date
    Oct 2014
    Location
    Cameroon
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Get rid empty row in QTreeWidget after item delete

    I have created a QTreeWidget with Qt Creator and filled it.

    When i delete an item from the tree,an empty row moves down to the end of the tree. When i then add and item to the tree, the item adds below the empty row.

    How do i get rid of this empty row?

  2. #2
    Join Date
    Feb 2012
    Location
    Warsaw, Poland
    Posts
    37
    Thanks
    3
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Get rid empty row in QTreeWidget after item delete

    Show the code of "i delete an item from the tree"

Similar Threads

  1. Replies: 0
    Last Post: 21st October 2013, 10:16
  2. Delete a subtree in QTreeWidget
    By Suppaman in forum Qt Programming
    Replies: 2
    Last Post: 31st May 2011, 03:17
  3. Replies: 4
    Last Post: 8th April 2011, 21:59
  4. Replies: 2
    Last Post: 8th October 2010, 18:12
  5. Replies: 4
    Last Post: 16th January 2010, 11:08

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.