<SOLVED> Adding a QStyledDelegate to a tree view
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
But none of the methods in my delegate get called.
Is there anything else that I need to do?
Can you show your SessionStyledDelegate ?
What might happen is a method signature mismatch e.g. missing a const
That was the problem - missing const specifiers on overridden methods