Results 1 to 3 of 3

Thread: QListView nonstandard use problem (use different model problem)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: QListView nonstandard use problem (use different model problem)

    setIndexWidget() will delete the widget already set on the index, so setting a checkbox will first delete the exisiting widget. Storing the widgets in lvcheck and lvradio are no more valid (already deleted)
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

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

    mars_tl (2nd July 2013)

Similar Threads

  1. Replies: 4
    Last Post: 18th April 2012, 18:11
  2. problem with QListView
    By penny in forum Newbie
    Replies: 6
    Last Post: 3rd January 2011, 21:34
  3. QListview Problem
    By grsandeep85 in forum Qt Programming
    Replies: 0
    Last Post: 17th August 2009, 10:55
  4. QlistView problem
    By grsandeep85 in forum Qt Programming
    Replies: 0
    Last Post: 7th August 2009, 06:19
  5. Problem with doubleClicked in QListView with Qt 4.2.2
    By gauravagarwal in forum Qt Programming
    Replies: 1
    Last Post: 3rd May 2007, 10:28

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.