1 | #![allow (deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/issues"# ] |
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 | |
6 | export struct Color { |
7 | SharedVector: string, |
8 | } |
9 | |
10 | export struct SharedString { |
11 | Model: string, |
12 | Component: int, |
13 | } |
14 | |
15 | export struct ComponentHandle { |
16 | SharedString: string, |
17 | } |
18 | |
19 | export struct Model { |
20 | _self: Color, |
21 | } |
22 | |
23 | export component TestCase { |
24 | in-out property<Model> Model: {_self: { SharedVector: "ddd" }}; |
25 | in-out property<SharedString> SharedString: {Model: Model._self.SharedVector }; |
26 | in-out property<[ComponentHandle]> Rectangle: [{SharedString: SharedString.Model}]; |
27 | } |
28 | |
29 | } |
30 | |