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.
15 class QFontExample : public QWidget {
18 QFontExample(QWidget * parent, const char * name)
19 : QWidget(parent, name) {}
21 void set(QFont const & font, QString const & text);
23 virtual QSize sizeHint() const;
26 virtual void paintEvent(QPaintEvent * p);