User:Rshah/plasma qml applet type

From KDE TechBase
Revision as of 13:17, 21 April 2011 by Rshah (talk | contribs) (Created page with '== Plasmoid Types == == Applet,PopupApplet and Containment == There are three types of plasmoid. applet, popup applet and containment === <tt>metadata.desktop</tt> === <code ini...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Plasmoid Types

Applet,PopupApplet and Containment

There are three types of plasmoid. applet, popup applet and containment

metadata.desktop

ServiceTypes=Plasma/Applet

To make a popup type plasmoid we need to have ServiceTypes=Plasma/Applet,Plasma/PopupApplet

Then set the icon for plasmoid Component.onCompleted: {

   plasmoid.popupIcon=QIcon("whatever")

}