Thank you for the tips. Got the checkboxes working.
--
Mike Jackson
On 5/4/22, 10:06 AM, "Interest on behalf of Tony Rietwyk"
wrote:
On 4/05/2022 11:43 pm, Michael Jackson wrote:
> ...
> Now on to figure out how to display checkboxes next to each item. I've
tried:
>
> Qt:
On 4/05/2022 11:43 pm, Michael Jackson wrote:
...
Now on to figure out how to display checkboxes next to each item. I've tried:
Qt::ItemFlags ImportDataStructureModel::flags(const QModelIndex& index) const
{
if(!index.isValid())
{
return {};
}
return Qt::ItemIsUserCheckable | Qt
t on it?
Scott
From: Interest On Behalf Of Michael Jackson
Sent: Tuesday, May 3, 2022 12:57 PM
To: Qt Interest List
Subject: [Interest] QColumnView and QTreeView using same model
I have a custom QAbstractItemModel implementation that works correctly when
using a QTreeView, i.e., I can open t
t;
wrote:
Have you run the modeltest on it?
Scott
From: Interest On Behalf Of Michael Jackson
Sent: Tuesday, May 3, 2022 12:57 PM
To: Qt Interest List
Subject: [Interest] QColumnView and QTreeView using same model
I have a custom QAbstractItemModel implementation that works correctly when
u
Behalf Of Michael Jackson
Sent: Tuesday, May 3, 2022 12:57 PM
To: Qt Interest List
Subject: [Interest] QColumnView and QTreeView using same model
I have a custom QAbstractItemModel implementation that works correctly when
using a QTreeView, i.e., I can open the complete hierarchy of the tree wi
Have you run the modeltest on it?
Scott
From: Interest On Behalf Of Michael Jackson
Sent: Tuesday, May 3, 2022 12:57 PM
To: Qt Interest List
Subject: [Interest] QColumnView and QTreeView using same model
I have a custom QAbstractItemModel implementation that works correctly when
using a
I have a custom QAbstractItemModel implementation that works correctly when
using a QTreeView, i.e., I can open the complete hierarchy of the tree without
any issues. I switched up to the QColumnView due to size constraints and now
using the same exact instance of the model I can only navigate i