QML plasmoid maintains aspect ratio

Aaron J. Seigo aseigo at kde.org
Tue Aug 23 05:35:42 UTC 2011


On Monday, August 22, 2011 18:21:01 Shaun Reich wrote:
> Weird. This seems like it's magically working, because I don't see any
> Q_PROPERTY or Q_DECLARE anywhere pertaining to aspectratiomode. Care to
> explain?

the property is in:

kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinterface.h

we could/should probably complete the Q_PROPERTY entries in Applet in 
libplasma as well for completeness. feel free to do so. :)

in this case, it's the AppletInterface class that provides the glue for the JS 
runtime, though.

-- 
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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110823/5f4fd490/attachment.sig>


More information about the Plasma-devel mailing list