You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/examples/fonts/simple-qfont-demo/viewer.h

38 lines
547 B

#ifndef VIEWER_H
#define VIEWER_H
#include <qwidget.h>
#include <qfont.h>
class TQTextView;
class TQPushButton;
class Viewer : public TQWidget
{
Q_OBJECT
public:
Viewer();
private slots:
void setDefault();
void setSansSerif();
void setItalics();
private:
void setFontSubstitutions();
void layout();
void showFontInfo( TQFont & );
TQTextView * greetings;
TQTextView * fontInfo;
TQPushButton * defaultButton;
TQPushButton * sansSerifButton;
TQPushButton * italicsButton;
};
#endif