Am Thursday 14 May 2009 schrieb Harald Hvaal:


> Do I need to write graphics routines through kwin plugin framework? Is
if you want an effect on desktops/windows (like the cube switch etc.) that's likely the best location


> there a flag in Qt that I can use to get an alpha blended backgroudn for a
> qmainwindow?
Qt 4.5 (only on window type widgets QWidget::isWindow())
QWidget::setAttribute(Qt::WA_TranslucentBackground)
this will however (obviously) only work on composited desktops


> Maybe plasma has something for this? Is it even possible?
if you want whatever you want on the desktop layer (i.e. below all normal windows), you can make a plasmoid (QGraphicsViewItem) and just use alpha blending


Thomas