I have reviewed all the help related with delegates for table-model.
I see table.setitemdelegate() (and the itemdelegateforcolumn and itemdelegate for row).
If I use this approach, I need to set the data of items before the table was showed. ( as startdelegates does)
But this is a problem for me.
I have a custom tablemodel to retrieve data. I can detect the data request, but I dont know how to set the data for the delegate because the paint event of the delegates if triggered before any data request event...
How can I fix this problem ? I'd need a data - role request that lets me set the right data .
And I have a model that retrieves data from a internal store system designe to deal with ten of thousands rows of data.
All the examples I see has not custom tablemodel.... (the items are added to the tableview.... )
I need help on this..
Thanks.
Bookmarks