Files
chenzhen 222dda1e43 1,新增“App_ThermalImageSystem”;
2,新增“Apps”;
3,新增“Common”;
4,新增“FileList”;
5,新增“MediaX”;
6,新增“OpenSource”;
7,新增“Samples”;
8,新增“SoftwareBusinessLines”.
2026-02-14 23:03:23 +08:00

22 lines
428 B
C++

#include "mainwindow.h"
#include <QApplication>
#include "LogIn/LoginDialog.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
LoginDialog dlg;
if (dlg.exec() ==QDialog::Accepted)
{
MainWindow w;
w.move((a.desktop()->width() - w.width()) / 2, (a.desktop()->height() - w.height()) / 2);
w.show();
return a.exec();
}
else
{
return 0;
}
}