kima
24th October 2008, 09:16
Hello!
Is it possible to set size of columns and rows from descendant of QAbstractItemModel?
I am trying to do this from data() when role=Qt::SizeHintRole passes. But it doesn't work. When I am doing the same from headerData() it sets correct height of header, but size of columns is being unchanged.
Thanks
Is it possible to set size of columns and rows from descendant of QAbstractItemModel?
I am trying to do this from data() when role=Qt::SizeHintRole passes. But it doesn't work. When I am doing the same from headerData() it sets correct height of header, but size of columns is being unchanged.
Thanks