#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 () |
| Public Member Functions inherited from KLFRelativeFontBase | |
| KLFRelativeFontBase (QWidget *parent) | |
| KLFRelativeFontBase (QWidget *reference, QWidget *target) | |
| virtual | ~KLFRelativeFontBase () |
| bool | eventFilter (QObject *object, QEvent *event) |
| void | setThorough (bool thorough) |
| Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| virtual | ~QObject () |
| virtual bool | event (QEvent *e) |
| virtual const QMetaObject * | metaObject () const |
| QString | objectName () const |
| void | setObjectName (const QString &name) |
| bool | isWidgetType () const |
| bool | isWindowType () const |
| bool | signalsBlocked () const |
| bool | blockSignals (bool block) |
| QThread * | thread () const |
| void | moveToThread (QThread *targetThread) |
| int | startTimer (int interval, Qt::TimerType timerType) |
| void | killTimer (int id) |
| T | findChild (const QString &name, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
| const QObjectList & | children () const |
| void | setParent (QObject *parent) |
| void | installEventFilter (QObject *filterObj) |
| void | removeEventFilter (QObject *obj) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
| bool | disconnect (const QObject *receiver, const char *method) const |
| void | dumpObjectTree () |
| void | dumpObjectInfo () |
| bool | setProperty (const char *name, const QVariant &value) |
| QVariant | property (const char *name) const |
| QList< QByteArray > | dynamicPropertyNames () const |
| void | destroyed (QObject *obj) |
| void | objectNameChanged (const QString &objectName) |
| QObject * | parent () const |
| bool | inherits (const char *className) const |
| void | deleteLater () |
Protected Member Functions | |
| virtual QFont | calculateRelativeFont (const QFont &baseFont) |
| Protected Member Functions inherited from KLFRelativeFontBase | |
| QWidget * | referenceWidget () |
| QWidget * | targetWidget () |
| Protected Member Functions inherited from QObject | |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| int | receivers (const char *signal) const |
| bool | isSignalConnected (const QMetaMethod &signal) const |
| virtual void | timerEvent (QTimerEvent *event) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | customEvent (QEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
Additional Inherited Members | |
| Static Public Member Functions inherited from QObject | |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
| Properties inherited from QObject | |
| objectName | |
Definition at line 69 of file klfrelativefont.h.
| KLFRelativeFont::KLFRelativeFont | ( | QWidget * | parent | ) |
Definition at line 137 of file klfrelativefont.cpp.
References KLFRelativeFontBase::KLFRelativeFontBase(), and QObject::parent().
| KLFRelativeFont::KLFRelativeFont | ( | QWidget * | reference, |
| QWidget * | target ) |
Definition at line 142 of file klfrelativefont.cpp.
References KLFRelativeFontBase::KLFRelativeFontBase().
|
virtual |
Definition at line 160 of file klfrelativefont.cpp.
Implements KLFRelativeFontBase.
Definition at line 181 of file klfrelativefont.cpp.
References KLF_DEBUG_BLOCK, QFont::setFamily(), QFont::setPointSize(), QFont::setStyle(), and QFont::setWeight().
|
inline |
Definition at line 78 of file klfrelativefont.h.
|
inline |
Definition at line 84 of file klfrelativefont.h.
References setForceFamily().
|
inline |
Definition at line 92 of file klfrelativefont.h.
References setForceStyle().
|
inline |
Definition at line 88 of file klfrelativefont.h.
References setForceWeight().
|
inline |
Definition at line 79 of file klfrelativefont.h.
|
inline |
Definition at line 86 of file klfrelativefont.h.
References setForceWeight().
| void KLFRelativeFont::setForceFamily | ( | const QString & | family | ) |
Definition at line 168 of file klfrelativefont.cpp.
Referenced by releaseForceFamily().
|
inline |
Definition at line 90 of file klfrelativefont.h.
References setForceStyle().
| void KLFRelativeFont::setForceStyle | ( | int | style | ) |
Definition at line 176 of file klfrelativefont.cpp.
References style.
Referenced by releaseForceStyle(), and setForceItalic().
| void KLFRelativeFont::setForceWeight | ( | int | weight | ) |
Definition at line 172 of file klfrelativefont.cpp.
Referenced by releaseForceWeight(), and setForceBold().
| void KLFRelativeFont::setRelPointSize | ( | int | relps | ) |
Definition at line 164 of file klfrelativefont.cpp.
Referenced by KLFPleaseWaitPopup::KLFPleaseWaitPopup().