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
This commit is contained in:
parent
6ab355a048
commit
2e1ed41e69
2 changed files with 56 additions and 46 deletions
|
@ -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);
|
||||
|
|
|
@ -226,9 +226,15 @@
|
|||
<attribute name="title">
|
||||
<string>Shadows</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<widget class="QWidget" name="shadowsExpertWidget" native="true">
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="shadowModeLabel">
|
||||
<property name="text">
|
||||
<string>Shadow style:</string>
|
||||
</property>
|
||||
|
@ -272,7 +278,10 @@
|
|||
<item row="1" column="1">
|
||||
<widget class="KComboBox" name="shadowCacheMode"/>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="3">
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||
<item>
|
||||
<widget class="Oxygen::ShadowConfigurationUi" name="inactiveShadowConfiguration">
|
||||
|
@ -296,7 +305,7 @@
|
|||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<item row="2" column="0">
|
||||
<spacer name="shadowSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
|
|
Loading…
Reference in a new issue