blur behind in the panel controller
This commit is contained in:
parent
f22e4be172
commit
9930890ce3
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <KGlobal>
|
#include <KGlobal>
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
#include <kwindoweffects.h>
|
||||||
|
|
||||||
#include <Plasma/Containment>
|
#include <Plasma/Containment>
|
||||||
#include <Plasma/Corona>
|
#include <Plasma/Corona>
|
||||||
@ -43,6 +44,8 @@ PanelConfigView::PanelConfigView(Plasma::Containment *containment, PanelView *pa
|
|||||||
|
|
||||||
setFlags(Qt::FramelessWindowHint);
|
setFlags(Qt::FramelessWindowHint);
|
||||||
|
|
||||||
|
KWindowEffects::enableBlurBehind(winId(), true);
|
||||||
|
|
||||||
engine()->rootContext()->setContextProperty("panel", panelView);
|
engine()->rootContext()->setContextProperty("panel", panelView);
|
||||||
engine()->rootContext()->setContextProperty("configDialog", this);
|
engine()->rootContext()->setContextProperty("configDialog", this);
|
||||||
connect(containment, &Plasma::Containment::formFactorChanged,
|
connect(containment, &Plasma::Containment::formFactorChanged,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user