moved 'outline title' and 'draw separator' from general to advanced tab (suggested by Lucas, and I think it would make Nuno happy, and I like it). Also moved interlock between 'title highlight' and 'draw separator' from config to nitrogenconfigurationui

svn path=/trunk/KDE/kdebase/workspace/; revision=1020968
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-07 18:23:18 +00:00
parent e9de48ff50
commit 5a2f9d5319
1 changed files with 16 additions and 14 deletions

View File

@ -123,19 +123,9 @@ namespace Nitrogen
label->setAlignment( Qt::AlignRight|Qt::AlignVCenter );
label->setBuddy( buttonSize );
// active window title outline
vboxLayout->addWidget( titleOutline = new QCheckBox( i18n("Outline active window title"), basicWidget) );
titleOutline->setObjectName(QString::fromUtf8("titleOutline"));
titleOutline->setWhatsThis(i18n(
"When enabled, an additional frame is shown around the active window as well as its title"));
// draw separator
vboxLayout->addWidget( drawSeparator = new QCheckBox( i18n("Draw separator between title bar and active window contents"), basicWidget ) );
drawSeparator->setObjectName(QString::fromUtf8("drawSeparator"));
drawSeparator->setWhatsThis(i18n(
"When enabled, this option makes an horizontal separator appear between the window title bar and the window contents."));
vboxLayout->addStretch(1);
}
@ -186,13 +176,25 @@ namespace Nitrogen
label->setAlignment( Qt::AlignRight|Qt::AlignVCenter );
label->setBuddy( sizeGripMode );
// active window title outline
vboxLayout->addWidget( titleOutline = new QCheckBox( i18n("Outline active window title"), advancedWidget) );
titleOutline->setObjectName(QString::fromUtf8("titleOutline"));
titleOutline->setWhatsThis(i18n(
"When enabled, an additional frame is shown around the active window as well as its title"));
// draw separator
vboxLayout->addWidget( drawSeparator = new QCheckBox( i18n("Draw separator between title bar and active window contents"), advancedWidget ) );
drawSeparator->setObjectName(QString::fromUtf8("drawSeparator"));
drawSeparator->setWhatsThis(i18n(
"When enabled, this option makes an horizontal separator appear between the window title bar and the window contents."));
// oxygen shadow
vboxLayout->addWidget( useOxygenShadows = new QCheckBox( i18n("Glow active window" ), advancedWidget ) );
useOxygenShadows->setObjectName(QString::fromUtf8("useOxygenShadows"));
useOxygenShadows->setWhatsThis(i18n(
"When this option is enabled, oxygen signature blue glow is used for the active window shadow."));
vboxLayout->addStretch(1);
connect( titleOutline, SIGNAL(toggled( bool )), drawSeparator, SLOT( setDisabled( bool ) ) );
}