PlasmaComponents.Button missing feature: use system icons!

Aaron J. Seigo aseigo at kde.org
Mon Oct 31 08:55:48 UTC 2011


On Sunday, October 30, 2011 23:47:32 Mark wrote:
> I'm kinda fearing that functionality is not even existing yet (in core?).
> If it isn't then i will implement that as well, but a pointer to the plasma

This is likely something that needs to be bound in from C++. Reason is that it 
should also be possible to look for icons included in the associated Package, 
if any.

> .. Is there also a function that "just" tries to find the icon name you
> give it? The function KIconLoader::loadIcon needs a few parameters. I could
> be looking at the wrong class for all i know ;)

KIcon or even just QIcon::fromTheme is sufficient.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111031/b939185d/attachment.sig>


More information about the Plasma-devel mailing list