diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-09-22 10:09:05 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-09-23 05:14:51 +0000 |
commit | 3ca980f2011384ee65bc8c49cbcacadf50872eb8 (patch) | |
tree | 0ddbd0a724e37b9630dcdad35482cc613597294a /tests/auto/drawer/data/header.qml | |
parent | 7193318330bc518255fb7ed008c144578f49b4bd (diff) |
Drawer: allow interaction outside modal background dimming
If a drawer is positioned below a toolbar, for instance, it must be
possible to interact with the buttons in the toolbar while the drawer
is open (without the drawer closing due to the interaction).
Change-Id: I5e07f66ad997ba6cf991a26fc6849ec51c9c0a22
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/drawer/data/header.qml')
-rw-r--r-- | tests/auto/drawer/data/header.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/drawer/data/header.qml b/tests/auto/drawer/data/header.qml index 9a352ffc..c74cc0c0 100644 --- a/tests/auto/drawer/data/header.qml +++ b/tests/auto/drawer/data/header.qml @@ -46,8 +46,14 @@ ApplicationWindow { height: 400 property alias drawer: drawer + property alias button: button - header: ToolBar { } + header: ToolBar { + ToolButton { + id: button + text: "=" + } + } Drawer { id: drawer |