I am using Qt 4.1's QTreeView. I don't want the text to ellide and hence want to increase the row height based on the text.
In order to do this i am implementing the sizeHint() of QAbstractItemDelgate(), but in this function option.rect.width() return 0. Why is this so?
Bookmarks