Another option is using QStandardItem::setFlags() by which one can set different flags to individual items.