OpendTect
6.6
|
Public Member Functions | |
virtual | ~uiFont () |
int | ascent () const |
int | avgWidth () const |
int | descent () const |
FontData | fontData () const |
int | height () const |
const char * | key () const |
int | leading () const |
int | maxWidth () const |
uiFont & | operator= (const uiFont &) |
const QFont & | qFont () const |
void | setFontData (const FontData &) |
Updates internal QFont and QFontMetrics. More... | |
int | width (const uiString &) const |
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. More... | |
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. More... | |
void | stopReceivingNotifications () const |
Static Public Member Functions | |
static QFont * | createQFont (const FontData &) |
static void | getFontData (FontData &, const QFont &) |
static void | setFontData (QFont &, const FontData &) |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
Notifier< uiFont > | changed |
Protected Member Functions | |
uiFont (const char *ky, const char *family, int ps=FontData::defaultPointSize(), FontData::Weight w=FontData::defaultWeight(), bool it=FontData::defaultItalic()) | |
uiFont must be created through the uiFontList More... | |
uiFont (const char *ky, FontData fd=FontData()) | |
uiFont (const uiFont &) | |
void | updateMetrics () |
Protected Attributes | |
BufferString | key_ |
QFont * | qfont_ |
QFontMetrics & | qfontmetrics_ |
Friends | |
class | uiFontList |
<>
|
virtual |
|
protected |
uiFont must be created through the uiFontList
|
protected |
int uiFont::ascent | ( | ) | const |
int uiFont::avgWidth | ( | ) | const |
|
static |
int uiFont::descent | ( | ) | const |
FontData uiFont::fontData | ( | ) | const |
|
static |
int uiFont::height | ( | ) | const |
|
inline |
int uiFont::leading | ( | ) | const |
int uiFont::maxWidth | ( | ) | const |
|
inline |
void uiFont::setFontData | ( | const FontData & | ) |
Updates internal QFont and QFontMetrics.
|
static |
|
protected |
int uiFont::width | ( | const uiString & | ) | const |
|
friend |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022