26 #include <QPushButton>
29 #include "commonWidgets.h"
38 Q_PROPERTY(QFont currentFont READ currentFont WRITE setCurrentFont NOTIFY currentFontChanged USER
true)
41 Q_PROPERTY(QString fontTextFormat READ fontTextFormat WRITE setFontTextFormat)
68 FontButton(
const QFont& currentFont, QWidget * parent = 0);
74 void setCurrentFont(
const QFont& newFont);
75 QFont currentFont()
const;
79 void setFontTextFormat(
const QString& fontTextFormat);
83 QString fontTextFormat()
const;
94 void currentFontChanged(
const QFont&);
96 QScopedPointer<FontButtonPrivate> d_ptr;