From c815ebbf5689118688a9a08b19c40d5fc789b17d Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Tue, 24 Nov 2009 14:53:52 +0100 Subject: Adjust qmediaplayer's settings dialog for small screens. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch done jointly by me and Jan-arve. Task-number: QTBUG-4725 Reviewed-by: Jan-Arve Sæther Reviewed-by: Frans Englich --- demos/qmediaplayer/settings.ui | 351 ++++++++++++++++++++++------------------- 1 file changed, 191 insertions(+), 160 deletions(-) diff --git a/demos/qmediaplayer/settings.ui b/demos/qmediaplayer/settings.ui index d2cedd4..03bd70e 100644 --- a/demos/qmediaplayer/settings.ui +++ b/demos/qmediaplayer/settings.ui @@ -1,283 +1,314 @@ - + + settings - - + + 0 0 - 360 - 362 + 175 + 397 - + Settings - + - - + + Video options: - + true - - - - + + + + + QComboBox::AdjustToContentsOnFirstShow + + + + Fit in view + + + + + Scale and crop + + + + + + + Contrast: - - - + + + + + 0 + 0 + + + -8 - + 8 - + Qt::Horizontal - + QSlider::TicksBelow - + 4 - - - + + + Brightness: - - - + + + -8 - + 8 - + Qt::Horizontal - + QSlider::TicksBelow - + 4 - - - + + + Saturation: - - - + + + -8 - + 8 - + Qt::Horizontal - + QSlider::TicksBelow - + 4 - - - + + + Hue: - - - + + + -8 - + 8 - + Qt::Horizontal - + QSlider::TicksBelow - + 4 - - - + + + Aspect ratio: - - - - - 180 - 0 - + + + + QComboBox::AdjustToContentsOnFirstShow - + Auto - + Stretch - + 4/3 - + 16/9 - - - + + + Scale Mode: - - - - - 180 - 0 - - - - - Fit in view - - - - - Scale and crop - - - - + scalemodeCombo + label_9 + contrastSlider + label_8 + brightnessSlider + label_7 + saturationSlider + label_2 + hueSlider + label_10 + aspectCombo + label_11 - - + + Audio options: - + true - + - + - - - + + + 0 0 - + - 90 + 10 0 - + Audio device: - + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - + + + 0 0 + + + 10 + 0 + + + + QComboBox::AdjustToMinimumContentsLength + - + - - - + + + 0 0 - + - 90 + 10 0 - + Audio effect: - + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - + + + 0 0 + + + 10 + 0 + + + + QComboBox::AdjustToMinimumContentsLength + - - + + false - + Setup @@ -285,123 +316,123 @@ - + - - - + + + 0 0 - + - 90 + 10 0 - + Cross fade: - + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - + - - - + + + 0 0 - + -20 - + 20 - + 1 - + 2 - + 0 - + Qt::Horizontal - + QSlider::TicksBelow - + - - + + 9 - + -10 Sec - + Qt::Horizontal - + - 40 + 0 20 - - + + 9 - + 0 - + Qt::Horizontal - + - 40 + 0 20 - - + + 9 - - 10 Sec + + 10 Sec @@ -415,11 +446,11 @@ - - + + Qt::Horizontal - + QDialogButtonBox::Cancel|QDialogButtonBox::Ok @@ -434,11 +465,11 @@ settings accept() - + 248 254 - + 157 274 @@ -450,11 +481,11 @@ settings reject() - + 316 260 - + 286 274 -- cgit v0.12