Last change
on this file since 8 was 2, checked in by dmik, 20 years ago |
Imported xplatform parts of the official release 3.3.1 from Trolltech
|
-
Property svn:keywords
set to
Id
|
File size:
587 bytes
|
Line | |
---|
1 | /* $Id: viewer.h 2 2005-11-16 15:49:26Z dmik $ */
|
---|
2 |
|
---|
3 | #ifndef VIEWER_H
|
---|
4 | #define VIEWER_H
|
---|
5 |
|
---|
6 |
|
---|
7 | #include <qwidget.h>
|
---|
8 | #include <qfont.h>
|
---|
9 |
|
---|
10 | class QTextView;
|
---|
11 | class QPushButton;
|
---|
12 |
|
---|
13 | class Viewer : public QWidget
|
---|
14 | {
|
---|
15 | Q_OBJECT
|
---|
16 |
|
---|
17 | public:
|
---|
18 | Viewer();
|
---|
19 |
|
---|
20 | private slots:
|
---|
21 | void setDefault();
|
---|
22 | void setSansSerif();
|
---|
23 | void setItalics();
|
---|
24 |
|
---|
25 | private:
|
---|
26 | void setFontSubstitutions();
|
---|
27 | void layout();
|
---|
28 | void showFontInfo( QFont & );
|
---|
29 |
|
---|
30 | QTextView * greetings;
|
---|
31 | QTextView * fontInfo;
|
---|
32 |
|
---|
33 | QPushButton * defaultButton;
|
---|
34 | QPushButton * sansSerifButton;
|
---|
35 | QPushButton * italicsButton;
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.