2025-04-15T17:24:23

This commit is contained in:
yuntang 2025-04-15 17:24:25 +08:00
parent 4b8027eb49
commit c5cbeec3bb
33 changed files with 41 additions and 2 deletions

BIN
bin/AnalysTool.exe Normal file

Binary file not shown.

BIN
bin/D3Dcompiler_47.dll Normal file

Binary file not shown.

BIN
bin/Qt5Core.dll Normal file

Binary file not shown.

BIN
bin/Qt5Gui.dll Normal file

Binary file not shown.

BIN
bin/Qt5PrintSupport.dll Normal file

Binary file not shown.

BIN
bin/Qt5SerialPort.dll Normal file

Binary file not shown.

BIN
bin/Qt5Svg.dll Normal file

Binary file not shown.

BIN
bin/Qt5Widgets.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/imageformats/qgif.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qicns.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qico.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qjpeg.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qsvg.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qtga.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qtiff.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qwbmp.dll Normal file

Binary file not shown.

BIN
bin/imageformats/qwebp.dll Normal file

Binary file not shown.

BIN
bin/libEGL.dll Normal file

Binary file not shown.

BIN
bin/libGLESv2.dll Normal file

Binary file not shown.

BIN
bin/libgcc_s_seh-1.dll Normal file

Binary file not shown.

BIN
bin/libstdc++-6.dll Normal file

Binary file not shown.

BIN
bin/libwinpthread-1.dll Normal file

Binary file not shown.

34
bin/myeasylog.log Normal file
View File

@ -0,0 +1,34 @@
2025-04-15 16:25:15,306 DEBUG [default] main...
2025-04-15 16:25:15,558 DEBUG [default] setEventHandlerEnable...0
2025-04-15 16:25:15,558 DEBUG [default] xMax:5
2025-04-15 16:25:19,903 DEBUG [default] peakPoint:186.879,2.2
2025-04-15 16:25:20,731 DEBUG [default] peakPoint:33.156,-2.366
2025-04-15 16:25:21,296 DEBUG [default] peakPoint:136.386,-3.03
2025-04-15 17:09:54,935 DEBUG [default] main...
2025-04-15 17:09:54,952 DEBUG [default] setEventHandlerEnable...0
2025-04-15 17:09:54,953 DEBUG [default] xMax:5
2025-04-15 17:10:04,848 DEBUG [default] peakPoint:186.879,2.2
2025-04-15 17:10:05,521 DEBUG [default] peakPoint:33.156,-2.366
2025-04-15 17:10:06,448 DEBUG [default] peakPoint:136.386,-3.03
2025-04-15 17:10:09,876 DEBUG [default] context menu...
2025-04-15 17:10:09,876 DEBUG [default] selected...
2025-04-15 17:10:11,336 DEBUG [default] slotBaseLine...
2025-04-15 17:10:11,342 DEBUG [default] index:0
2025-04-15 17:10:12,838 DEBUG [default] context menu...
2025-04-15 17:10:12,838 DEBUG [default] selected...
2025-04-15 17:10:14,440 DEBUG [default] index:1
2025-04-15 17:10:15,719 DEBUG [default] context menu...
2025-04-15 17:10:15,719 DEBUG [default] selected...
2025-04-15 17:10:17,216 DEBUG [default] index:2
2025-04-15 17:10:25,154 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:28,909 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:30,014 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,063 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,241 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,424 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,595 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,782 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:33,952 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:45,031 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:45,194 DEBUG [default] Base,standard,sample not selected.
2025-04-15 17:10:45,371 DEBUG [default] Base,standard,sample not selected.

BIN
bin/opengl32sw.dll Normal file

Binary file not shown.

BIN
bin/platforms/qwindows.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -38,6 +38,7 @@ int XlsxHandler::readFile(const QString sourceFilePath, Global::CurveFileData &c
return 3;
}
#if 0
// 获取工作表的行数和列数
int rowCount = workSheet->dimension().rowCount();
int colCount = workSheet->dimension().columnCount();
@ -45,6 +46,7 @@ int XlsxHandler::readFile(const QString sourceFilePath, Global::CurveFileData &c
logde << "0:" << workSheet->cellAt(1, 1)->value().toString().toStdString();
qDebug() << workSheet->cellAt(1, 1)->value().toString();
#endif
//
int index = 2;

View File

@ -3,6 +3,7 @@
#include <cmath>
#include <limits>
#include <qcustomplot.h>
#include <QMessageBox>
#include "centralwidget.h"
#include "filemanager.h"
@ -166,7 +167,10 @@ void CentralWidget::slotRecvAnalysisFileName(const QString &fileName)
// todo.禁止重复文件添加。
Global::CurveFileData cfd;
XlsxHandler::readFile(fileName,cfd);
if(XlsxHandler::readFile(fileName,cfd) != 0){
QMessageBox::warning((QWidget*)this->parent(), "warnning", "File parse error.");
return;
}
for(int i = 0;i < cfd.phaseTotalVtr.size();i++){
Global::PhaseTotalInfo& pti = cfd.phaseTotalVtr[i];
@ -577,7 +581,6 @@ void CentralWidget::drawText(const QPointF point, const QString text)
_customPlot->replot();
}
void CentralWidget::fillGraph(const double x1, const double x2)
{
//todo.未寻找x1\x2之间最大值。