18 lines
406 B
C++
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();
|
|
}
|