📄 main.cpp
字号:
// Header for the QApplication class #include <qapplication.h> // Header for our dialog #include "mainwnd.h" // Remember the ( int, char** ) part as the QApplication needs them int main( int argc, char **argv ) { // We must always have an application QApplication a( argc, argv ); mainWnd *m = new mainWnd(); // We create our dialog a.setMainWidget( m ); // It is our main widget m->show(); // Show it... return a.exec(); // And run! }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -