📄 main.cpp
字号:
#include <QApplication>#include <iostream>#include "vowelcube.h"int main(int argc, char *argv[]){ QApplication app(argc, argv); if (!QGLFormat::hasOpenGL()) { std::cerr << "This system has no OpenGL support" << std::endl; return 1; } VowelCube cube; cube.setWindowTitle(QObject::tr("Vowel Cube")); cube.setMinimumSize(200, 200); cube.resize(450, 450); cube.show(); return app.exec();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -