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

Public Member Functions

 uiFontList ()
 
 ~uiFontList ()
 
int nrKeys ()
 
const char * key (int)
 
void listKeys (BufferStringSet &)
 
const ObjectSet< uiFont > & fonts () const
 
ObjectSet< uiFont > & fonts ()
 
uiFontget (const char *ky=0)
 
uiFontget (FontData::StdSz)
 
uiFontgetFromQfnt (mQtclass(QFont *))
 
uiFontadd (const char *ky, const FontData &)
 
uiFontadd (const char *ky, const char *f=FontData::defaultFamily(), int ptsz=FontData::defaultPointSize(), FontData::Weight w=FontData::defaultWeight(), bool it=FontData::defaultItalic())
 
void update (Settings &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static uiFontListgetInst ()
 

Protected Member Functions

void initialise ()
 
uiFontgtFont (const char *, const FontData *=0, const mQtclass(QFont *)=0)
 
void use (const Settings &)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ObjectSet< uiFontfonts_
 

Private Member Functions

void addOldGuess (const IOPar &, const char *)
 
void removeOldEntries (Settings &)
 
void setDefaults ()
 

Private Attributes

bool inited_
 

Friends

class uiFontSettingsGroup
 

Detailed Description

Constructor & Destructor Documentation

uiFontList::uiFontList ( )
inline
uiFontList::~uiFontList ( )

Member Function Documentation

uiFont& uiFontList::add ( const char *  ky,
const FontData  
)
uiFont& uiFontList::add ( const char *  ky,
const char *  f = FontData::defaultFamily(),
int  ptsz = FontData::defaultPointSize(),
FontData::Weight  w = FontData::defaultWeight(),
bool  it = FontData::defaultItalic() 
)
void uiFontList::addOldGuess ( const IOPar ,
const char *   
)
private
const ObjectSet<uiFont>& uiFontList::fonts ( ) const
inline
ObjectSet<uiFont>& uiFontList::fonts ( )
inline
uiFont& uiFontList::get ( const char *  ky = 0)
uiFont& uiFontList::get ( FontData::StdSz  )
uiFont& uiFontList::getFromQfnt ( mQtclass(QFont *)  )
static uiFontList& uiFontList::getInst ( )
static
uiFont& uiFontList::gtFont ( const char *  ,
const FontData = 0,
const   mQtclassQFont * = 0 
)
protected
void uiFontList::initialise ( )
protected
const char* uiFontList::key ( int  )
void uiFontList::listKeys ( BufferStringSet )
int uiFontList::nrKeys ( )
void uiFontList::removeOldEntries ( Settings )
private
void uiFontList::setDefaults ( )
private
void uiFontList::update ( Settings )
void uiFontList::use ( const Settings )
protected

Friends And Related Function Documentation

friend class uiFontSettingsGroup
friend

Member Data Documentation

ObjectSet<uiFont> uiFontList::fonts_
protected
bool uiFontList::inited_
private

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