4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef QT_QFONTEXAMPLE_H
13 #define QT_QFONTEXAMPLE_H
18 class QFontExample : public QWidget {
21 QFontExample(QWidget * parent, const char * name)
22 : QWidget(parent, name) {}
24 void set(QFont const & font, QString const & text);
26 virtual QSize sizeHint() const;
29 virtual void paintEvent(QPaintEvent * p);