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

Public Member Functions

 ODGraphicsTextItem ()
 
QRectF boundingRect () const override
 
Alignment getAlignment () const
 
void overrulePaint (bool yn)
 
void setAlignment (const Alignment &al)
 
void setCentered ()
 

Protected Member Functions

void contextMenuEvent (QGraphicsSceneContextMenuEvent *) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 

Protected Attributes

Alignment al_
 
bool ownpaint_ = false
 

Constructor & Destructor Documentation

◆ ODGraphicsTextItem()

ODGraphicsTextItem::ODGraphicsTextItem ( )

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsTextItem::boundingRect ( ) const
override

◆ contextMenuEvent()

void ODGraphicsTextItem::contextMenuEvent ( QGraphicsSceneContextMenuEvent *  )
overrideprotected

◆ getAlignment()

Alignment ODGraphicsTextItem::getAlignment ( ) const
inline

◆ mouseMoveEvent()

void ODGraphicsTextItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ overrulePaint()

void ODGraphicsTextItem::overrulePaint ( bool  yn)
inline

◆ paint()

void ODGraphicsTextItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
overrideprotected

◆ setAlignment()

void ODGraphicsTextItem::setAlignment ( const Alignment al)
inline

◆ setCentered()

void ODGraphicsTextItem::setCentered ( )

Member Data Documentation

◆ al_

Alignment ODGraphicsTextItem::al_
protected

◆ ownpaint_

bool ODGraphicsTextItem::ownpaint_ = false
protected

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