User:Rshah/plasma qml applet type

From KDE TechBase

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")

}