From 98ef1336b6b52d56a75b6af9c5a92b1583f2b126 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Fri, 6 Mar 2026 23:22:23 +0100 Subject: use new url for profile, add more garbage --- Main.qml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'Main.qml') diff --git a/Main.qml b/Main.qml index d6451e2..5b7594d 100644 --- a/Main.qml +++ b/Main.qml @@ -132,6 +132,7 @@ ApplicationWindow { json["exposureTime"] = exposureTimeSpinBox.value; json["autoGain"] = enableAutoGainCheckbox.checked; json["gain"] = gainSpinBox.value / 10.; + json["triggerExposureDelayUs"] = triggerExposureDelayUsSpinBox.value; json["laserLevel"] = laserLevelSpinBox.value; console.log(JSON.stringify(json)); @@ -240,7 +241,6 @@ ApplicationWindow { color: "green" } - /* Label { id: maxDiffLabel @@ -312,7 +312,7 @@ ApplicationWindow { text: "Measurement: " + measurementCounter } -*/ + Label { Layout.fillWidth: true Layout.columnSpan: 2 @@ -382,6 +382,25 @@ ApplicationWindow { onValueChanged: writeParams() } + Label { + text: qsTr("Trigger Exp Delay (us):") + } + + SpinBox { + id: triggerExposureDelayUsSpinBox + + Layout.fillWidth: true + Layout.minimumWidth: implicitWidth + + from: 0 + // TODO: fix this bullshit in DoubleSpinBox + to: 10000 + stepSize: 1 + editable: true + + onValueChanged: writeParams() + } + Label { text: qsTr("Laser level (1/50K):") } -- cgit v1.3