OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
uiFontList Class Reference

#include <uifont.h>

Inheritance diagram for uiFontList:
[legend]

Public Member Functions

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

Protected Member Functions

uiFontgtFont (const char *, const FontData *=0, const QFont *=0)
 
void initialize ()
 
void use (const Settings &)
 

Protected Attributes

ObjectSet< uiFontfonts_
 

Private Member Functions

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

Private Attributes

bool inited_ = false
 

Friends

class uiFontSettingsGroup
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiFontList()

uiFontList::uiFontList ( )

◆ ~uiFontList()

uiFontList::~uiFontList ( )

Member Function Documentation

◆ add() [1/2]

uiFont & uiFontList::add ( const char * ky,
const char * f = FontData::defaultFamily(),
int ptsz = FontData::defaultPointSize(),
FontData::Weight w = FontData::defaultWeight(),
bool it = FontData::defaultItalic() )

◆ add() [2/2]

uiFont & uiFontList::add ( const char * ky,
const FontData &  )

◆ addOldGuess()

void uiFontList::addOldGuess ( const IOPar & ,
const char *  )
private

◆ fonts() [1/2]

ObjectSet< uiFont > & uiFontList::fonts ( )
inline

◆ fonts() [2/2]

const ObjectSet< uiFont > & uiFontList::fonts ( ) const
inline

◆ get() [1/2]

uiFont & uiFontList::get ( const char * ky = 0)

◆ get() [2/2]

uiFont & uiFontList::get ( FontData::StdSz )

◆ getFromQfnt()

uiFont & uiFontList::getFromQfnt ( QFont * )

◆ gtFont()

uiFont & uiFontList::gtFont ( const char * ,
const FontData * = 0,
const QFont * = 0 )
protected

◆ initialize()

void uiFontList::initialize ( )
protected

◆ key()

const char * uiFontList::key ( int )

◆ listKeys()

void uiFontList::listKeys ( BufferStringSet & )

◆ mOD_DisableCopy()

uiFontList::mOD_DisableCopy ( uiFontList ) &

◆ nrKeys()

int uiFontList::nrKeys ( )

◆ removeOldEntries()

void uiFontList::removeOldEntries ( Settings & )
private

◆ setDefaults()

void uiFontList::setDefaults ( )
private

◆ update()

void uiFontList::update ( Settings & )

◆ use()

void uiFontList::use ( const Settings & )
protected

Friends And Related Symbol Documentation

◆ uiFontSettingsGroup

friend class uiFontSettingsGroup
friend

Member Data Documentation

◆ fonts_

ObjectSet<uiFont> uiFontList::fonts_
protected

◆ inited_

bool uiFontList::inited_ = false
private

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