This commit is contained in:
2026-06-05 22:26:39 -05:00
parent de199fd8a1
commit 6fba54f9c0
6 changed files with 154 additions and 11 deletions

33
src/Main.qml Normal file
View File

@@ -0,0 +1,33 @@
import QtQuick
import QtQuick.Controls
import AppDemo
ApplicationWindow {
visible: true
width: 600
height: 400
title: "sonobulus"
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()
}
}
}