TickItem in Waveform to indicate motor position
It is desirable to see the current position of a motor within a plot. We should add a toolbar option to activate/deactivate the tick_item as an indicator on the x-axis within the new Waveform widget. The feature should be smart enough to realize when plotting is activated against a device, and only show the indicator in that scenario. It should become invisible once plotting is changed to index or timestamp.
The TickItem was used in the former form of the Alignment1D GUI, which was deprecated (!480 (merged)). A code snippet of the implementation within the alignment GUI is placed below.
self.waveform.waveform.tick_item.add_to_plot()
positioner_box = self.ui.findChild(PositionerGroup)
positioner_box.position_update.connect(self.waveform.waveform.tick_item.set_position)
self.waveform.waveform.tick_item.set_position(0)
Note: The code snippet is based on the old plotting suite. There are most likely changes for the new Waveform