From e57d85368f19d1d8fbcfe9b29ab9d59a20332995 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 26 Sep 2017 09:05:16 +0200 Subject: testbench: add modal and dim states for Dialog Change-Id: Ic7ed3b9712bb0e0e3e3eaa74ab10877b9ed86069 Reviewed-by: J-P Nurmi --- tests/manual/testbench/controls/Dialog.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/manual') diff --git a/tests/manual/testbench/controls/Dialog.qml b/tests/manual/testbench/controls/Dialog.qml index b05ef1e3..c550cdae 100644 --- a/tests/manual/testbench/controls/Dialog.qml +++ b/tests/manual/testbench/controls/Dialog.qml @@ -57,7 +57,9 @@ QtObject { property string customControlName: qsTr("Dialog") property var supportedStates: [ - [] + [], + ["modal"], + ["dim"] ] property Component component: Button { @@ -73,6 +75,8 @@ QtObject { y: (window.height - height) / 2 standardButtons: Dialog.Ok | Dialog.Cancel parent: window.contentItem + modal: is("modal") + dim: is("dim") Label { text: "Lorem ipsum dolor sit amet, \nconsectetuer adipiscing elit, \n" -- cgit v1.2.3