PlasmaComponents.Button missing feature: use system icons!
Marco Martin
notmart at gmail.com
Mon Oct 31 14:26:07 UTC 2011
On Monday 31 October 2011, Aaron J. Seigo wrote:
> On Monday, October 31, 2011 09:57:26 Daker Fernandes Pinheiro wrote:
> > I think we should have a declarative image provider for getting icons. In
> > this way we should just do something like:
> >
> > Button {
> >
> > icon: "image://kde/desiredIcon"
> >
> > }
> >
> > What do you think?
>
> given that we have QIcon::fromTheme and KIconLoader is likely to become
> deprecated as a result for Frameworks 5, i doubt this is a good idea.
well, in any case, bot if we use the QIconItem component of the icon image
loader, they can use kiconloader now, when migrated be ported to
QIcon::fromTheme (still doesn't do caching compared to kiconloader iirc?)
and the api in qml won't change at all
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list