Add alignment gui 1d v1
Compare changes
- appel_c authored
@@ -124,6 +124,7 @@ class DapComboBox(BECWidget, QWidget):
@@ -133,6 +134,7 @@ class DapComboBox(BECWidget, QWidget):
Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.
Please migrate repositories to https://gitea.psi.ch - if you need help, contact gitea@psi.ch
This MR adds a first draft for the alignment GUI. It is a preliminary version of the GUI which is not yet fully functional and can produce popup errors. Those are mostly link to its usage with its components which we will tackle in refactoring of the individual components. For the moment, I suggest to merge it and tackle the refactoring in separate MRs. A list of toDos will be added below.
relates to #350, #349 (closed), #348 (closed), #322 (closed), #323 (closed), #329 (closed)
TickItem
is attached to the layout and plotted below the Axis of the WaveformWidget, while the ArrowItem
is attached to the plot_item allowing to follow the 1D curve or in future point to a specific pixel in the 2D plot. They consider log scale (note: the arrowItem is a bit off when moved to negative x values. There is a manual fix with the ViewBox.)Plot Indicators:
Screen_Recording_2024-09-11_at_20.09.01
The full app is best tested with this branch. The recording was too large. Be aware, there are 3 prompt errors upon starting due to the filters in the comboboxes, and one more error if you change the motor. This is to be tackled via separate MRs.
ToDo list for future improvements of the GUI:
BECDeviceBox
. Changing the filter after stating the GUI is generating errors because the currentTextChanged
signal is already hooked up to adding a plot to the BECWaveformWidget
. This creates issues since we cycle through devices that cannot be plotted, i.e. have no hinted signals/ no signals of type kind.normal/hinted at all. relates to these two issues #323 (closed) #322 (closed) #329 (closed)