[Qt-interest] Why do Qt collection classes not offer signals and slots?

Andreas Pakulat apaku at gmx.de
Fri Dec 18 15:58:19 CET 2009


On 18.12.09 14:34:53, Hendrik Fuß wrote:
> I would imagine that in a lot of GUI-related applications such signals
> could really come in handy (see my example). 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.

That already exists in Qt, its called QAbstractItemModel and has a few
subclasses that do common tasks for you.

Andreas

-- 
You will always have good luck in your personal affairs.



More information about the Qt-interest-old mailing list