diff --git a/clients/oxygen/config/oxygenconfigurationui.cpp b/clients/oxygen/config/oxygenconfigurationui.cpp index 7fc818b573..75e6bcc4d8 100644 --- a/clients/oxygen/config/oxygenconfigurationui.cpp +++ b/clients/oxygen/config/oxygenconfigurationui.cpp @@ -58,16 +58,12 @@ namespace Oxygen << Configuration::frameBorderName( Configuration::BorderOversized, true ) ); - ui.label->setBuddy( ui.frameBorder ); - ui.titleAlignment->insertItems(0, QStringList() << Configuration::titleAlignmentName( Qt::AlignLeft, true ) << Configuration::titleAlignmentName( Qt::AlignHCenter, true ) << Configuration::titleAlignmentName( Qt::AlignRight, true ) ); - ui.label_2->setBuddy( ui.titleAlignment ); - ui.buttonSize->insertItems(0, QStringList() << Configuration::buttonSizeName( Configuration::ButtonSmall, true ) << Configuration::buttonSizeName( Configuration::ButtonDefault, true ) @@ -76,39 +72,29 @@ namespace Oxygen << Configuration::buttonSizeName( Configuration::ButtonHuge, true ) ); - ui.label_3->setBuddy( ui.buttonSize ); - // advanced configuration ui.blendColor->insertItems(0, QStringList() << Configuration::blendColorName( Configuration::NoBlending, true ) << Configuration::blendColorName( Configuration::RadialBlending, true ) ); - ui.label_4->setBuddy( ui.blendColor ); - // draw size grip ui.sizeGripMode->insertItems(0, QStringList() << Configuration::sizeGripModeName( Configuration::SizeGripNever, true ) << Configuration::sizeGripModeName( Configuration::SizeGripWhenNeeded, true ) ); - ui.label_5->setBuddy( ui.sizeGripMode ); - // shadows ui.shadowMode->insertItems(0, QStringList() << Configuration::shadowModeName( Configuration::OxygenShadows, true ) << Configuration::shadowModeName( Configuration::KWinShadows, true ) << Configuration::shadowModeName( Configuration::NoShadows, true ) ); - ui.label_6->setBuddy( ui.shadowMode ); - ui.shadowCacheMode->insertItems(0, QStringList() << Configuration::shadowCacheModeName( Configuration::CacheDisabled, true ) << Configuration::shadowCacheModeName( Configuration::CacheVariable, true ) << Configuration::shadowCacheModeName( Configuration::CacheMaximum, true ) ); - ui.shadowCacheModeLabel->setBuddy( ui.shadowCacheMode ); - shadowConfigurations.push_back( ui.activeShadowConfiguration ); shadowConfigurations.push_back( ui.inactiveShadowConfiguration ); diff --git a/clients/oxygen/config/oxygenexceptiondialog.cpp b/clients/oxygen/config/oxygenexceptiondialog.cpp index 5061226bd9..91478e1a29 100644 --- a/clients/oxygen/config/oxygenexceptiondialog.cpp +++ b/clients/oxygen/config/oxygenexceptiondialog.cpp @@ -47,7 +47,6 @@ namespace Oxygen setMainWidget( local ); // exception type - ui.label->setBuddy( ui.exceptionType ); ui.exceptionType->insertItems( 0, QStringList() << Exception::typeName( Exception::WindowClassName, true ) << Exception::typeName( Exception::WindowTitle, true ) @@ -55,9 +54,6 @@ namespace Oxygen connect( ui.detectDialogButton, SIGNAL( clicked( void ) ), SLOT( selectWindowProperties() ) ); - // regular expression - ui.label_2->setBuddy( ui.exceptionEditor ); - // border size ui.frameBorderComboBox->insertItems(0, QStringList() << Configuration::frameBorderName( Configuration::BorderNone, true ) diff --git a/clients/oxygen/config/oxygenshadowconfigurationui.cpp b/clients/oxygen/config/oxygenshadowconfigurationui.cpp index 0a0b5c1334..88c383556b 100644 --- a/clients/oxygen/config/oxygenshadowconfigurationui.cpp +++ b/clients/oxygen/config/oxygenshadowconfigurationui.cpp @@ -37,10 +37,6 @@ namespace Oxygen QGroupBox( parent ) { ui.setupUi( this ); - ui.label->setBuddy( ui.shadowSize ); - ui.label_2->setBuddy( ui.verticalOffset ); - ui.label_3->setBuddy( ui.innerColor ); - ui.label_4->setBuddy( ui.outerColor ); // connections ui.outerColor->setEnabled( false ); diff --git a/clients/oxygen/config/ui/oxygenconfigurationui.ui b/clients/oxygen/config/ui/oxygenconfigurationui.ui index 2a72d1396d..a0287d5011 100644 --- a/clients/oxygen/config/ui/oxygenconfigurationui.ui +++ b/clients/oxygen/config/ui/oxygenconfigurationui.ui @@ -41,6 +41,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + frameBorder + @@ -54,6 +57,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + titleAlignment + @@ -67,6 +73,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + buttonSize + @@ -140,6 +149,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + blendColor + @@ -153,6 +165,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + sizeGripMode + @@ -220,6 +235,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + shadowMode + @@ -246,6 +264,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + shadowCacheMode + diff --git a/clients/oxygen/config/ui/oxygenexceptiondialog.ui b/clients/oxygen/config/ui/oxygenexceptiondialog.ui index 59d8af1076..6038b6319d 100644 --- a/clients/oxygen/config/ui/oxygenexceptiondialog.ui +++ b/clients/oxygen/config/ui/oxygenexceptiondialog.ui @@ -25,6 +25,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + exceptionType + @@ -35,6 +38,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + exceptionEditor + diff --git a/clients/oxygen/config/ui/oxygenshadowconfigurationui.ui b/clients/oxygen/config/ui/oxygenshadowconfigurationui.ui index dfc35665ec..26b059d8da 100644 --- a/clients/oxygen/config/ui/oxygenshadowconfigurationui.ui +++ b/clients/oxygen/config/ui/oxygenshadowconfigurationui.ui @@ -25,6 +25,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + innerColor + @@ -32,16 +35,26 @@ + + true + Outer Color: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + outerColor + - + + + true + + @@ -58,6 +71,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + verticalOffset + @@ -68,6 +84,9 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + shadowSize +