Results 1 to 5 of 5

Thread: How to delete item from QListView?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to delete item from QListView?

    Ehm, QTreeView with a QSqlTableModel or QSqlQueryModel. That's the standard case for them. Seriously, spend some time to read the parts about model and views at the docs. It might be difficult in the first place BUT it will save you a lot of pain in the a***!

    Use QTreeView!

  2. The following user says thank you to Lykurg for this useful post:

    damon_1990 (4th October 2011)

Similar Threads

  1. Replies: 1
    Last Post: 4th August 2011, 22:36
  2. Replies: 3
    Last Post: 21st July 2010, 07:40
  3. Delete item from QMap<int, QString> with shift
    By Usernаme in forum Newbie
    Replies: 1
    Last Post: 24th May 2010, 18:50
  4. How to use QMap::remove() to delete some item?
    By jedychen in forum Qt Programming
    Replies: 5
    Last Post: 18th September 2008, 07:29
  5. Replies: 5
    Last Post: 1st March 2007, 08:19

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