Last change
on this file 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:
356 bytes
|
Line | |
---|
1 | /* $Id: simple-qfont-demo.cpp 2 2005-11-16 15:49:26Z dmik $ */
|
---|
2 |
|
---|
3 | #include "viewer.h"
|
---|
4 |
|
---|
5 | #include <qapplication.h>
|
---|
6 |
|
---|
7 | int main( int argc, char **argv )
|
---|
8 | {
|
---|
9 | QApplication app( argc, argv );
|
---|
10 | Viewer * textViewer = new Viewer();
|
---|
11 | textViewer->setCaption( "Qt Example - Simple QFont Demo" );
|
---|
12 | app.setMainWidget( textViewer );
|
---|
13 | textViewer->show();
|
---|
14 | return app.exec();
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.