summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-12-18 16:39:34 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-12-19 08:02:47 +0000
commit2d3ee8ac34bdf30ffc14054a8aeb64ba292bb96e (patch)
treeb485bc945b19f523b02158b4d265c22fd11846b3 /doc
parentf1c59a351ad34ece0e4823eef2482d9830d3deaa (diff)
Update Sliders example
Simplify the "responsive layout" implementation. Just use a QBoxLayout with changing direction instead of repopulating a QGridLayout, and change the orientation of one set of sliders instead of creating two sets in a stacked layout. Simplify the resizeEvent() implementation accordingly. Update the documentation snippet text to match the code, and document the resizeEvent() override. Pick-to: 6.6 Fixes: QTBUG-119977 Change-Id: I73a1bb215c956fa283291ebf0ea45ff9a975c727 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit f3fb89ba298e1741320d8bfac9cbd0d503373bff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/images/sliders-example.pngbin18048 -> 23871 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/doc/src/images/sliders-example.png b/doc/src/images/sliders-example.png
index d2a9c4804d..532f745dfa 100644
--- a/doc/src/images/sliders-example.png
+++ b/doc/src/images/sliders-example.png
Binary files differ