Merge branch 'main' of http://git.hivekion.com:3000/jiayulong/logplus
This commit is contained in:
commit
b030ca5387
|
|
@ -471,6 +471,25 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
|||
m_tdLayer->setRange(currentRange.lower, currentRange.upper);
|
||||
}
|
||||
}
|
||||
else if (m_strCurrentProperty == JieshiItem_Property)
|
||||
{
|
||||
if (m_tdJieshi)
|
||||
{
|
||||
if ("顶深(m)" == m_propertyData[pProperty])
|
||||
{
|
||||
double upper = variant.value<double>();
|
||||
m_tdJieshi->setDragRect(2, -upper);
|
||||
}
|
||||
else if ("底深(m)" == m_propertyData[pProperty])
|
||||
{
|
||||
double lower = variant.value<double>();
|
||||
m_tdJieshi->setDragRect(1, -lower);
|
||||
}
|
||||
else if ("油气结论" == m_propertyData[pProperty])
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (m_strCurrentProperty == GujingItem_Property)
|
||||
{
|
||||
//先处理通用属性
|
||||
|
|
@ -1806,8 +1825,8 @@ void PropertyWidget::initTableProperty(FormInfo *formInfo)
|
|||
_CreateVariantPropertyItem("通常", "选择井曲线", m_strLineName + "@" + m_strSlfName, QVariant::String);
|
||||
|
||||
_CreateVariantPropertyItem("名称", "显示名称", formInfo->m_strLineName, QVariant::String);
|
||||
//_CreateVariantPropertyItem("名称", "垂向绘制", formInfo->m_bVerticaDrawing, QVariant::Bool);
|
||||
//_CreateVariantPropertyItem("名称", "旋转角度(°)", formInfo->m_nRotationAngle, QVariant::Int);
|
||||
_CreateVariantPropertyItem("名称", "垂向绘制", formInfo->m_bVerticaDrawing, QVariant::Bool);
|
||||
_CreateVariantPropertyItem("名称", "旋转角度(°)", formInfo->m_nRotationAngle, QVariant::Int);
|
||||
_CreateVariantPropertyItem("名称", "字体", formInfo->m_curveNameFont, QVariant::Font);
|
||||
_CreateVariantPropertyItem("名称", "颜色", formInfo->m_lineColor, QVariant::Color);
|
||||
|
||||
|
|
@ -2010,6 +2029,32 @@ void PropertyWidget::initWaveProperty(FormInfo *formInfo, int nType)
|
|||
m_strCurrentProperty = Wave_Property;
|
||||
}
|
||||
|
||||
void PropertyWidget::initJieshiItemProperty(TransparentGroupResult* tdJieshi, double lower, double upper, QString strResult)
|
||||
{
|
||||
//初始化,清空
|
||||
InitCurrentViewInfo();
|
||||
|
||||
|
||||
m_tdJieshi = tdJieshi;
|
||||
|
||||
//
|
||||
_CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double);
|
||||
_CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double);
|
||||
_CreateVariantPropertyItem("当前项", "解释层号", tdJieshi->getTitle(), QVariant::String);
|
||||
_CreateVariantPropertyItem("当前项", "油气结论", strResult, VariantManager::filePathTypeId());
|
||||
_CreateVariantPropertyItem("当前项", "备注", "", QVariant::String);
|
||||
for (int i = 1; i <= 10; i++)
|
||||
{
|
||||
_CreateVariantPropertyItem("当前项", QString("油气结论%1").arg(i), strResult, VariantManager::filePathTypeId());
|
||||
}
|
||||
for (int i = 1; i <= 10; i++)
|
||||
{
|
||||
_CreateVariantPropertyItem("当前项", QString("分段点%1深度").arg(i), strResult, VariantManager::filePathTypeId());
|
||||
}
|
||||
//当前属性类型
|
||||
m_strCurrentProperty = JieshiItem_Property;
|
||||
}
|
||||
|
||||
void PropertyWidget::initSwallCoreProperty(FormInfo *formInfo)
|
||||
{
|
||||
_CreateVariantPropertyItem("通常", "选择井曲线", m_strLineName + "@" + m_strSlfName, QVariant::String);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user