Qt-interest Archive, April 2008
Edit headers QTreeCiew
Message 1 in thread
Hi
I am trying to make my QTreeView's subclass headers editable. My header's
data are set through a QStringList and
the headerData(int section, Qt::Orientation, int role = Qt::DisplayRole)
dunction. I have reimplemented
*setHeaderData( int section, Qt::Orientation orientation, const QVariant &
value, int role = Qt::EditRole)*,
in order to make my model's headers editable.
Are there any other functions that should be reimplemented in my subclass?
Thanks in advance.
--
[ signature omitted ]