OpendTect-6_4  6.4
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
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
 
void setText (const QString &)
 
void setFont (const QFont &)
 
QFont getFont () const
 
void setVAlignment (const Qt::Alignment &)
 
void setHAlignment (const Qt::Alignment &)
 
virtual int type () const
 

Protected Member Functions

virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *)
 
QPointF getAlignment () const
 

Protected Attributes

QFont font_
 
QString text_
 
Qt::Alignment hal_
 
Qt::Alignment val_
 

Constructor & Destructor Documentation

ODGraphicsTextItem::ODGraphicsTextItem ( )

Member Function Documentation

QRectF ODGraphicsTextItem::boundingRect ( ) const
QPointF ODGraphicsTextItem::getAlignment ( ) const
protected
QFont ODGraphicsTextItem::getFont ( ) const
virtual void ODGraphicsTextItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
protectedvirtual
void ODGraphicsTextItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
void ODGraphicsTextItem::setFont ( const QFont &  )
void ODGraphicsTextItem::setHAlignment ( const Qt::Alignment &  )
void ODGraphicsTextItem::setText ( const QString &  )
void ODGraphicsTextItem::setVAlignment ( const Qt::Alignment &  )
virtual int ODGraphicsTextItem::type ( ) const
inlinevirtual

Member Data Documentation

QFont ODGraphicsTextItem::font_
protected
Qt::Alignment ODGraphicsTextItem::hal_
protected
QString ODGraphicsTextItem::text_
protected
Qt::Alignment ODGraphicsTextItem::val_
protected

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