Hi, QGenericItemModel is a new API (TP?) in 6.10: https://doc-snapshots.qt.io/qt6-dev/qgenericitemmodel.html
In a nutshell, it's an adaptor that wraps a range and exposes it through the QAIM API. This allows to expose e.g. a std::vector<X> to the model/view framework without writing boilerplate.
The only issue I have is with the name. It doesn't really *say* anything about what it does. We also end up with having "Abstract" and "Generic" classes (confusion). I'd like not to repeat the precedent of "QStandardItemModel" (there's nothing _standard_ about it).
So, well before 6.10 freezes, can we discuss the possibility of renaming the class?
Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence
smime.p7s
Description: Firma crittografica S/MIME
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development