Can't collapse QML plasmoid to icon

Aaron J. Seigo aseigo at kde.org
Thu Apr 14 18:47:41 CEST 2011


On Thursday, April 14, 2011 18:30:36 Diego Casella wrote:
> [I didn't received any response yet, so I'm posting again since on April 28
> there is the soft freeze fo 4.7, and I'd like to fill the KMix plasmoid
> review request as soon as I can :)]
> 
> Hello guys,
> I'm facing an other problem during the development of the KMix plasmoid
> replacement. As I wrote on the subject of this email, I can't set a
> popupIcon for that plasmoid. I've modified the "Service Types" in
> metadata.desktop to "Plasma/Applet,Plasma/PopupApplet" (I even tried just
> "Plasma/PopupApplet") and then, inside the main Component.onCompleted
> function:
> 
> plasmoid.setMinimumSize(80, 150)
> plasmoid.popupIcon("audio-volume-high")

perhaps:

plasmoid.popupIcon = "audio-volume-high"

it's a property, not a function :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110414/b5d7c37a/attachment.sig 


More information about the Plasma-devel mailing list