On 20/05/2025 10:26, Richard Gustavsen wrote:
Would it be more convenient to put the range API directly on QRangeModel 
instead? E.g:

QRangeModel model({1, 2, 3, 4, 5});
listView.setModel(&model);
model.erase(model.begin());
model[0] = x;
model.push_back(y);

Yes, this is an important question -- in order to understand the future of this API, and thus the name of 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

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