scope checkpoint

This commit is contained in:
2026-06-13 16:36:33 -05:00
parent fcc24c5e3e
commit dbc1db37e1
4 changed files with 99 additions and 7 deletions

View File

@@ -6,8 +6,8 @@ import AppDemo
ApplicationWindow {
visible: true
width: 600
height: 400
width: 1200
height: 800
title: "sonobulus"
TimerComponent {
@@ -49,4 +49,20 @@ ApplicationWindow {
}
}
Scope {
id: scope
width: 600
height: 300
// this timer triggers a constant update on the scope's canvas, calls its draw() each time
Timer {
id: updateTimer
interval: 16 // ~60 fps
running: true
repeat: true
onTriggered: scope.update()
}
}
}