[Interest] Adding a QStyledDelegate to a tree view

Graham Labdon Graham.Labdon at avalonsciences.com
Fri Feb 21 12:51:39 CET 2014

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?

More information about the Interest mailing list