Files
dashboard/ui/main.slint
2026-08-06 17:44:56 +02:00

22 lines
514 B
Plaintext

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
import { LineEdit } from "std-widgets.slint";
// The window the user interacts with. Edits to the inputs propagate to
// the SystemTrayIcon instance via the host language's callbacks.
export component MainWindow inherits Window {
title: "Dashboard";
preferred-width: 1024px;
preferred-height: 600px;
in property <string> text: "Hello World";
callback set-label(string);
Text {
text: text;
}
}