mantidimaging.gui.widgets.indicator_icon.view module

class mantidimaging.gui.widgets.indicator_icon.view.IndicatorIconView(parent: ViewBox, icon_path: str, icon_pos: int, color: List[int] | None = None, message: str = '')[source]

Bases: QGraphicsPixmapItem

add_actions(actions: List[Tuple[str, Callable]])[source]
hoverEnterEvent(self, event: Optional[QGraphicsSceneHoverEvent])[source]
hoverLeaveEvent(self, event: Optional[QGraphicsSceneHoverEvent])[source]
mouseClickEvent(event)[source]
position_icon()[source]
set_icon(icon_path: str, color: List[int] | None = None)[source]