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() } } }