Re: [Interest] Proxied view not updating live when source model does

2021-09-22 Thread Björn Schäpers
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

Re: [Interest] Proxied view not updating live when source model does

2021-09-22 Thread Murphy, Sean
> 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

Re: [Interest] Proxied view not updating live when source model does

2021-09-22 Thread Murphy, Sean
> > 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

[Interest] Proxied view not updating live when source model does

2021-09-20 Thread 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 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