diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-25 21:15:13 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-25 21:15:13 +0000 |
commit | d6306f938c39a07b7c5570af22d6d8cf430d8d94 (patch) | |
tree | b4fc6895af40216272479831b31af5de901e17ef /kicker | |
parent | d6bcc187d2f408e3e27598dd7f03821647e51c2e (diff) | |
download | tdebase-d6306f938c39a07b7c5570af22d6d8cf430d8d94.tar.gz tdebase-d6306f938c39a07b7c5570af22d6d8cf430d8d94.zip |
Add ability to blur kicker background
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249536 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker')
-rw-r--r-- | kicker/kicker/core/containerarea.cpp | 6 | ||||
-rw-r--r-- | kicker/libkicker/kickerSettings.kcfg | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp index a202c910a..00d781b98 100644 --- a/kicker/kicker/core/containerarea.cpp +++ b/kicker/kicker/core/containerarea.cpp @@ -1446,6 +1446,12 @@ void ContainerArea::setBackground() double tint = double(KickerSettings::tintValue()) / 100; _rootPixmap->setFadeEffect(tint, KickerSettings::tintColor()); + if (KickerSettings::menubarPanelBlurred()) { + _rootPixmap->setBlurEffect(0.0, 4.0); + } + else { + _rootPixmap->setBlurEffect(0.0, 0.0); + } _rootPixmap->start(); _bgSet = true; return; diff --git a/kicker/libkicker/kickerSettings.kcfg b/kicker/libkicker/kickerSettings.kcfg index ec6575a21..635d9c646 100644 --- a/kicker/libkicker/kickerSettings.kcfg +++ b/kicker/libkicker/kickerSettings.kcfg @@ -43,6 +43,12 @@ <default>false</default> </entry> +<entry name="MenubarPanelBlurred" type="Bool" > + <label>Enable blurring for menubar panel</label> + <whatsthis>When this option is enabled, the panel containing the menubar will blur pseudo-transparent image</whatsthis> + <default>false</default> + </entry> + <entry name="UseBackgroundTheme" type="Bool" > <label>Enable background image</label> <whatsthis>When this option is enabled, the panel will display a tiled image as its background</whatsthis> |