Results 1 to 1 of 1

Thread: Itemdelegates basic question . My Table shows white-empty cells (data does not work)

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Itemdelegates basic question . My Table shows white-empty cells (data does not work)

    I have use the spinboxdelegate code example to applie in a custom table and model .
    Just I use :
    Qt Code:
    1. SpinBoxDelegate delegate;
    2. tableView.setItemDelegate(&delegate);
    To copy to clipboard, switch view to plain text mode 
    Ok, my table that worked fine now shows nothing (empty cells )
    What more I have to do ?
    I have reimplemented the model data, setdata, etc.

    The 'data' request is never rised when use the delegate

    Any quick idea ? I am reviewing the examples but neither use a custom widget extending a tableView (as is in this case).
    Thanks
    Last edited by tonnot; 29th April 2011 at 13:10.

Similar Threads

  1. basic C++ question
    By Maluko_Da_Tola in forum Newbie
    Replies: 3
    Last Post: 24th August 2010, 09:29
  2. very basic Qt/c++ question
    By Maluko_Da_Tola in forum Newbie
    Replies: 2
    Last Post: 25th July 2010, 15:02
  3. A few basic question
    By salmanmanekia in forum Newbie
    Replies: 12
    Last Post: 17th June 2010, 08:46
  4. Basic question
    By giacomelli.fabio in forum Newbie
    Replies: 4
    Last Post: 18th December 2009, 01:12
  5. Using QSA: A very basic question
    By yogeshm02 in forum Newbie
    Replies: 3
    Last Post: 26th January 2006, 08:34

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.