qt5base-lts/tests/auto/widgets
Volker Hilsheimer f9940b15f7 Fix breakage of QPushButton on macOS when a style sheet was set
Amends comment 6e1d70ae12, which
introduced SE_PushButtonBevel so that QPushButton could ignore clicks
outside of the button's bevel.

In the macOS style, make sure that the framerect we pass to
NSButton::alignmentRectForFrame is the rect we receive from QPushButton
in the style options. The frame property of the shared NSButton* object
might not be initialized.

In the style sheet style, handle SE_PushButtonBevel the same ways as
Contents and FocusRect, as it is not a separately styleable property.

Change-Id: I12eb1b046c864a02b34d276e6352e2e16d44231e
Fixes: QTBUG-84852
Fixes: QTBUG-84879
Task-number: QTBUG-81452
Pick-to: 5.15
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2020-06-11 15:52:25 +02:00
..
dialogs Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
effects Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
graphicsview Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
itemviews Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
kernel Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
styles Remove winrt 2020-06-06 20:25:49 +02:00
util Remove winrt 2020-06-06 20:25:49 +02:00
widgets Fix breakage of QPushButton on macOS when a style sheet was set 2020-06-11 15:52:25 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00