qt5base-lts/tests/auto/widgets/kernel
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
..
qaction Remove the qmake project files 2021-01-07 15:32:28 +01:00
qactiongroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qapplication tst_qapplication: Prevent desktopaware test from deactivating main test 2021-02-15 14:20:08 +01:00
qboxlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qformlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgesturerecognizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgridlayout Fix invalid pointer return with QGridLayout::itemAt(-1) 2021-03-22 18:47:36 +08:00
qlayout QLayout: mark unsetContentsMargins as the RESET function 2021-04-21 22:13:11 +02:00
qshortcut Fix tsts_QShortcut::keys on Wayland 2021-03-15 08:21:40 +01:00
qsizepolicy Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstackedlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtooltip Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwidget Make tst_qwidget pass on Wayland 2021-03-15 08:17:31 +01:00
qwidget_window Fix tst_qwidget_window::mouseMoveWithPopup on Wayland 2021-03-15 08:17:34 +01:00
qwidgetaction Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwidgetmetatype Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwidgetsvariant Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwindowcontainer Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00