If it doesn't have to be in the header you could let the first column show a checkbox by letting the model deliver values on requests for the Qt::CheckStateRole
Cheers,
_
If it doesn't have to be in the header you could let the first column show a checkbox by letting the model deliver values on requests for the Qt::CheckStateRole
Cheers,
_
thanx Anda, but it has to be the header.
Hmm.
You might have to derive your own subclass from QHeaderView and reimplement paintSection()
Cheers,
_
Bookmarks