CursorLocation¶
- class sofia_redux.visualization.display.cursor_location.CursorLocation(parent: Any)[source]¶
Bases:
QDialog
,Ui_Dialog
Cursor location display widget.
- Parameters:
- parentView
Parent view widget for the dialog window.
- Attributes:
- pointslist
Cursor data points to display in the widget.
Methods Summary
closeEvent
(a0)Close the window.
update_points
(data_coords, cursor_coords)Update displayed data points.
Methods Documentation
- closeEvent(a0: QCloseEvent) None [source]¶
Close the window.
Calls the parent
closed_cursor_popout
method.- Parameters:
- a0QtGui.QCloseEvent
The close event.
- update_points(data_coords: Dict, cursor_coords: List | Tuple) None [source]¶
Update displayed data points.
- Parameters:
- data_coordsdict
Keys are filenames; values are lists of dicts containing ‘order’, ‘bin’, ‘bin_x’, ‘bin_y’, ‘x_field’, ‘y_field’, ‘color’, and ‘visible’ values to display.
- cursor_coordstuple or list
Current cursor (x, y) coordinates.