qt5base-lts/src/widgets
Volker Hilsheimer fb56a0f2ce Don't hide a widget that is swapped into a hidden splitter
When replacing a widget in a hidden splitter, then we only need to keep
the new widget hidden if the previous widget was hidden.

If the new widget is not explicitly hidden, and the splitter is already
visible, then we need to explicitly show the new widget.

Augment test case; the existing test cases already cover swapping out a
collapsed or hidden widget.

Fixes: QTBUG-102134
Pick-to: 6.3 6.2
Change-Id: I9b60711a5c1cab79777ce4183783114a16ac3394
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-05-23 21:12:05 +02:00
..
accessible Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
compat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dialogs Make uic generate correct C++ comments 2022-05-18 11:53:26 +02:00
doc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
effects Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
graphicsview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
itemviews QtWidgets: restore Qt 5 compatibility for save/restore state 2022-05-18 02:21:31 +02:00
kernel Widgets: Use effect region bounds when drawing with repaint manager 2022-05-17 08:22:16 +03:00
styles windows: make native styles support QT_SCALE_FACTOR 2022-05-19 02:28:38 +02:00
util Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
widgets Don't hide a widget that is swapped into a hidden splitter 2022-05-23 21:12:05 +02:00
CMakeLists.txt Add missing header files to the module sources 2022-05-12 16:34:25 +02:00
configure.cmake Core: Remove 'properties' feature 2022-02-14 12:50:59 +01:00
Qt6WidgetsMacros.cmake Revert "Ensure versionless wrappers do not introduce a new variable scope" 2021-09-06 23:56:28 +10:00
qt_cmdline.cmake CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
QtWidgets.dynlist
qtwidgets.tracepoints Reduce amount of tracepoints required for event tracking 2019-05-02 14:15:58 +00:00