On 12/05/2025 09:53, Volker Hilsheimer wrote:
Would a simple

QRangeItemModel

be clear enough? The “Based” doesn’t seem to add a lot of clarity.

It does what it says, though. But before discussing this further...


Also, as discussed at Qt CS (and mentioned in the last point of the notes 
athttps://wiki.qt.io/QtCS25_-_QGenericItemModel):

I
  would like to come up with some C++ template class that gives type-safe
  access to the model while also respecting QAIM requirements, but
doesn’t require any usage of QModelIndex, role values etc. I suspect
that “Adaptor” will be a good term to use for such a class. Something
along the lines of:

... this is a more important issue. Is the above planned for QGenericItemModel itself, or would that be feature creep/out-of-scope and should be done by another class? If yes, what would QGIM role be if this other class gets also introduced?

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to