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
552 B

#ifndef VIEWER_H
#define VIEWER_H
#include <ntqwidget.h>
#include <ntqfont.h>
class TQTextView;
class TQPushButton;
class Viewer : public TQWidget
{
TQ_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