add qml demo app

This commit is contained in:
2026-07-25 16:58:01 -05:00
parent d6792bf0e0
commit 815c77decb
6 changed files with 148 additions and 6 deletions

34
client/ui/Main.qml Normal file
View File

@@ -0,0 +1,34 @@
import QtQuick
import QtQuick.Controls
import accordion
ApplicationWindow {
visible: true
width: 1200
height: 800
title: "accordion"
TimerComponent {
id: timerComponent
}
Column {
anchors.centerIn: parent
spacing: 20
Label {
text: timerComponent.seconds + " s"
font.pixelSize: 32
horizontalAlignment: Text.AlignHCenter
}
Button {
text: "Reset"
onClicked: timerComponent.reset()
}
}
}