revision of example 'debug-ui'

This commit is contained in:
pls.153 2025-10-18 16:51:19 +02:00
parent 3b1934f3bf
commit 933f36fa9f
2 changed files with 14 additions and 5 deletions

View file

@ -23,15 +23,22 @@ StackView {
// fonts (must stay here, before using them below)
FontLoader { id: fontHack; source: "fonts/Hack-Regular.ttf" } // code
FontLoader { id: fontHack; source: "fonts/Hack-Regular.ttf" }
FontLoader { id: fontHackBold; source: "fonts/Hack-Bold.ttf" }
FontLoader { id: fontAwesome; source: "fonts/fontawesome-webfont.ttf" } // icons
// items
Rectangle {
id: mainRect
color: "lavender"
color: "orange"
Button {
id: button
anchors.centerIn: parent
text: "Click (or wait 10 seconds)"
onClicked: Lisp.call("app:crash?")
}
}
// dialogs