main.cpp

来自「一个基于QT的电网监控程序」· C++ 代码 · 共 27 行

CPP
27
字号
/****************************************************************************** $Id: qt/examples/tabdialog/main.cpp   2.3.7   edited 2001-06-12 $**** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.**** This file is part of an example program for Qt.  This example** program may be used, distributed and modified without limitation.*******************************************************************************/#include "splash.h"#include <qapplication.h>#include <qstring.h>#include <qwidget.h>#include <qdialog.h>int main( int argc, char **argv ){   QApplication a(argc,argv);      SplashWindow w(NULL, NULL,Qt::WDestructiveClose | Qt::WStyle_Customize | Qt::WStyle_NoBorder);   a.setMainWidget(&w);   w.show();   a.exec();}

⌨️ 快捷键说明

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