--===============1695938598== Content-Type: multipart/alternative; boundary="Boundary-01=_wRBDKe9FBqwDh1X" Content-Transfer-Encoding: 7bit --Boundary-01=_wRBDKe9FBqwDh1X Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 --Boundary-01=_wRBDKe9FBqwDh1X Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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



--Boundary-01=_wRBDKe9FBqwDh1X-- --===============1695938598== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1695938598==--