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 ( )

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 566 of file mythfontproperties.cpp.

◆ Clear()

void FontMap::Clear ( void  )

Definition at line 571 of file mythfontproperties.cpp.

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

◆ Rescale()

void FontMap::Rescale ( int  height = 0)

Definition at line 579 of file mythfontproperties.cpp.

◆ GetGlobalFontMap()

FontMap * FontMap::GetGlobalFontMap ( void  )

Definition at line 594 of file mythfontproperties.cpp.

Referenced by GetGlobalFontMap().

Member Data Documentation

◆ m_fontMap

QMap<QString, MythFontProperties> FontMap::m_fontMap

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: