MythTV  master
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
FontMap Class Reference

#include <mythfontproperties.h>

Public Member Functions

 FontMap ()=default
 
MythFontPropertiesGetFont (const QString &text)
 
bool AddFont (const QString &text, MythFontProperties *fontProp)
 
bool Contains (const QString &text)
 
void Clear (void)
 
void Rescale (int height=0)
 

Static Public Member Functions

static FontMapGetGlobalFontMap (void)
 

Private Attributes

QMap< QString, MythFontPropertiesm_FontMap
 

Detailed Description

Definition at line 86 of file mythfontproperties.h.

Constructor & Destructor Documentation

◆ FontMap()

FontMap::FontMap ( )
default

Referenced by GetGlobalFontMap().

Member Function Documentation

◆ GetFont()

MythFontProperties * FontMap::GetFont ( const QString &  text)

◆ AddFont()

bool FontMap::AddFont ( const QString &  text,
MythFontProperties fontProp 
)

◆ Contains()

bool FontMap::Contains ( const QString &  text)

Definition at line 533 of file mythfontproperties.cpp.

◆ Clear()

void FontMap::Clear ( void  )

Definition at line 538 of file mythfontproperties.cpp.

Referenced by MythThemeBase::Reload(), and MythThemeBase::~MythThemeBase().

◆ Rescale()

void FontMap::Rescale ( int  height = 0)

Definition at line 546 of file mythfontproperties.cpp.

◆ GetGlobalFontMap()

FontMap * FontMap::GetGlobalFontMap ( void  )
static

Definition at line 561 of file mythfontproperties.cpp.

Referenced by GetGlobalFontMap().

Member Data Documentation

◆ m_FontMap

QMap<QString, MythFontProperties> FontMap::m_FontMap
private

Definition at line 101 of file mythfontproperties.h.

Referenced by AddFont(), Clear(), Contains(), GetFont(), and Rescale().


The documentation for this class was generated from the following files: