diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-18 16:39:34 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-19 06:06:14 +0100 |
commit | f3fb89ba298e1741320d8bfac9cbd0d503373bff (patch) | |
tree | 86d73060497357f6edea58ebcb26a8b74919f4dc /doc/src | |
parent | 4a19e97f70994bc8bb67e26533d18266b8a615bc (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.7 6.6
Fixes: QTBUG-119977
Change-Id: I73a1bb215c956fa283291ebf0ea45ff9a975c727
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/images/sliders-example.png | bin | 18048 -> 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 Binary files differindex d2a9c4804d..532f745dfa 100644 --- a/doc/src/images/sliders-example.png +++ b/doc/src/images/sliders-example.png |