From b266b2fb2d1944ee9e5177d760397784f75d1b06 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Wed, 9 Jan 2013 14:54:13 -0500 Subject: [PATCH] fix kwintabbox kcm layout gridlayout doesn't work with spacer to center some widget. use BoxLayout instead. --- kcmkwin/kwintabbox/main.ui | 1114 ++++++++++++++++++------------------ 1 file changed, 559 insertions(+), 555 deletions(-) diff --git a/kcmkwin/kwintabbox/main.ui b/kcmkwin/kwintabbox/main.ui index 31f48b2e6f..48f77c6f5f 100644 --- a/kcmkwin/kwintabbox/main.ui +++ b/kcmkwin/kwintabbox/main.ui @@ -10,171 +10,8 @@ 398 - - - - - Visualization - - - true - - - - - - - 0 - - - - - - 0 - 0 - - - - The effect to replace the list window when desktop effects are active. - - - - - - - - 0 - 0 - - - - - - - - - - - - - - true - - - - - - - Outline selected window - - - - - - - The currently selected window will be highlighted by fading out all other windows. This option requires desktop effects to be active. - - - Show selected window - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Get New Window Switcher Layout - - - - - - - - - - Content - - - true - - - - - - Include "Show Desktop" icon - - - - - - - - 0 - 0 - - - - - Recently used - - - - - Stacking order - - - - - - - - Only one window per application - - - false - - - - - - - Sort order: - - - switchingModeCombo - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - + + Qt::Horizontal @@ -187,372 +24,546 @@ - - - - Shortcuts - - - true - - - - - - Forward - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Qt::Horizontal - - - - - - - - 75 - true - - - - All windows - - - Qt::AlignCenter - - - - - - - Reverse - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Forward - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Reverse - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - KKeySequenceWidget::GlobalShortcuts - - - - - - - KKeySequenceWidget::GlobalShortcuts - - - - - - - - 75 - true - - - - Current application - - - Qt::AlignCenter - - - - - - - KKeySequenceWidget::GlobalShortcuts - - - - - - - KKeySequenceWidget::GlobalShortcuts - - - - - + + + + + + Content + + + true + + + + + + Include "Show Desktop" icon + + + + + + + + 0 + 0 + + + + + Recently used + + + + + Stacking order + + + + + + + + Only one window per application + + + false + + + + + + + Sort order: + + + switchingModeCombo + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Filter windows by + + + true + + + + + + Virtual desktops + + + false + + + + + + + false + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 24 + 20 + + + + + + + + Current desktop + + + + + + + All other desktops + + + + + + + + + + Activities + + + false + + + + + + + false + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 24 + 20 + + + + + + + + Current activity + + + + + + + All other activities + + + + + + + + + + Screens + + + false + + + + + + + false + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 24 + 20 + + + + + + + + Current screen + + + + + + + All other screens + + + + + + + + + + Minimization + + + false + + + + + + + false + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 24 + 20 + + + + + + + + Visible windows + + + + + + + Hidden windows + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Shortcuts + + + true + + + + + + Forward + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Qt::Horizontal + + + + + + + + 75 + true + + + + All windows + + + Qt::AlignCenter + + + + + + + Reverse + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Forward + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Reverse + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + KKeySequenceWidget::GlobalShortcuts + + + + + + + KKeySequenceWidget::GlobalShortcuts + + + + + + + + 75 + true + + + + Current application + + + Qt::AlignCenter + + + + + + + KKeySequenceWidget::GlobalShortcuts + + + + + + + KKeySequenceWidget::GlobalShortcuts + + + + + + + + + + Visualization + + + true + + + + + + + 0 + + + + + + 0 + 0 + + + + The effect to replace the list window when desktop effects are active. + + + + + + + + 0 + 0 + + + + + + + + + + + + + + true + + + + + + + Outline selected window + + + + + + + The currently selected window will be highlighted by fading out all other windows. This option requires desktop effects to be active. + + + Show selected window + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Get New Window Switcher Layout + + + + + + + + + + Qt::Vertical + + + + - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Filter windows by - - - true - - - - - - Virtual desktops - - - false - - - - - - - false - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 24 - 20 - - - - - - - - Current desktop - - - - - - - All other desktops - - - - - - - - - - Activities - - - false - - - - - - - false - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 24 - 20 - - - - - - - - Current activity - - - - - - - All other activities - - - - - - - - - - Screens - - - false - - - - - - - false - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 24 - 20 - - - - - - - - Current screen - - - - - - - All other screens - - - - - - - - - - Minimization - - - false - - - - - - - false - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 24 - 20 - - - - - - - - Visible windows - - - - - - - Hidden windows - - - - - - - - - - + Qt::Horizontal @@ -565,13 +576,6 @@ - - - - Qt::Vertical - - - @@ -623,12 +627,12 @@ setEnabled(bool) - 109 - 298 + 541 + 172 - 392 - 298 + 701 + 197 @@ -639,12 +643,12 @@ setEnabled(bool) - 111 - 325 + 543 + 222 - 392 - 325 + 701 + 247 @@ -655,12 +659,12 @@ setEnabled(bool) - 123 - 352 + 555 + 272 - 392 - 352 + 701 + 297 @@ -671,12 +675,12 @@ setEnabled(bool) - 126 - 379 + 558 + 322 - 392 - 379 + 701 + 347 @@ -687,8 +691,8 @@ setEnabled(bool) - 45 - 106 + 164 + 125 230