Hi,
I'm using an QAbstractItemModel to display data on a QML TreeView. I have a list of items for a particular column in the table.
I have saved those items in a QVariantList. Is it possible to display this on the UI as a ListView?
Qt Code:
{ if (!index.isValid()) DiffInfo* item = getItem(index); switch (role) { case ColumnRole: return item->rightColumn();//Return a QVariantList } }To copy to clipboard, switch view to plain text mode
Kindly advice
Bookmarks