They're checkable items, sorry. The model's data() function returns Qt::IsUserCheckable for column 0 in the model.
I know how checkable items work in a QStandardItemModel, that is in fact exactly what I would like to achieve in my implementation. But that isn't how they are working.
I've attached the source of a simple implementation. You'll need CMake to build it.
Bookmarks