diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2026-03-06 23:22:23 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2026-03-06 23:22:23 +0100 |
| commit | 98ef1336b6b52d56a75b6af9c5a92b1583f2b126 (patch) | |
| tree | 8af2ba0c2031cc54adab942cf5931af4cc8217b8 /Main.qml | |
| parent | e42a33a6758a35707c0bb90d59f74ed0bd11f056 (diff) | |
Diffstat (limited to 'Main.qml')
| -rw-r--r-- | Main.qml | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -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 @@ -383,6 +383,25 @@ ApplicationWindow { } 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):") } |
