Hei, We have widget which takes model. That model is later used as ListView model. Widget needs just one role. So we use modelData role in delegate because that allow us to use javascript's string lists and simple one column/role qml models. However if C++ model is specified, user has to register modelData role himself which may be inconvenient. Is it possible to find out somehow if modelData exists from list's delegate? Thanks.
Br, Sergiy
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
