simple-qfont-demo.cpp
来自「这个是Linux的qt源代码」· C++ 代码 · 共 16 行
CPP
16 行
/* $Id: qt/simple-qfont-demo.cpp 3.2.3 edited May 13 09:08 $ */#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 + -
显示快捷键?