1、修改配置中的错误

feature/struct-menu-20241023
mzh 2 weeks ago
parent 15921b82fd
commit eaa5195aad

@ -12,13 +12,14 @@ CFDStructDataSolverKvislManager::~CFDStructDataSolverKvislManager()
CUIConfig *CFDStructDataSolverKvislManager::getParamUIConfig()
{
qDebug()<<"problem!!!";
return this->genInviscidUIConfig();
}
CUIConfig *CFDStructDataSolverKvislManager::genInviscidUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
@ -37,7 +38,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genInviscidUIConfig()
CUIConfig *CFDStructDataSolverKvislManager::genLaminarUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
@ -56,7 +57,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genLaminarUIConfig()
CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
@ -92,7 +93,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
@ -127,7 +128,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
@ -163,7 +164,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
@ -208,7 +209,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
{"name", tr("Model")}},
@ -253,7 +254,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({
{"type", "GroupBox"}, // 组:模型
@ -309,7 +310,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
{
return new CUIConfig(
{{"type", "widget"}},
{{"type", "Widget"}},
{
new CUIConfig({
{"type", "GroupBox"}, // 组:模型

Loading…
Cancel
Save