Results 1 to 10 of 10

Thread: TableView/Model Display Question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Apr 2010
    Posts
    769
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 94 Times in 86 Posts

    Default Re: TableView/Model Display Question

    All problems are now solved. I realized, after applying the last tip, that the data() function can also be called in an EditRole, which demands the return of the data in an editable form. Not doing this returns...nothing, so nothing is what replaces the cell's contents while editing.

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

    fede (15th March 2011)

Similar Threads

  1. QListView does not display its model
    By mtrpoland in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2008, 19:31
  2. Model display problem
    By gyre in forum Newbie
    Replies: 3
    Last Post: 31st December 2007, 13:46
  3. tableview model view problem
    By skuda in forum Qt Programming
    Replies: 5
    Last Post: 3rd December 2007, 14:02
  4. Replies: 1
    Last Post: 10th October 2007, 10:11
  5. Model-view: Display items in different ways
    By taboom in forum Qt Programming
    Replies: 3
    Last Post: 13th August 2007, 19:05

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.