summaryrefslogtreecommitdiff
path: root/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Main.qml')
-rw-r--r--Main.qml23
1 files changed, 21 insertions, 2 deletions
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
@@ -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):")
}