You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
330 B
C++
15 lines
330 B
C++
14 years ago
|
|
||
|
#include "viewer.h"
|
||
|
|
||
|
#include <qapplication.h>
|
||
|
|
||
|
int main( int argc, char **argv )
|
||
|
{
|
||
|
QApplication app( argc, argv );
|
||
|
Viewer * textViewer = new Viewer();
|
||
|
textViewer->setCaption( "Qt Example - Simple QFont Demo" );
|
||
|
app.setMainWidget( textViewer );
|
||
|
textViewer->show();
|
||
|
return app.exec();
|
||
|
}
|