You dont need an editor for that. Basically your model should provide data for Qt::CheckStateRole.
Also you can refer QTreeWidgetItem::setCheckState how the checkbox it is implemented.
You dont need an editor for that. Basically your model should provide data for Qt::CheckStateRole.
Also you can refer QTreeWidgetItem::setCheckState how the checkbox it is implemented.
Bookmarks