You are not logged in.
Pages: 1
Hi!
I wrote a little plasmoid for the KDE4-desktop to display the current cover from Amarok. This already works, but now I want to refactor some of the code. Instead of converting the cover to .png with imagemagick and displaying it inside a Plasma.Label (can only display .png), the plasmoid now uses a QIcon which can handle graphic-formats automatically. The problem is, that the picture now gets a "hover" and "shrink" effect, lightening the picture up on mouse hover and shrinking it on mouseclick. But there are a lot of Icons (at least I think they're icons) in all kde-applications that don't have these effects, so it should be possible. But how? Qt documentation didn't help me out. Thanks for suggestions!
Greetings, drm
Current code: http://pastebin.ca/1965996
Offline
Pages: 1