Files
QT_wuhan_YT/main.cpp
T
2026-10-14 09:59:42 +08:00

18 lines
406 B
C++

#include "mainwindow.h"
#include "app/global.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setStyleSheet(appStyleSheet());
installButtonFocusGlow(&a); // 按钮获得焦点时显示光圈
installArrowKeyGuard(&a); // 方向键只做旋钮调值,不在按钮间换焦
MainWindow w;
w.showFullScreen();
return a.exec();
}