拖动井位置立即刷新面板中坐标

feature/nm-para-property-20260615
lvjunjie 1 week ago
parent 3a8692b0b1
commit 6daccfc750

@ -16,6 +16,7 @@
#include "nmDataRegion.h" #include "nmDataRegion.h"
#include "nmObjBase.h" #include "nmObjBase.h"
#include "nmDataAnalyzeManager.h" #include "nmDataAnalyzeManager.h"
#include "nmAttrRegistry.h"
#include "nmObjPointWell.h" #include "nmObjPointWell.h"
#include "nmDataWellBase.h" #include "nmDataWellBase.h"
#include "nmDataVerticalFracturedWell.h" #include "nmDataVerticalFracturedWell.h"
@ -1714,6 +1715,11 @@ void nmPlotGraphicBinder::syncWellMoveFromGraphic(nmObjPointWell* pGraphic,
pHFWell->setFracs(); pHFWell->setFracs();
} }
} }
// 本轮移动数据写回完成后,统一刷新参数面板中的已注册属性。
if (m_pDataMgr != nullptr && m_pDataMgr->getAttrRegistry() != nullptr) {
m_pDataMgr->getAttrRegistry()->refreshAll();
}
} }
bool nmPlotGraphicBinder::ensureSelectedWellData(nmObjPointWell* pGraphic, bool nmPlotGraphicBinder::ensureSelectedWellData(nmObjPointWell* pGraphic,

@ -288,7 +288,10 @@ bool nmWxParaPropertyPebi::setParaValue(QString sPara, QVariant o)
void nmWxParaPropertyPebi::slotSetParaValue(QString sPara, QVariant o) void nmWxParaPropertyPebi::slotSetParaValue(QString sPara, QVariant o)
{ {
// 数据层刷新控件时屏蔽反向通知,避免再次写回数据。
m_bUnableSP = true;
setParaValue(sPara, o); setParaValue(sPara, o);
m_bUnableSP = false;
} }
void nmWxParaPropertyPebi::slotParaCtrlValueChanged(QString sPara, QVariant o) void nmWxParaPropertyPebi::slotParaCtrlValueChanged(QString sPara, QVariant o)

Loading…
Cancel
Save