[Qt-qml] QSqlQueryModel + highlight

Tibo W tibo_wcc at yahoo.com
Sat Dec 3 20:40:03 CET 2011


Hi,

I have a sqlModel that I export in the QML's context in order to be used in a ListView.
But it seems that adding a highlight is not working. It's working with a basic model (like the one provide in the Qt's build).

Also, there's no myListView.currentItem. Should I implement it in the sqlModel ? How can I do that ?

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111203/05826643/attachment.html 


More information about the Qt-qml mailing list