DSCAnalysisTool/src/main.cpp

40 lines
807 B
C++
Raw Normal View History

2025-03-05 09:33:46 +00:00
#include <QApplication>
2025-03-19 07:19:45 +00:00
#include <qdir.h>
#include <qdebug.h>
2025-03-10 09:35:07 +00:00
2025-03-17 09:30:54 +00:00
#include "mainwindow.h"
2025-03-05 09:33:46 +00:00
#include "centralwidget.h"
#include "serialport/serialport.h"
2025-03-17 09:30:54 +00:00
#include "realtimedataform.h"
2025-03-10 09:35:07 +00:00
#include "experimentsettingform.h"
2025-03-18 09:28:40 +00:00
#include "filemanager.h"
2025-03-05 09:33:46 +00:00
int main(int argc, char *argv[])
{
2025-03-06 07:25:37 +00:00
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // 启用高DPI缩放
2025-03-05 09:33:46 +00:00
QApplication a(argc, argv);
2025-03-10 09:35:07 +00:00
MainWindow w;
2025-03-12 09:29:52 +00:00
w.show();
2025-03-05 09:33:46 +00:00
2025-03-18 09:28:40 +00:00
// FileManager::test();
2025-03-12 09:29:52 +00:00
// ExperimentSettingForm es;
// es.show();
2025-03-10 09:35:07 +00:00
// CentralWidget central;
// central.show();
2025-03-05 09:33:46 +00:00
2025-03-06 07:25:37 +00:00
// SerialPort::parserTest();
2025-03-05 09:33:46 +00:00
2025-03-10 09:35:07 +00:00
// SerialPort sp;
2025-03-06 07:25:37 +00:00
2025-03-10 09:35:07 +00:00
// RealTimeDataForm r;
2025-03-06 07:25:37 +00:00
// r.show();
2025-03-10 09:35:07 +00:00
// QObject::connect(&sp,&SerialPort::sigSendSerialPortData,
// &r,&RealTimeDataForm::slotRevSerialPortData);
2025-03-05 09:33:46 +00:00
return a.exec();
}