Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to pass 'requestedSize' from QML to a QQuickImageProvider?

$
0
0
The QQuickImageProvider::requestImage function has requestedSize parameter, and I want to make a use of it. However, there is no documentation on how to set it from QML, nor I was able to find examples. Is it possible and how? p.s. As alternative far I am thinking to encode size into id string, something like "image://my-provider/some-image/100x60"

Viewing all articles
Browse latest Browse all 4972

Trending Articles