You emit dataChanged with the given role (which is Qt::EditRole), but not for
Qt::DisplayRole. Is it that?
Regards,
Björn.
Am 20.09.2021 um 19:15 schrieb Murphy, Sean:
I'm having an issue where my proxy model and its associated view aren't
updating live when changes
are made in the source
> to both rowCount() and columnCount() removed those errors and now my
> application runs silently.
I should have explained better. It runs silently in the sense that
the QAbstractItemModelTester instances aren't printing out
any information any more.
The broken behavior still exists where the
> > have you run QAbstractItemModelTester
> > https://doc.qt.io/qt-6/qabstractitemmodeltester.html on the source
> > model and the proxy model?
Ok, I think I'm now using the tester, but I'm not sure I'm using it correctly.
After I've populated my base model, assigned it as the source model to
I'm having an issue where my proxy model and its associated view aren't
updating live when changes
are made in the source model.
My proxy model simply is attempting to invert the rows of the source model. So
it inherits from a
QSortFilterProxyModel and implements mapFromSource() and