simple-qfont-demo.cpp

来自「Trolltech公司发布的基于C++图形开发环境」· C++ 代码 · 共 16 行

CPP
16
字号
/* $Id: qt/simple-qfont-demo.cpp   3.3.4   edited May 27 2003 $ */#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();}                  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?