From 2e1ed41e69037355023530e8cb6cf78d89b000e1 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 9 Jun 2010 04:01:57 +0000 Subject: [PATCH] moved shadow mode to expert configuration only, because kwin shadow pluggin does not work well with oxygen svn path=/trunk/KDE/kdebase/workspace/; revision=1136155 --- .../oxygen/config/oxygenconfigurationui.cpp | 5 +- .../oxygen/config/ui/oxygenconfigurationui.ui | 97 ++++++++++--------- 2 files changed, 56 insertions(+), 46 deletions(-) diff --git a/clients/oxygen/config/oxygenconfigurationui.cpp b/clients/oxygen/config/oxygenconfigurationui.cpp index 75e6bcc4d8..5c42bbcede 100644 --- a/clients/oxygen/config/oxygenconfigurationui.cpp +++ b/clients/oxygen/config/oxygenconfigurationui.cpp @@ -137,8 +137,9 @@ namespace Oxygen expertMode_ = value; ui.animateTitleChange->setVisible( expertMode_ ); ui.narrowButtonSpacing->setVisible( expertMode_ ); - ui.shadowCacheModeLabel->setVisible( expertMode_ ); - ui.shadowCacheMode->setVisible( expertMode_ ); + + // shadow mode + ui.shadowsExpertWidget->setVisible( expertMode_ ); if( expertMode_ ) ui.shadowSpacer->changeSize(0,0, QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); else ui.shadowSpacer->changeSize(0,0, QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); diff --git a/clients/oxygen/config/ui/oxygenconfigurationui.ui b/clients/oxygen/config/ui/oxygenconfigurationui.ui index a0287d5011..8add1edd1c 100644 --- a/clients/oxygen/config/ui/oxygenconfigurationui.ui +++ b/clients/oxygen/config/ui/oxygenconfigurationui.ui @@ -226,53 +226,62 @@ Shadows - + - - - Shadow style: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - shadowMode - + + + + 0 + + + + + Shadow style: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + shadowMode + + + + + + + + + + Qt::Horizontal + + + + 308 + 20 + + + + + + + + Shadow caching: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + shadowCacheMode + + + + + + + - - - - - - - Qt::Horizontal - - - - 308 - 20 - - - - - - - Shadow caching: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - shadowCacheMode - - - - - - - @@ -296,7 +305,7 @@ - + Qt::Vertical