#include <QFontSet.h>
Public Member Functions | |
QFontSet () | |
Constructs new QFontSet object. | |
QFontSet (const QFont &defaultFont, const QFont &fixedFont=QFont("Courier", 9)) | |
Constructs new QFontSet object. | |
QFontSet (const QFontSet &fontSet) | |
Copy constructor. | |
const QFont & | defaultFont () const |
Returns the default font. | |
void | setDefaultFont (const QFont &font) |
Sets the default font. | |
const QFont & | fixedFont () const |
Returns the fixed font. | |
void | setFixedFont (const QFont &font) |
Sets the fixed font. | |
const QFont & | componentFont () const |
Returns the component font. | |
void | setComponentFont (const QFont &font) |
Sets the component font. | |
const QFont & | buttonFont () const |
Returns the button font. | |
void | setButtonFont (const QFont &font) |
Sets the button font. | |
const QFont & | menuFont () const |
Returns the menu font. | |
void | setMenuFont (const QFont &font) |
Sets the menu font. | |
const QFont & | menuBarFont () const |
Returns the menu bar font. | |
void | setMenuBarFont (const QFont &font) |
Sets the menu bar font. | |
const QFont & | textFont () const |
Returns the text font. | |
void | setTextFont (const QFont &font) |
Sets the text font. | |
const QFont & | toolTipFont () const |
Returns the tool tip font. | |
void | setToolTipFont (const QFont &font) |
Sets the tool tip font. |
QFontSet::QFontSet | ( | const QFont & | defaultFont, | |
const QFont & | fixedFont = QFont("Courier", 9) | |||
) |
QFontSet::QFontSet | ( | const QFontSet & | fontSet | ) |
Copy constructor.
fontSet | the font set |
const QFont & QFontSet::defaultFont | ( | ) | const |
Returns the default font.
void QFontSet::setDefaultFont | ( | const QFont & | font | ) |
Sets the default font.
font | the default font |
const QFont & QFontSet::fixedFont | ( | ) | const |
Returns the fixed font.
void QFontSet::setFixedFont | ( | const QFont & | font | ) |
Sets the fixed font.
font | the fixed font |
const QFont & QFontSet::componentFont | ( | ) | const |
Returns the component font.
void QFontSet::setComponentFont | ( | const QFont & | font | ) |
Sets the component font.
font | the component font |
const QFont & QFontSet::buttonFont | ( | ) | const |
Returns the button font.
void QFontSet::setButtonFont | ( | const QFont & | font | ) |
Sets the button font.
font | the button font |
const QFont & QFontSet::menuFont | ( | ) | const |
Returns the menu font.
void QFontSet::setMenuFont | ( | const QFont & | font | ) |
Sets the menu font.
font | the menu font |
const QFont & QFontSet::menuBarFont | ( | ) | const |
Returns the menu bar font.
void QFontSet::setMenuBarFont | ( | const QFont & | font | ) |
Sets the menu bar font.
font | the menu bar font |
const QFont & QFontSet::textFont | ( | ) | const |
Returns the text font.
void QFontSet::setTextFont | ( | const QFont & | font | ) |
Sets the text font.
font | the text font |
const QFont & QFontSet::toolTipFont | ( | ) | const |
Returns the tool tip font.
void QFontSet::setToolTipFont | ( | const QFont & | font | ) |
Sets the tool tip font.
font | the tool tip font |