1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4TestCase := Rectangle {
5 property<string> text: "init";
6 property<string> text2: { debug(text); text }
7 callback foo;
8 foo => {
9 debug("callback");
10 }
11 background: { test; text2; blue }
12
13 im := Image {}
14
15 property <bool> test: {
16 debug();
17 debug(42, 42px, width / 5s, { x: 42, y: im.image_fit, z: { d: im.opacity } }, root.background, im.source);
18 true;
19 }
20}
21