Applets - to maintain aspect ratio, or not?

Aaron J. Seigo aseigo at kde.org
Thu Jan 10 20:13:16 CET 2008


On Tuesday 08 January 2008, Aaron J. Seigo wrote:
> perhaps what we need in Applet is a setPreserveAspectRatio method that
> defaults to true which lets the applet determine what the default resize
> behaviour is.

void Applet::setAspectRatioMode(Qt::AspectRatio);
Qt::AspectRatio Applet::aspectRatioMode();

holding down control reverses that in the applet handle.

rejoice =)

-- 
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 Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080110/ec1e2f21/attachment.pgp 


More information about the Panel-devel mailing list