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

#include <klfrelativefont.h>

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

List of all members.

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)

Detailed Description

Definition at line 69 of file klfrelativefont.h.


Constructor & Destructor Documentation

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.

Definition at line 160 of file klfrelativefont.cpp.


Member Function Documentation

QFont KLFRelativeFont::calculateRelativeFont ( const QFont baseFont) [protected, virtual]

Definition at line 78 of file klfrelativefont.h.

Definition at line 84 of file klfrelativefont.h.

Definition at line 92 of file klfrelativefont.h.

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)

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