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
24 class QFontExample : public QWidget {
27 QFontExample(QWidget * parent)
30 void set(QFont const & font, QString const & text);
32 virtual QSize sizeHint() const;
35 virtual void paintEvent(QPaintEvent * p);