|
|
@ -185,12 +185,33 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genFarFieldModeUIConfig(
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{}),
|
|
|
|
{}),
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "LineEdit"}, // 来流方向
|
|
|
|
{"type", "GroupBox"}, // 来流方向
|
|
|
|
{"name", tr("Flow direction")},
|
|
|
|
{"name", tr("Flow direction")},
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
{"layout", "QHBoxLayout"},
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_InflowDirection)},
|
|
|
|
// {"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
|
|
|
// {"value_origin", QVA_GLOBAL(&m_InflowDirection)},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{}),
|
|
|
|
{
|
|
|
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
|
|
|
{"value_origin", m_InflowDirectionX},
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
|
|
|
{"value_origin", m_InflowDirectionY},
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
|
|
|
{"value_origin", m_InflowDirectionZ},
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "GroupBox"},
|
|
|
|
{"type", "GroupBox"},
|
|
|
|