diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-16 16:48:34 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-16 16:48:34 +0100 |
| commit | f2251311a8523b6c24839ccd1e6834ef065c679f (patch) | |
| tree | 56d89508f564281c6a8ae09f3e7c05d214c87170 /demo | |
| parent | fa095de6cc8ec5a5b5c14091f2b3179ad7071876 (diff) | |
| download | QtXpl2-f2251311a8523b6c24839ccd1e6834ef065c679f.tar.gz QtXpl2-f2251311a8523b6c24839ccd1e6834ef065c679f.zip | |
Imaging (m/n) commands: start/stop, masks, image count, n reply
Diffstat (limited to 'demo')
| -rw-r--r-- | demo/CommandsPage.qml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demo/CommandsPage.qml b/demo/CommandsPage.qml index 2e4437b..5a084e6 100644 --- a/demo/CommandsPage.qml +++ b/demo/CommandsPage.qml @@ -123,6 +123,36 @@ ColumnLayout { } } + // --- Imaging --- + GroupBox { + Layout.fillWidth: true + enabled: Xpl2Client.connected + title: "Imaging" + + GridLayout { + anchors.fill: parent + columns: 4 + + Button { + text: "Start Imaging" + + onClicked: Xpl2Client.imagingStart(1.0) + } + + Button { + text: "Stop Imaging" + + onClicked: Xpl2Client.imagingStop() + } + + Button { + text: "Image Count" + + onClicked: Xpl2Client.imageCount() + } + } + } + // --- Printheads --- GroupBox { Layout.fillHeight: true |
