qt5base-lts/tests/auto/widgets
Giuseppe D'Angelo 284d4e7125 QLayout: mark unsetContentsMargins as the RESET function
contentsMargins is a Q_PROPERTY on a QLayout. Qt 6.1 introduced
QLayout::unsetContentsMargins() to reset the contents margins to the
"default" ones (that the user can't know); that's the textbook
description of a RESET function for the property.

Add some tests also for unsetContentsMargins.

[ChangeLog][QtWidgets][QLayout] The unsetContentsMargins() function now
acts as the RESET function for the contentsMargins property.

Change-Id: I463d88363c11f4a15ad3d6af71401d8698de1d41
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-04-21 22:13:11 +02:00
..
dialogs Re-layout QProgressDialog when setting the cancel button 2021-04-19 09:22:04 +00:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews Fix the crashes when animated QTreeWidgetItems are hidden 2021-03-08 12:31:13 +00:00
kernel QLayout: mark unsetContentsMargins as the RESET function 2021-04-21 22:13:11 +02:00
styles Set the PlaceholderText color in the palette from the stylesheet as well 2021-01-12 20:24:28 +01:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00