Reimplement QTreeView::drawBranches() or QTreeView::drawRow().
Reimplement QTreeView::drawBranches() or QTreeView::drawRow().
ommharidaas (19th January 2012)
Query the model for it and/or use the information provided in QStyleOptionViewItem object.
ommharidaas (20th January 2012)
Wysota,
I could not find any information (methods that can be used) on QStyleOptionViewItem object. I guess its only meant for increasing the aesthetics of the widget. Please enlighten me with what all can be achieved with QStyleOptionViewItem object.
Though i was able to accomplish wat i was tryin to achieve... (Thnx to ur previous post).
Cheers to Qt!
Last edited by ommharidaas; 20th January 2012 at 09:02. Reason: updated contents
I don't think so. And please stop using this ugly large blue font in your posts.
ommharidaas (30th January 2012)
Bookmarks