#include <klfrelativefont.h>
Public Member Functions | |
KLFRelativeFontBase (QWidget *parent) | |
KLFRelativeFontBase (QWidget *reference, QWidget *target) | |
virtual | ~KLFRelativeFontBase () |
bool | eventFilter (QObject *object, QEvent *event) |
void | setThorough (bool thorough) |
Protected Member Functions | |
virtual QFont | calculateRelativeFont (const QFont &baseFont)=0 |
QWidget * | referenceWidget () |
QWidget * | targetWidget () |
Definition at line 34 of file klfrelativefont.h.
KLFRelativeFontBase::KLFRelativeFontBase | ( | QWidget * | parent | ) |
Definition at line 29 of file klfrelativefont.cpp.
References klfDbg.
KLFRelativeFontBase::KLFRelativeFontBase | ( | QWidget * | reference, |
QWidget * | target | ||
) |
Definition at line 37 of file klfrelativefont.cpp.
References klfDbg.
KLFRelativeFontBase::~KLFRelativeFontBase | ( | ) | [virtual] |
Definition at line 47 of file klfrelativefont.cpp.
virtual QFont KLFRelativeFontBase::calculateRelativeFont | ( | const QFont & | baseFont | ) | [protected, pure virtual] |
Implemented in KLFRelativeFont.
bool KLFRelativeFontBase::eventFilter | ( | QObject * | object, |
QEvent * | event | ||
) | [virtual] |
Reimplemented from QObject.
Definition at line 57 of file klfrelativefont.cpp.
References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, referenceWidget(), targetWidget(), and QEvent::type().
QWidget* KLFRelativeFontBase::referenceWidget | ( | ) | [inline, protected] |
Definition at line 49 of file klfrelativefont.h.
Referenced by eventFilter().
void KLFRelativeFontBase::setThorough | ( | bool | thorough | ) |
Definition at line 51 of file klfrelativefont.cpp.
QWidget* KLFRelativeFontBase::targetWidget | ( | ) | [inline, protected] |
Definition at line 50 of file klfrelativefont.h.
Referenced by eventFilter().