2025-06-17 11:48:13 +08:00
|
|
|
#include <QApplication>
|
2025-06-15 14:31:54 +08:00
|
|
|
#include <QFile>
|
|
|
|
|
|
|
|
|
|
#include "frelayGUI.h"
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
|
{
|
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
|
|
2025-06-15 20:37:25 +08:00
|
|
|
qInstallMessageHandler(frelayGUI::ControlMsgHander);
|
|
|
|
|
|
2025-06-15 14:31:54 +08:00
|
|
|
#ifdef _WIN32
|
|
|
|
|
QFont font("Microsoft YaHei", 9);
|
|
|
|
|
a.setFont(font);
|
2025-06-17 11:48:13 +08:00
|
|
|
a.setWindowIcon(QIcon(":/ico/main.ico"));
|
2025-06-18 08:49:29 +08:00
|
|
|
//a.setStyle("Windows");
|
2025-06-15 14:31:54 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
frelayGUI w;
|
|
|
|
|
w.show();
|
|
|
|
|
return a.exec();
|
|
|
|
|
}
|