[Interest] Why do we have to wire up all the signals ourself in QAbstractProxyModel subclasses?

Philipp Kursawe phil.kursawe at gmail.com
Tue Nov 12 12:37:16 CET 2013


It seems a QAbstractProxyModel subclass is useless and not working properly
if you not connect all the source models signals as forwarding signals in
setModel().
I saw the QSortFilterProxyModel does all this connecting and disconnecting
too. Shouldn't this be in the QAPM class in the first place?
How are QAPM supposed to be used when everybody has to wire up the source
models signals in her QAPM subclass every time?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131112/eb5b3558/attachment.html>


More information about the Interest mailing list