Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
FontSelector Class Reference

#include </tmp/quassel/src/uisupport/fontselector.h>

Public Slots

void setSelectedFont (const QFont &font)

Signals

void fontChanged (const QFont &)

Public Member Functions

 FontSelector (QWidget *parent=0)
const QFont & selectedFont () const

Protected Slots

void chooseFont ()

Protected Member Functions

void changeEvent (QEvent *e)

Properties

QFont selectedFont

Private Attributes

QFont _font
QLabel * _demo

Detailed Description

Definition at line 27 of file fontselector.h.

Constructor & Destructor Documentation

FontSelector ( QWidget *  parent = 0)

Definition at line 29 of file fontselector.cpp.

References _demo, _font, and chooseFont().

Member Function Documentation

const QFont& selectedFont ( ) const
inline

Definition at line 35 of file fontselector.h.

References _font.

void setSelectedFont ( const QFont &  font)
slot

Definition at line 46 of file fontselector.cpp.

References _demo, _font, and fontChanged().

Referenced by chooseFont().

void fontChanged ( const QFont &  )
signal

Referenced by setSelectedFont().

void changeEvent ( QEvent *  e)
protected

Definition at line 65 of file fontselector.cpp.

References _demo, and _font.

void chooseFont ( )
protectedslot

Definition at line 55 of file fontselector.cpp.

References _demo, and setSelectedFont().

Referenced by FontSelector().

Member Data Documentation

QFont _font
private

Definition at line 50 of file fontselector.h.

Referenced by changeEvent(), FontSelector(), selectedFont(), and setSelectedFont().

QLabel* _demo
private

Definition at line 51 of file fontselector.h.

Referenced by changeEvent(), chooseFont(), FontSelector(), and setSelectedFont().

Property Documentation

QFont selectedFont
readwrite

Definition at line 30 of file fontselector.h.


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