FontParameters Class Reference

Public Member Functions

 FontParameters (QWidget *parent, float fontScale=1.0f)
 
void update ()
 
QFont & getFont ()
 
QFont & getEmojiFont ()
 
void setFont (const QFont &font)
 
void setEmojiFont (const QFont &emojiFont)
 
int getBaseline () const
 
int getWidth () const
 
int getHeight () const
 
int getOffset () const
 

Constructor & Destructor Documentation

◆ FontParameters()

FontParameters::FontParameters ( QWidget *  parent,
float  fontScale = 1.0f 
)

Member Function Documentation

◆ getBaseline()

int FontParameters::getBaseline ( ) const
inline

◆ getEmojiFont()

QFont & FontParameters::getEmojiFont ( )
inline

◆ getFont()

QFont & FontParameters::getFont ( )
inline

◆ getHeight()

int FontParameters::getHeight ( ) const
inline

◆ getOffset()

int FontParameters::getOffset ( ) const
inline

◆ getWidth()

int FontParameters::getWidth ( ) const
inline

◆ setEmojiFont()

void FontParameters::setEmojiFont ( const QFont &  emojiFont)

◆ setFont()

void FontParameters::setFont ( const QFont &  font)

◆ update()

void FontParameters::update ( )

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