// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: MIT import {Button, AboutSlint} from "std-widgets.slint"; export component AppWindow inherits Window { property count; preferred-width: 600px; preferred-height: 300px; VerticalLayout { AboutSlint { } Button { clicked => { count += 1; } text: "Press me"; } Text { text: count; } Rectangle { } } }