岩心图片属性

This commit is contained in:
crqiqi77 2026-03-30 09:58:39 +08:00
parent 70a0048444
commit 82c261e8c3
2 changed files with 8 additions and 1 deletions

View File

@ -5494,8 +5494,12 @@ void FormDraw::initIMAGE_DATA(QMyCustomPlot *widget, QString strSlfName, QString
// //
LoadFromIMAGE_SLF(widget, strSlfName, strLineName); LoadFromIMAGE_SLF(widget, strSlfName, strLineName);
//显示文本 //显示文本
QString strAliasName = "岩心图片"; QString strAliasName = "岩心图片";
if(stringList.size() >= 1)
{
strAliasName = stringList.at(0);
}
QString strUnit = ""; QString strUnit = "";
QColor newlineColor=QColor(0,0,0); QColor newlineColor=QColor(0,0,0);
double width=2; double width=2;

View File

@ -585,6 +585,9 @@ void FormTrack::s_AddTableLine(QString strSlfName, QString strWellName, QString
QFont curveNameFont("微软雅黑", 10); // 名称字体 QFont curveNameFont("微软雅黑", 10); // 名称字体
curveNameFont.fromString(listOtherProperty[2]); curveNameFont.fromString(listOtherProperty[2]);
formInfo->m_curveNameFont = curveNameFont; formInfo->m_curveNameFont = curveNameFont;
QColor color(listOtherProperty[1]);
formInfo->m_lineColor = color;
// //
if(listOtherProperty[3]=="VerticaDrawing") if(listOtherProperty[3]=="VerticaDrawing")
{ {