Quote Originally Posted by aamer4yu View Post
You will need to save flags in your own defined role.
Thats how standard item does it. You can have a look at QStandardItem::setFlags code.
Yes i can save the flags but how to set them to QAbstractitemModel, which has not the similar interface to control the flags?