|
|
|
@ -10,8 +10,7 @@ CFDStructDataSolverReferenceQuantityManager::CFDStructDataSolverReferenceQuantit
|
|
|
|
|
{
|
|
|
|
|
m_uiConfig = nullptr;
|
|
|
|
|
connect(m_cuiSigsCenter, &CUISigsCenter::sig_cuiPropertyChanged, this, [=](int semaphore)
|
|
|
|
|
{
|
|
|
|
|
emit CFDStructSigsCenter::getInstance()->sig_solverTimeModeDataChanged(); });
|
|
|
|
|
{ emit CFDStructSigsCenter::getInstance() -> sig_solverTimeModeDataChanged(); });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverReferenceQuantityManager::~CFDStructDataSolverReferenceQuantityManager()
|
|
|
|
@ -38,8 +37,12 @@ CUIConfig *CFDStructDataSolverReferenceQuantityManager::genUIConfig()
|
|
|
|
|
{"type", "Widget"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "ComboBox"}, // 参考值取自
|
|
|
|
|
{"name", tr("The reference value is taken from")}},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 参考值取自
|
|
|
|
|
{"name", tr("The reference value is taken from")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ReferenceValuesFrom)},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "Item"}, // 无
|
|
|
|
@ -52,10 +55,14 @@ CUIConfig *CFDStructDataSolverReferenceQuantityManager::genUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 压强
|
|
|
|
|
{"name", tr("pressure")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Pressure)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 温度
|
|
|
|
|
{"name", tr("temperature")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Temperature)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "GroupBox"}, // Re数相关
|
|
|
|
@ -64,6 +71,8 @@ CUIConfig *CFDStructDataSolverReferenceQuantityManager::genUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 长度
|
|
|
|
|
{"name", tr("length")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Length)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "GroupBox"}, // 力和力矩
|
|
|
|
@ -72,6 +81,8 @@ CUIConfig *CFDStructDataSolverReferenceQuantityManager::genUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 面积
|
|
|
|
|
{"name", tr("the measure of area")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Area)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|