QFontSet Class Reference

Font Set. More...

#include <QFontSet.h>

List of all members.

Public Member Functions

 QFontSet ()
 Constructs new QFontSet object.
 QFontSet (const QFont &defaultFont, const QFont &fixedFont=QFont("Courier", 9))
 Constructs new QFontSet object.
 QFontSet (const QFontSet &fontSet)
 Copy constructor.
const QFont & defaultFont () const
 Returns the default font.
void setDefaultFont (const QFont &font)
 Sets the default font.
const QFont & fixedFont () const
 Returns the fixed font.
void setFixedFont (const QFont &font)
 Sets the fixed font.
const QFont & componentFont () const
 Returns the component font.
void setComponentFont (const QFont &font)
 Sets the component font.
const QFont & buttonFont () const
 Returns the button font.
void setButtonFont (const QFont &font)
 Sets the button font.
const QFont & menuFont () const
 Returns the menu font.
void setMenuFont (const QFont &font)
 Sets the menu font.
const QFont & menuBarFont () const
 Returns the menu bar font.
void setMenuBarFont (const QFont &font)
 Sets the menu bar font.
const QFont & textFont () const
 Returns the text font.
void setTextFont (const QFont &font)
 Sets the text font.
const QFont & toolTipFont () const
 Returns the tool tip font.
void setToolTipFont (const QFont &font)
 Sets the tool tip font.


Detailed Description

Font Set.

Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
Version:
0.2.0

Constructor & Destructor Documentation

QFontSet::QFontSet ( const QFont &  defaultFont,
const QFont &  fixedFont = QFont("Courier", 9) 
)

Constructs new QFontSet object.

Parameters:
defaultFont the default font
fixedFont the fixed font

QFontSet::QFontSet ( const QFontSet fontSet  ) 

Copy constructor.

Parameters:
fontSet the font set


Member Function Documentation

const QFont & QFontSet::defaultFont (  )  const

Returns the default font.

Returns:
the default font

void QFontSet::setDefaultFont ( const QFont &  font  ) 

Sets the default font.

Parameters:
font the default font

const QFont & QFontSet::fixedFont (  )  const

Returns the fixed font.

Returns:
the fixed font

void QFontSet::setFixedFont ( const QFont &  font  ) 

Sets the fixed font.

Parameters:
font the fixed font

const QFont & QFontSet::componentFont (  )  const

Returns the component font.

Returns:
the component font

void QFontSet::setComponentFont ( const QFont &  font  ) 

Sets the component font.

Parameters:
font the component font

const QFont & QFontSet::buttonFont (  )  const

Returns the button font.

Returns:
the button font

void QFontSet::setButtonFont ( const QFont &  font  ) 

Sets the button font.

Parameters:
font the button font

const QFont & QFontSet::menuFont (  )  const

Returns the menu font.

Returns:
the menu font

void QFontSet::setMenuFont ( const QFont &  font  ) 

Sets the menu font.

Parameters:
font the menu font

const QFont & QFontSet::menuBarFont (  )  const

Returns the menu bar font.

Returns:
the menu bar font

void QFontSet::setMenuBarFont ( const QFont &  font  ) 

Sets the menu bar font.

Parameters:
font the menu bar font

const QFont & QFontSet::textFont (  )  const

Returns the text font.

Returns:
the text font

void QFontSet::setTextFont ( const QFont &  font  ) 

Sets the text font.

Parameters:
font the text font

const QFont & QFontSet::toolTipFont (  )  const

Returns the tool tip font.

Returns:
the tool tip font

void QFontSet::setToolTipFont ( const QFont &  font  ) 

Sets the tool tip font.

Parameters:
font the tool tip font


Copyright © 2007 ETF and contributors. All Rights Reserved.