QListView item with checkbox selection behavior
I'm adding checkbox items to a list view. Then when I change the check box indicator, the item row is not selected. And when I'm selection an item in the list, the check box indicator won't change. The checkbox indicator should be selected/deselected on item selection row, and checkbox indicator selection should set the item row selected. List view init: QListView *poListView = new QListView(this); // Create list view item model QStandardItemModel* poModel = new QStandardItemModel(poListView); QStandardItem *poListItem = new QStandardItem; // Checkable item poListItem->setCheckable( true ); //