when you set data using Qt::CheckStateRole a checkbox will appear in item, but you also need to set flags as aamer4yu said.