[Qt-interest] Proxy model with more indexes than its sourcemodel

Duane Hebert spoo at flarn.com
Mon Feb 8 19:38:32 CET 2010


>Ahh you're right, I was thinking that it was virtual in QAbstractItemModel but not in QAbstractProxyModel. My inexperience with C++ 
>is showing...

If it's virtual in the base class, it's virtual in the derived class.  You don't need to add the virtual
tag in a derived class but most people do so anyway to document this.






More information about the Qt-interest-old mailing list