3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
14 class QFontExample : public QWidget {
17 QFontExample(QWidget * parent, const char * name)
18 : QWidget(parent, name) {}
20 void set(QFont const & font, QString const & text);
22 virtual QSize sizeHint() const;
25 virtual void paintEvent(QPaintEvent * p);