Hi,<br><br>has anyone had any luck with using icons in javascript plasmoids?<br>I would like to include a few transparent buttons in plasmoid that I'm developing for Jam session.<br><br>I tried to use IconWidget, and SvgWidget, but no luck.<br>
IconWidget always displays default icon with a question mark in it, and SvgWidget doesn't display anything at all.<br><br>Any help would be appreciated.<br><br>Here is some code snippets that I used:<br><br>iw = new IconWidget;<br>
iw.adjustSize(200, 200);<br>iw.setIcon("play");<br>layout.addItem(iw);<br clear="all"><br>png and svg versions of play icon are in contents/images folder.<br><br>kded4 -v:<br>Qt: 4.6.2<br>KDE Development Platform: 4.4.00 (KDE 4.4.0) "release 224"<br>
KDE Daemon: $Id: kded.cpp 1031637 2009-10-05 16:58:19Z lunakl $<br>