8.6.6.2.2. pymodaq_gui.plotting.items.crosshair module

class pymodaq_gui.plotting.items.crosshair.Crosshair(plotitem, orientation='both', pen=None)[source]

Bases: GraphicsObject

Methods

value()

value returns a tuple containing (x,y) positions of the crosshair

crosshair_dragged

get_positions

hide

isVisible

setVisible

set_crosshair_position

show

show_hide_crosshair

update_hline

update_vline

get_positions()[source]
hide()[source]
isVisible()[source]
setVisible(state)[source]
set_crosshair_position(xpos=0, ypos=0)[source]
show()[source]
show_hide_crosshair()[source]
update_hline()[source]
update_vline()[source]
value()[source]

value returns a tuple containing (x,y) positions of the crosshair

Z_VALUE = 100
crosshair_dragged
staticMetaObject = PySide6.QtCore.QMetaObject("Crosshair" inherits "GraphicsObject": Methods:   #19 type=Signal, signature=crosshair_dragged(double,double), parameters=double, double )