A button widget designed to select a font. More...
#include <fontbutton.h>
Inheritance diagram for FontButton:Signals | |
| 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 |
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.
|
protected |
Will always emit fontUpdated() signal.
Definition at line 43 of file fontbutton.cpp.