3 * \file GuiFontExample.h
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 GUIFONTEXAMPLE_H
13 #define GUIFONTEXAMPLE_H
24 class GuiFontExample : public QWidget {
27 GuiFontExample(QWidget * parent)
30 void set(QFont const & font, QString const & text);
32 virtual QSize sizeHint() const;
35 virtual void paintEvent(QPaintEvent * p);
45 #endif // GUIFONTEXAMPLE_H