helper class to use ARGB visual
Matthias Kretz
kretz at kde.org
Fri Nov 2 14:29:40 GMT 2007
Hi,
attached you find a class as KApplication replacement that will make the app
use an ARGB visual if available.
I'm not sure whether we'd want to ship this with kdelibs (at basically no cost
as it's 100% inline) or put this on techbase for people to copy when they
need it.
It needs a word of warning: QWidget::scroll will break with an ARGB visual
unless you export QT_NO_FAST_SCROLL=1 (at least with my setup). I'm using
this for the volume change popup that I blogged about which works fine.
Comments where to put this?
--
________________________________________________________
Matthias Kretz (Germany) <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kapplicationargb.h
Type: text/x-c++hdr
Size: 3122 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071102/b8b5d3ce/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071102/b8b5d3ce/attachment.sig>
More information about the kde-core-devel
mailing list