OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODGraphicsPixmapItem Class Reference
Inheritance diagram for ODGraphicsPixmapItem:
[legend]

Public Member Functions

 ODGraphicsPixmapItem ()
 
 ODGraphicsPixmapItem (const uiPixmap &)
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setPaintInCenter (bool)
 
int type () const override
 

Protected Member Functions

void hoverEnterEvent (QGraphicsSceneHoverEvent *) override
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

bool paintincenter_ = false
 

Constructor & Destructor Documentation

◆ ODGraphicsPixmapItem() [1/2]

ODGraphicsPixmapItem::ODGraphicsPixmapItem ( )

◆ ODGraphicsPixmapItem() [2/2]

ODGraphicsPixmapItem::ODGraphicsPixmapItem ( const uiPixmap )

Member Function Documentation

◆ hoverEnterEvent()

void ODGraphicsPixmapItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  )
overrideprotected

◆ hoverLeaveEvent()

void ODGraphicsPixmapItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  )
overrideprotected

◆ mouseMoveEvent()

void ODGraphicsPixmapItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

void ODGraphicsPixmapItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
override

◆ setPaintInCenter()

void ODGraphicsPixmapItem::setPaintInCenter ( bool  )

◆ type()

int ODGraphicsPixmapItem::type ( ) const
inlineoverride

Member Data Documentation

◆ paintincenter_

bool ODGraphicsPixmapItem::paintincenter_ = false
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024