[Interest] Best practice for sorting multiple (connected) QLists

André Somers andre at familiesomers.nl
Wed Nov 20 08:07:08 CET 2013


Guido Seifert schreef op 19-11-2013 22:15:
>> I think your problem is in your data structure. Instead of using
>> separate containers for each of the fields, you should use a single
>> container with all of the fields:
> Maybe. Another nice way is to drop the QList at all and use an in-memory
> sqlite database. Easily searched and sorted in any way one could wish.
Downsides: cluncky API and not type safe. Seems like a lot of overhead 
for such a simple task.

André




More information about the Interest mailing list