Introducing Homerun

Aurélien Gâteau agateau at kde.org
Wed Nov 14 14:56:00 UTC 2012


Le mercredi 14 novembre 2012 15:26:03 Marco Martin a écrit :
> On Wednesday 14 November 2012, Aurélien Gâteau wrote:
> > > if you need to be able to group by runners, add that to the existing
> > > implementation. how does the model in homerun facilitate grouping by
> > > runner?
> > 
> > In a scary way... you know how QML is not really handy to deal with tree
> > models: Homerun RunnerModel groups results by runner by exposing each
> > group
> > of runners as a submodel. Probably not the most elegant approach,
> > definitely not something I would like to publish in a stable API like
> > libplasma.
> 
> I see that listview has a section property that would be exactly what is
> needed, while gridview doesn't, meh

Agreed, I wish listview had a section property.

> in this case may be worth a proxymodel?

How would this proxymodel work?

Aurélien


More information about the Plasma-devel mailing list