QTableView + Custom Model + Custom Delegate
I have such problem - if i set column width or resizecolumnstocontent then i cant add new items to the tabel. they are added to the model, but paint method is not called. I tried to reinplement SizeHint for delegate and to return sizehintrole for items in model.
Hi and welcome to devnet,
Your description is a bit vague. Can you share your code so we can take look at it ?
It was solved by adding begininsertcolumns