[Interest] DelegateModel: Dynamic Delegate Model groups

André Somers andre at familiesomers.nl
Tue Jul 26 16:22:39 CEST 2016

I'd just write my proxy model in C++ and be done with it.


Op 26/07/2016 om 15:46 schreef Jason H:
> I want to have groups corresponding to the equivalent of 'SELECT DISTINCT x' query. Then I want each item assigned to a group of it's value of x. For example:
> 'SELECT DISTINCT x' -> ['a', 'b', 'c']
> 'SELECT x,y' -> [ ['a', '1'], ['a','2'], ['b','3'], ['c', '4'], ['c','11'] ]
> Then I have 3 groups: a has 2, b has 1, c as 2, then I want to set filerOnGroup to one of the groups. Is there a way to do this?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list