#include <klfrelativefont.h>


Public Member Functions | |
| KLFRelativeFont (QWidget *parent) | |
| KLFRelativeFont (QWidget *reference, QWidget *target) | |
| virtual | ~KLFRelativeFont () |
| QString | forceFamily () const |
| int | relPointSize () const |
| void | setRelPointSize (int relps) |
| void | setForceFamily (const QString &family) |
| void | releaseForceFamily () |
| void | setForceBold (bool bold) |
| void | setForceWeight (int weight) |
| void | releaseForceWeight () |
| void | setForceItalic (bool it) |
| void | setForceStyle (int style) |
| void | releaseForceStyle () |
Protected Member Functions | |
| virtual QFont | calculateRelativeFont (const QFont &baseFont) |
Definition at line 69 of file klfrelativefont.h.
| KLFRelativeFont::KLFRelativeFont | ( | QWidget * | parent | ) |
Definition at line 137 of file klfrelativefont.cpp.
| KLFRelativeFont::KLFRelativeFont | ( | QWidget * | reference, |
| QWidget * | target | ||
| ) |
Definition at line 142 of file klfrelativefont.cpp.
| KLFRelativeFont::~KLFRelativeFont | ( | ) | [virtual] |
Definition at line 160 of file klfrelativefont.cpp.
| QFont KLFRelativeFont::calculateRelativeFont | ( | const QFont & | baseFont | ) | [protected, virtual] |
Implements KLFRelativeFontBase.
Definition at line 181 of file klfrelativefont.cpp.
References QString::isEmpty(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, QFont::setFamily(), QFont::setPointSize(), QFont::setStyle(), and QFont::setWeight().
| QString KLFRelativeFont::forceFamily | ( | ) | const [inline] |
Definition at line 78 of file klfrelativefont.h.
| void KLFRelativeFont::releaseForceFamily | ( | ) | [inline] |
Definition at line 84 of file klfrelativefont.h.
| void KLFRelativeFont::releaseForceStyle | ( | ) | [inline] |
Definition at line 92 of file klfrelativefont.h.
| void KLFRelativeFont::releaseForceWeight | ( | ) | [inline] |
Definition at line 88 of file klfrelativefont.h.
| int KLFRelativeFont::relPointSize | ( | ) | const [inline] |
Definition at line 79 of file klfrelativefont.h.
| void KLFRelativeFont::setForceBold | ( | bool | bold | ) | [inline] |
Definition at line 86 of file klfrelativefont.h.
| void KLFRelativeFont::setForceFamily | ( | const QString & | family | ) |
Definition at line 168 of file klfrelativefont.cpp.
| void KLFRelativeFont::setForceItalic | ( | bool | it | ) | [inline] |
Definition at line 90 of file klfrelativefont.h.
| void KLFRelativeFont::setForceStyle | ( | int | style | ) |
Definition at line 176 of file klfrelativefont.cpp.
References style.
| void KLFRelativeFont::setForceWeight | ( | int | weight | ) |
Definition at line 172 of file klfrelativefont.cpp.
| void KLFRelativeFont::setRelPointSize | ( | int | relps | ) |
Definition at line 164 of file klfrelativefont.cpp.
Referenced by KLFColorChooser::_makemenu(), and KLFPleaseWaitPopup::KLFPleaseWaitPopup().