OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiAdvancedTextItem Class Reference
Inheritance diagram for uiAdvancedTextItem:
[legend]

Public Member Functions

 uiAdvancedTextItem (bool centered=false)
 
 uiAdvancedTextItem (const uiString &, const Alignment &=Alignment(Alignment::Left, Alignment::Top), bool centered=false)
 
 ~uiAdvancedTextItem ()
 
Alignment getAlignment () const
 
Color getDefaultTextColor () const
 
uiFontgetFont () const
 
uiString getPlainText () const
 
float getTextWidth () const
 
void setAlignment (const Alignment &)
 
void setDefaultTextColor (const Color &)
 
void setFont (const FontData &)
 
void setPlainText (const uiString &)
 
void setTextWidth (float)
 
void setTextIteraction (bool)
 

Protected Member Functions

QGraphicsItem * mkQtObj ()
 
virtual void stPos (float, float)
 

Protected Attributes

Alignment al_
 
bool textiscentered_
 
ODGraphicsAdvancedTextItemqtextitem_
 

Detailed Description

Constructor & Destructor Documentation

uiAdvancedTextItem::uiAdvancedTextItem ( bool  centered = false)
uiAdvancedTextItem::uiAdvancedTextItem ( const uiString ,
const Alignment = Alignment(Alignment::Left, Alignment::Top),
bool  centered = false 
)
uiAdvancedTextItem::~uiAdvancedTextItem ( )

Member Function Documentation

Alignment uiAdvancedTextItem::getAlignment ( ) const
Color uiAdvancedTextItem::getDefaultTextColor ( ) const
uiFont& uiAdvancedTextItem::getFont ( ) const
uiString uiAdvancedTextItem::getPlainText ( ) const
float uiAdvancedTextItem::getTextWidth ( ) const
QGraphicsItem* uiAdvancedTextItem::mkQtObj ( )
protected
void uiAdvancedTextItem::setAlignment ( const Alignment )
void uiAdvancedTextItem::setDefaultTextColor ( const Color )
void uiAdvancedTextItem::setFont ( const FontData )
void uiAdvancedTextItem::setPlainText ( const uiString )
void uiAdvancedTextItem::setTextIteraction ( bool  )
void uiAdvancedTextItem::setTextWidth ( float  )
virtual void uiAdvancedTextItem::stPos ( float  ,
float   
)
protectedvirtual

Member Data Documentation

Alignment uiAdvancedTextItem::al_
protected
ODGraphicsAdvancedTextItem* uiAdvancedTextItem::qtextitem_
protected
bool uiAdvancedTextItem::textiscentered_
protected

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