diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-04-01 19:31:40 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-04-01 19:31:40 +0300 |
commit | 8135bf0f2a71102b83cd1d56d9e4e9339eb13690 (patch) | |
tree | ebe4f6fed1d6aa1b6b8c39688bfafa953f786c0f /src/komposepreferences.cpp | |
parent | 6788fb6948ce59d56829399802274f67dfab98d2 (diff) | |
download | kompose-8135bf0f2a71102b83cd1d56d9e4e9339eb13690.tar.gz kompose-8135bf0f2a71102b83cd1d56d9e4e9339eb13690.zip |
Added option related to background blurring feature.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposepreferences.cpp')
-rw-r--r-- | src/komposepreferences.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/komposepreferences.cpp b/src/komposepreferences.cpp index 572b714..9adf4eb 100644 --- a/src/komposepreferences.cpp +++ b/src/komposepreferences.cpp @@ -168,6 +168,12 @@ KomposePreferences::KomposePreferences() TQToolTip::add( imageEffects, imageEffectsHelp ); page2Layout->addWidget(imageEffects); + blurBackground = new TQCheckBox(i18n("Blur desktop background"), page2); + TQString blurBackgroundHelp = i18n("Apply a Gaussian blur to the desktop background."); + TQWhatsThis::add( blurBackground, blurBackgroundHelp ); + TQToolTip::add( blurBackground, blurBackgroundHelp ); + page2Layout->addWidget(blurBackground); + showDesktopNum = new TQCheckBox(i18n("Show Desktop number on Systray icon"), page2); TQString showDesktopNumHelp = i18n("Displays the number of the currently active Desktop on the Komposé systray icon." ); TQWhatsThis::add( showDesktopNum, showDesktopNumHelp ); @@ -300,6 +306,8 @@ void KomposePreferences::fillPages() dynamicVirtDeskLayout->setChecked( KomposeSettings::instance()->getDynamicVirtDeskLayout() ); imageEffects->setChecked( KomposeSettings::instance()->getImageEffects() ); + blurBackground->setChecked( KomposeSettings::instance()->getBlurBackground() ); + showDesktopNum->setChecked( KomposeSettings::instance()->getShowDesktopNum() ); showWindowTitles->setChecked( KomposeSettings::instance()->getShowWindowTitles() ); @@ -360,6 +368,7 @@ void KomposePreferences::slotApply() KomposeSettings::instance()->setCacheScaledPixmaps( cacheScaledPixmaps->isChecked() ); KomposeSettings::instance()->setDynamicVirtDeskLayout( dynamicVirtDeskLayout->isChecked() ); KomposeSettings::instance()->setImageEffects( imageEffects->isChecked() ); + KomposeSettings::instance()->setBlurBackground( blurBackground->isChecked() ); KomposeSettings::instance()->setShowDesktopNum( showDesktopNum->isChecked() ); KomposeSettings::instance()->setShowWindowTitles( showWindowTitles->isChecked() ); |