Add variations of QPushButton with default property set
Change-Id: Ie928575b131c7031da9a4d735159ba3d14ccad6c Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
84c9fcffee
commit
95907f9be4
@ -271,6 +271,12 @@ void tst_Widgets::tst_QPushButton()
|
||||
QBASELINE_CHECK(takeSnapshot(), "down");
|
||||
testButton->setDown(false);
|
||||
QBASELINE_CHECK(takeSnapshot(), "up");
|
||||
|
||||
testButton->setDefault(true);
|
||||
QBASELINE_CHECK(takeSnapshot(), "default_up");
|
||||
testButton->setDown(true);
|
||||
QBASELINE_CHECK(takeSnapshot(), "default_down");
|
||||
testButton->setDown(false);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user