qt5base-lts/tests/auto/gui
Jan Arve Sæther e7477e8934 Update window geometry when QWindow::m{in|ax}imumSize is updated
More specifically, if either minimum or maximum size are updated, make
sure that the current window geometry is updated so that it is within
the minimum and maximum sizes.

Previously, these constraints was only respected by the window manager
when the user resized the window.

For widgets this already worked, because a top-level widget will take
care of respecting these constraints if they are changed.

Since QWindow::setMinimumSize and QWindow::setMaximumSize started to
share so many common things, a new function (setMinOrMaxSize_helper())
is added.

Task-number: QTBUG-102771
Change-Id: Ia4b2680dcf865f84a3cf6424187f9a6036b76386
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-06-13 09:19:17 +02:00
..
image Do metadata detach simpler than full detach 2022-06-01 15:54:50 +02:00
itemmodels Use QAbstractItemModelTester or QFileSystemModel 2022-05-18 12:58:06 +02:00
kernel Update window geometry when QWindow::m{in|ax}imumSize is updated 2022-06-13 09:19:17 +02:00
math3d Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
painting Add new map methods for QColorTransform 2022-05-31 22:23:40 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengl Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglconfig Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvulkan Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
rhi Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
text Use CSS classes on html list items for checkbox support 2022-06-11 14:18:35 +00:00
util Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00