diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-09-26 09:05:16 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-09-26 07:39:57 +0000 |
commit | e57d85368f19d1d8fbcfe9b29ab9d59a20332995 (patch) | |
tree | e857565809c6d06f8a5f8338980ac696df35a363 | |
parent | f11be4cf355c89dc4afc05159f7ebb6674191cd3 (diff) |
testbench: add modal and dim states for Dialog
Change-Id: Ic7ed3b9712bb0e0e3e3eaa74ab10877b9ed86069
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r-- | tests/manual/testbench/controls/Dialog.qml | 6 |
1 files changed, 5 insertions, 1 deletions
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" |