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.
38 lines
550 B
38 lines
550 B
13 years ago
|
|
||
|
#ifndef VIEWER_H
|
||
|
#define VIEWER_H
|
||
|
|
||
|
|
||
5 months ago
|
#include <tqwidget.h>
|
||
4 months ago
|
#include <tqfont.h>
|
||
13 years ago
|
|
||
|
class TQTextView;
|
||
|
class TQPushButton;
|
||
|
|
||
|
class Viewer : public TQWidget
|
||
|
{
|
||
13 years ago
|
TQ_OBJECT
|
||
13 years ago
|
|
||
|
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
|