[Qt-qml] HOWTO: use QStandardItemModel with QML

michael.brasser at nokia.com michael.brasser at nokia.com
Wed Nov 3 06:38:44 CET 2010


Hi,

On 02/11/2010, at 5:14 AM, ext Ville M. Vainio wrote:
> I wrote a brief guide how to use QStandardItemModel from QML:
> 
> http://wiki.forum.nokia.com/index.php/Using_QStandardItemModel_in_QML
> 
> The secret point of the guide is to convince powers-that-be that
> setRoleNames should be a public method of QAbstractItemModel instead
> of a protected one (as is currently the case). Or, at least
> QStandardItemModel should have a way to call it indirectly.

We should definitely look at how to make QStandardItemModel work better with QML -- do you mind adding a suggestion to bugreports.qt.nokia.com so this isn't forgotten?

Thanks,
Michael



More information about the Qt-qml mailing list