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.
qt3/examples/fonts/simple-qfont-demo/simple-qfont-demo.cpp

15 lines
330 B

#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();
}