📄 main.cpp
字号:
#include "hello.h"
#include <qapplication.h>
/*
The program starts here. It parses the command line and builds a message
string to be displayed by the Hello widget.
*/
#define QT_NO_WIZARD
int main( int argc, char **argv )
{
QApplication a(argc,argv);
Hello dlg;
QObject::connect( &dlg, SIGNAL(clicked()), &a, SLOT(quit()) );
a.setMainWidget( &dlg );
dlg.show();
return a.exec();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -