blur behind panels
This commit is contained in:
parent
73ab93e009
commit
790036d5f8
@ -20,6 +20,8 @@
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
#include <kwindoweffects.h>
|
||||
|
||||
#include <Plasma/Package>
|
||||
|
||||
PanelView::PanelView(Plasma::Corona *corona, QWindow *parent)
|
||||
@ -31,6 +33,9 @@ PanelView::PanelView(Plasma::Corona *corona, QWindow *parent)
|
||||
setClearBeforeRendering(true);
|
||||
setColor(QColor(Qt::transparent));
|
||||
setFlags(Qt::FramelessWindowHint);
|
||||
|
||||
//TODO: how to take the shape from the framesvg?
|
||||
KWindowEffects::enableBlurBehind(winId(), true);
|
||||
}
|
||||
|
||||
PanelView::~PanelView()
|
||||
|
Loading…
x
Reference in New Issue
Block a user