From aa73e59574961987f31144c3b9aad53f9bb12820 Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Fri, 24 Jul 2009 13:16:21 +0300 Subject: Updated style demo to adjust spinbox value when sliders are moved. Task: 258515: StyleDemo: Moving sliders do not update spinbox --- demos/embedded/styledemo/stylewidget.ui | 305 +++++++++++++++++--------------- 1 file changed, 161 insertions(+), 144 deletions(-) diff --git a/demos/embedded/styledemo/stylewidget.ui b/demos/embedded/styledemo/stylewidget.ui index 9c5f253..a084dde 100644 --- a/demos/embedded/styledemo/stylewidget.ui +++ b/demos/embedded/styledemo/stylewidget.ui @@ -1,138 +1,139 @@ - + + StyleWidget - - + + 0 0 - 172 + 174 220 - + Form - - + + 4 - + 4 - - - + + + 0 0 - + Styles - - + + 4 - + 4 - - - - + + + + 0 0 - + Qt::StrongFocus - + Transp. - + true - + false - + true - - - - + + + + 0 0 - + Qt::StrongFocus - + Blue - + true - + false - + true - - - - + + + + 0 0 - + Qt::StrongFocus - + Khaki - + true - + false - + true - - - - + + + + 0 0 - + Qt::StrongFocus - + None - + true - + true - + true @@ -141,11 +142,11 @@ - - + + Qt::Vertical - + 0 0 @@ -154,56 +155,56 @@ - - - + + + 0 0 - + QFrame::StyledPanel - + QFrame::Raised - - + + 0 - + - - - + + + 0 0 - + My Value is: - + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - + + + 0 0 - + Qt::WheelFocus - + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - + false @@ -211,88 +212,88 @@ - - + + 4 - - - - + + + + 0 0 - + 0 24 - + Qt::Horizontal - - - - + + + + 0 0 - + Qt::StrongFocus - + Show - + true - + true - + false - - - + + + 0 24 - + Qt::Horizontal - - - - + + + + 0 0 - + Qt::StrongFocus - + Enable - + true - + true - + false @@ -303,14 +304,14 @@ - - + + Qt::Vertical - + QSizePolicy::Expanding - + 0 0 @@ -319,13 +320,13 @@ - + - + Qt::Horizontal - + 40 20 @@ -334,11 +335,11 @@ - - + + Qt::StrongFocus - + Close @@ -348,7 +349,7 @@ - + @@ -357,13 +358,13 @@ horizontalScrollBar_2 setValue(int) - - 134 - 196 + + 84 + 147 - - 523 - 193 + + 166 + 147 @@ -373,13 +374,13 @@ horizontalScrollBar setValue(int) - - 577 - 199 + + 166 + 147 - - 127 - 207 + + 84 + 147 @@ -389,13 +390,13 @@ horizontalScrollBar_2 setEnabled(bool) - - 566 - 241 + + 166 + 175 - - 492 - 207 + + 166 + 147 @@ -405,13 +406,13 @@ horizontalScrollBar setVisible(bool) - - 123 - 239 + + 84 + 175 - - 123 - 184 + + 84 + 147 @@ -421,13 +422,29 @@ horizontalScrollBar_2 setValue(int) - - 603 - 136 + + 166 + 115 - - 575 - 199 + + 166 + 147 + + + + + horizontalScrollBar_2 + valueChanged(int) + spinBox + setValue(int) + + + 132 + 132 + + + 135 + 110 -- cgit v0.12