Plasma Components Question

Marco Martin notmart at gmail.com
Fri Jan 13 13:18:11 UTC 2012


On Friday 13 January 2012, Lasath Fernando wrote:
> That's not quite what I'm after. I need to be able to set the icon of
> the button itself. For example, the JavaScript API's PushButton had a
> property called icon of type QIcon.
> 
> I was hoping there's a would be a way to do the same using the proper
> Components.
> 

yes, as i answered yesterday, iconSource is also supposed to accept a qicon 
directly, since is a variant


-- 
Marco Martin


More information about the Plasma-devel mailing list