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]]) None[source]
hoverEnterEvent(self, event: Optional[QGraphicsSceneHoverEvent])[source]
hoverLeaveEvent(self, event: Optional[QGraphicsSceneHoverEvent])[source]
mouseClickEvent(event) None[source]
position_icon() None[source]
setVisible(self, visible: bool)[source]
set_icon(icon_path: str, color: List[int] | None = None) None[source]
set_message(message)[source]