From 099c3c6024e24951e6ea68b5fc05186d4069cf6d Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Fri, 15 May 2026 16:54:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=86=99=EF=BC=8CTDT?= =?UTF-8?q?=E9=81=93=E5=B4=A9=E6=BA=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/formdraw.cpp | 3 +++ logPlus/mainwindowcurve.cpp | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index 5d755b6..69c88cd 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -6821,6 +6821,9 @@ void FormDraw::initTDT(QMyCustomPlot *curv) if(pResult == NULL) return; + if (pResult->CoreValues.size() <= 0) + return; + // curv->yAxis->setTickLabels(true); // curv->yAxis->setTickLabelSide(QCPAxis::lsInside); // QFont font1("微软雅黑", 16); //fontSize 10 diff --git a/logPlus/mainwindowcurve.cpp b/logPlus/mainwindowcurve.cpp index f5dfc25..196fc72 100644 --- a/logPlus/mainwindowcurve.cpp +++ b/logPlus/mainwindowcurve.cpp @@ -301,7 +301,7 @@ void MainWindowCurve::initMainToolBar() QIcon selectWellIcon(::GetImagePath()+"icon/WellTops.png"); QIcon fixwellsectionHeaderIcon(::GetImagePath()+"icon/fixwellsectionHeader.png"); QIcon currtempliteIcon(::GetImagePath()+"icon/currtemplite.png"); - QIcon saveastemplateIcon(::GetImagePath()+"icon/saveastemplate.png"); + QIcon saveastemplateIcon(::GetImagePath()+"icon/SaveAsTemplate.png"); QIcon executeDepthShiftIcon(::GetImagePath()+"icon/ExecuteDepthShift.png"); QIcon joindepthIcon(::GetImagePath()+"icon/joindepth.png"); QIcon ModuleOpenIcon(::GetImagePath()+"icon/ModuleOne.png"); @@ -309,7 +309,7 @@ void MainWindowCurve::initMainToolBar() QIcon SaveAsPdfIcon(::GetImagePath()+"icon/ExportPDF.png"); QIcon SaveAsSvgIcon(::GetImagePath()+"icon/ExportSVG.png"); QIcon doubleHeadIcon(::GetImagePath()+"icon/oneortwohead.png"); - QIcon autorollIcon(::GetImagePath()+"icon/Autoroll.png"); + QIcon autorollIcon(::GetImagePath()+"icon/autoroll.png"); QIcon loadIcon(":/image/export.png"); //Main工具栏 @@ -412,7 +412,7 @@ void MainWindowCurve::initToolBar() QIcon mcalsIcon(::GetImagePath()+"icon/mcals.png"); QIcon logfaceIcon(::GetImagePath()+"icon/logface.png"); QIcon TubingstringIcon(::GetImagePath()+"icon/Tubingstring.png"); - QIcon TDTIcon(::GetImagePath()+"icon/TDT.png"); + QIcon TDTIcon(::GetImagePath()+"icon/tdt.png"); QIcon LogMudIcon(::GetImagePath()+"icon/LogMud.png"); //工具栏