QTreeWidgetItem::setCheckState
EDIT: Sorry,, didnt realise fast that it was header .
For that I guess you will need to subclass QHeaderView and implement your own checkbox.