[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
KLFRelativeFontBase Class Referenceabstract

#include <klfrelativefont.h>

Inheritance diagram for KLFRelativeFontBase:
Collaboration diagram for KLFRelativeFontBase:

Public Member Functions

 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 QMetaObjectmetaObject () const
 
QString objectName () const
 
void setObjectName (const QString &name)
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const
 
bool blockSignals (bool block)
 
QThreadthread () const
 
void moveToThread (QThread *targetThread)
 
int startTimer (int interval, Qt::TimerType timerType)
 
void killTimer (int id)
 
findChild (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegExp &regExp, 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< QByteArraydynamicPropertyNames () const
 
void destroyed (QObject *obj)
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const
 
bool inherits (const char *className) const
 
void deleteLater ()
 

Protected Member Functions

virtual QFont calculateRelativeFont (const QFont &baseFont)=0
 
QWidget * referenceWidget ()
 
QWidget * targetWidget ()
 
- Protected Member Functions inherited from QObject
QObjectsender () 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
 

Detailed Description

Definition at line 34 of file klfrelativefont.h.

Constructor & Destructor Documentation

◆ KLFRelativeFontBase() [1/2]

KLFRelativeFontBase::KLFRelativeFontBase ( QWidget * parent)

Definition at line 29 of file klfrelativefont.cpp.

References QObject::installEventFilter(), klfDbg, and QObject::parent().

◆ KLFRelativeFontBase() [2/2]

KLFRelativeFontBase::KLFRelativeFontBase ( QWidget * reference,
QWidget * target )

Definition at line 37 of file klfrelativefont.cpp.

References klfDbg.

◆ ~KLFRelativeFontBase()

KLFRelativeFontBase::~KLFRelativeFontBase ( )
virtual

Definition at line 47 of file klfrelativefont.cpp.

Member Function Documentation

◆ calculateRelativeFont()

virtual QFont KLFRelativeFontBase::calculateRelativeFont ( const QFont & baseFont)
protectedpure virtual

Implemented in KLFRelativeFont.

◆ eventFilter()

bool KLFRelativeFontBase::eventFilter ( QObject * object,
QEvent * event )
virtual

Reimplemented from QObject.

Definition at line 57 of file klfrelativefont.cpp.

References QObject::event(), KLF_DEBUG_BLOCK, klfDbg, referenceWidget(), and targetWidget().

◆ referenceWidget()

QWidget * KLFRelativeFontBase::referenceWidget ( )
inlineprotected

Definition at line 49 of file klfrelativefont.h.

Referenced by eventFilter().

◆ setThorough()

void KLFRelativeFontBase::setThorough ( bool thorough)

Definition at line 51 of file klfrelativefont.cpp.

◆ targetWidget()

QWidget * KLFRelativeFontBase::targetWidget ( )
inlineprotected

Definition at line 50 of file klfrelativefont.h.

Referenced by eventFilter().


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

Generated by doxygen 1.12.0