[Kde-games-devel] Review Request 110132: QML image provider for KIcon images
Viranch Mehta
viranch.mehta at gmail.com
Tue Apr 23 09:32:30 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110132/
-----------------------------------------------------------
(Updated April 23, 2013, 9:32 a.m.)
Status
------
This change has been discarded.
Review request for KDE Games.
Description
-------
This patch introduces a new image provider for libkdegames that enables showing KIcon's inside QML. Additionally, ships a KIcon QML component as a wrapper component that takes in the KIcon's name and uses the image provider to show the pixmap.
The purpose of the image provider is for the QML component that I'm working on for KGamePopupItem. Many games use this and should be a readily available component. This component shows a KIcon as its icon alongside the text, hence the patch and the new image provider.
Diffs
-----
declarativeimports/CMakeLists.txt c5b88d9
declarativeimports/corebindingsplugin.h bc3fa32
declarativeimports/corebindingsplugin.cpp 3fef508
declarativeimports/kiconprovider.cpp PRE-CREATION
declarativeimports/kiconprovider_p.h PRE-CREATION
declarativeimports/qml/KIcon.qml PRE-CREATION
declarativeimports/qml/qmldir 79aae32
Diff: http://git.reviewboard.kde.org/r/110132/diff/
Testing
-------
Tested with a simple QML file: http://sprunge.us/Ggje and "qmlviewer -I $KDEDIR/lib/kde4/imports test.qml". shows the correct icon image.
Thanks,
Viranch Mehta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20130423/ba1b1edd/attachment.html>
More information about the kde-games-devel
mailing list