Add test files for manual verification of the Slint LSP integration: - hello.slint: Sample Slint component with common UI elements - TEST_RESULTS.md: Checklist template for testing LSP features Co-Authored-By: Claude (auto) <noreply@anthropic.com>
23 lines
424 B
Plaintext
23 lines
424 B
Plaintext
import { Button, VerticalBox } from "std-widgets.slint";
|
|
|
|
export component HelloWorld inherits Window {
|
|
width: 400px;
|
|
height: 300px;
|
|
|
|
VerticalBox {
|
|
alignment: center;
|
|
|
|
Text {
|
|
text: "Hello, World!";
|
|
font-size: 24px;
|
|
}
|
|
|
|
Button {
|
|
text: "Click me";
|
|
clicked => {
|
|
debug("Button clicked!");
|
|
}
|
|
}
|
|
}
|
|
}
|