[Interest] Adding a QStyledDelegate to a tree view
andre at familiesomers.nl
Fri Feb 21 13:13:04 CET 2014
Graham Labdon schreef op 21-2-2014 12:51:
> I have a tree view that renders data contained in a class derived from QAbstractItemView, now I want to add a QStyledItemDelegate.
> So I call
> m_treeView->setItemDelegate(new SessionStyledDelegate(this));
> But none of the methods in my delegate get called.
> Is there anything else that I need to do?
> Interest mailing list
> Interest at qt-project.org
Are you use that you got the signatures of the methods you reimplemented
correct, including const-ness?
More information about the Interest