PDA

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



tonnot
29th April 2011, 09:02
I have use the spinboxdelegate code example to applie in a custom table and model .
Just I use :

SpinBoxDelegate delegate;
tableView.setItemDelegate(&delegate);
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