D22451: Unsplash POTD: filter out banner image and pick random photo from latest
Yunhe Guo
noreply at phabricator.kde.org
Sun Jul 14 13:02:07 BST 2019
guoyunhe added a comment.
In D22451#495279 <https://phabricator.kde.org/D22451#495279>, @ngraham wrote:
> Ah right, that's a property of `Image`, not `QImageItem`.
>
> https://doc.qt.io/qt-5/qml-qtquick-image.html#sourceSize-prop
>
> Can you use `Image` instead?
I got a blocker: `engine.data[provider]["Image"]` is QImage not string. So I cannot assign it as `source` of `Image`. I don't know if it is possible.
REPOSITORY
R114 Plasma Addons
REVISION DETAIL
https://phabricator.kde.org/D22451
To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190714/28f2e5e3/attachment.html>
More information about the Plasma-devel
mailing list