In the QML docs for QML data models, it says that
"Qt::DecorationRole" is exposed as a property "decoration" from the delegate.
If I return a QPixmap from C++ via that role, how do I use it in QML?
If I have an Image { source: } item, I need a URL property, not a QPixmap.
Is there a way to get the URL from the pixmap, or is there some other
trick to telling the Image {} to display decoration role data?
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml