[Qt-interest] Why do Qt collection classes not offer signals and slots?
Alexandre Beraud
aberaud at infflux.com
Fri Dec 18 15:02:06 CET 2009
Hi,
Hendrik Fuß a écrit :
> You could just connect a
> list view to a QVector and get automatic updates. To me this looks like
> an interesting design perspective that does deserve consideration.
>
Il think that QList/QVector are just meant to be plain light and fast
container classes. If you must connect a list view to some data model
then QAbstractitemView's derivates are what you need, and such a
derivate will certainly store its data in a container like QList.
Regards,
Alex
--
Alexandre BERAUD
Ingénieur Développement
Infflux - Informatique & Flux
Tel: 01 49 57 92 00 - Fax : 01 49 57 92 01
Mail: aberaud at infflux.com
Visitez notre site : www.infflux.com
More information about the Qt-interest-old
mailing list