[Qt-qml] HOWTO: use QStandardItemModel with QML

Ville M. Vainio vivainio at gmail.com
Mon Nov 1 20:14:49 CET 2010


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.

-- 
Ville M. Vainio @@ Forum Nokia



More information about the Qt-qml mailing list