Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.8
-
None
-
-
877b29a78 (dev), 71cba1359 (6.8)
Description
QStandardItem *nameItem = new QStandardItem(item);
nameItem->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
nameItem->setData(Qt::Unchecked, Qt::CheckStateRole);
By adding checkable flag to the item, a checkbox will be shown in the view.
But the text and the checkbox are squeezed together in Windows11 style
vista style looks fine.