A button widget designed to select a font. More...
#include <fontbutton.h>
Signals | |
void | fontUpdated (QFont oldFont, const QFont &newFont) |
Public Member Functions | |
FontButton (QWidget *parent=nullptr) | |
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 58 of file fontbutton.cpp.