aboutsummaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/CommandsPage.qml30
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