1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/lookup"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5
6PopupWindow := Rectangle {}
7Rectangle := Image {}
8TabWidget := Text {}
9VerticalLayout := PopupWindow {}
10
11
12TestCase := Window {
13 HorizontalLayout {
14 pw := PopupWindow {
15 background: orangered;
16 }
17 Rectangle {
18 colorize: red;
19 }
20 TabWidget {
21 text: "hello";
22 TouchArea { clicked => { parent.text = "world"; } }
23 }
24 VerticalLayout {
25 background: pw.background;
26 }
27 }
28}}
29