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

15 lines
333 B

#include "viewer.h"
#include <qapplication.h>
int main( int argc, char **argv )
{
TQApplication app( argc, argv );
Viewer * textViewer = new Viewer();
textViewer->setCaption( "TQt Example - Simple TQFont Demo" );
app.setMainWidget( textViewer );
textViewer->show();
return app.exec();
}