From 5efbb36cca0735ccdc32130d648a062c8dc59cdb Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 24 Oct 2025 14:05:20 +0800 Subject: wip --- ui/app-window.slint | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ui/app-window.slint (limited to 'ui/app-window.slint') diff --git a/ui/app-window.slint b/ui/app-window.slint new file mode 100644 index 0000000..2d5522c --- /dev/null +++ b/ui/app-window.slint @@ -0,0 +1,18 @@ +import { Button, VerticalBox } from "std-widgets.slint"; + +export component AppWindow inherits Window { + in-out property counter: 42; + callback request-increase-value(); + VerticalBox { + Text { + text: "Counter: \{root.counter}"; + } + + Button { + text: "Increase value"; + clicked => { + root.request-increase-value(); + } + } + } +} -- cgit v1.2.3