FontButton Class Reference

A button widget designed to select a font. More...

#include <fontbutton.h>

+ Inheritance diagram for FontButton:


void fontUpdated (QFont oldFont, const QFont &newFont)

Public Member Functions

 FontButton (QWidget *parent=NULL)
const QFont & selectedFont () const
void setSelectedFont (const QFont &font)

Protected Slots

void thisClicked ()

Protected Member Functions

void updateAppearance ()
void updateFont (const QFont &newFont)
 Will always emit fontUpdated() signal. More...

Protected Attributes

QFont currentFont

Detailed Description

A button widget designed to select a font.

The principal of working is the same as ColorButton.

Definition at line 33 of file fontbutton.h.

Member Function Documentation

void FontButton::updateFont ( const QFont &  newFont)

Will always emit fontUpdated() signal.

Definition at line 43 of file fontbutton.cpp.

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