[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | Protected Member Functions
KLFRelativeFontBase Class Reference

#include <klfrelativefont.h>

Inheritance diagram for KLFRelativeFontBase:
Inheritance graph
[legend]
Collaboration diagram for KLFRelativeFontBase:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

Definition at line 34 of file klfrelativefont.h.


Constructor & Destructor Documentation

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.

Definition at line 47 of file klfrelativefont.cpp.


Member Function Documentation

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().


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

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net