📄 main.cpp
字号:
#include <qapplication.h>
#include "newprojectwindow.h"
int main( int argc, char** argv )
{
QApplication app( argc, argv );
QDesktopWidget* desktop = QApplication::desktop();
int width = desktop->width();
int height = desktop->height();
NewProjectWindow window;
app.setMainWidget(&window);
window.resize(1280, 1024);
window.move((width - window.width())/2, (height - window.height())/2);
window.show();
return app.exec();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -