mad_gui.plot_tools.labels.BaseEventLabel#
- class mad_gui.plot_tools.labels.BaseEventLabel(parent, pos, description: str | Sequence[str] | None = None, belongs_to_region_label: bool | None = False, min_height: float | None = 0, max_height: float | None = 1)[source]#
Bases:
InfiniteLine
Methods
hoverEvent
(event)Actions when hovering over the InfiniteLine`
mousePressEvent
(self, event)make_editable
make_readonly
make_removable
mouseDragEvent
- descriptions = {}#
- hoverEvent(event: QHoverEvent)[source]#
Actions when hovering over the InfiniteLine`
- max_height = 1#
- min_height = 0#
- mousePressEvent(self, event: QGraphicsSceneMouseEvent)[source]#
- name = 'Event Label'#