QML plasmoid and compact representation

Lionel Chauvin megabigbug at yahoo.fr
Mon Feb 4 19:36:10 UTC 2013



>I want to change it in the future, but for now there isn't much way around.
>note that is also the behavior for c++ plasmoids. the ones that collapse and 
>expand depending to the size are the ones that have just an icon.

The calendar plasmoid shows an icon with the current day number when it is in a panel.
I want the same behavior.

>for that you can just make an applet of type popupapplet, not setting the 
>compact representation and an icon will be used instead

Yes, it is the current state of my code.
I could try to paint a QIcon at runtime and set plasmoid.popupIcon but it sounds weird.


More information about the Plasma-devel mailing list