Hello guys,

I'm trying to adding a theme icon to a PushButton object, but I'm stuck with
it.
I've tried some combinations such as:

pb = new PushButton()
pb.icon = new QIcon("system-search")

or

pb.image = "system-search"

but seems it doesn't work. However, if I do

iw = new IconWidget()
iw.setIcon("system-search")
pb.icon = iw.icon

it works O.o . Any ideas/hints ?

I've also noticed that radio buttons are not mutually exclusive :)
Cheers!

Diego
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to