1、属性配置信息中的单选框的配置,将groupbox替换为buttonbox

feature/struct-menu-20241023
mzh 2 weeks ago
parent 13ce43234e
commit 7f621ffc43

@ -418,7 +418,7 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallAdiabaticWallUICo
}),
}),
new CUIConfig({
{"type", "GroupBox"}, // 壁面类型
{"type", "ButtonBox"}, // 壁面类型
{"name", tr(("Wall type"))},
},
{
@ -483,7 +483,7 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallIsothermalWallUIC
}),
}),
new CUIConfig({
{"type", "GroupBox"}, // 壁面类型
{"type", "ButtonBox"}, // 壁面类型
{"name", tr(("Wall type"))},
},
{
@ -552,7 +552,7 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
}),
}),
new CUIConfig({
{"type", "GroupBox"}, // 壁面类型
{"type", "ButtonBox"}, // 壁面类型
{"name", tr(("Wall type"))},
},
{

@ -39,7 +39,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genLaminarUIConfig()
{
return new CUIConfig(
{{"type", "Widget"}},
{new CUIConfig({{"type", "GroupBox"}, // 组:模型
{new CUIConfig({{"type", "BUttonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -59,7 +59,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
return new CUIConfig(
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
new CUIConfig({{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -71,7 +71,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
{"name", tr("DES")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
{"name", tr("S-A")}}),
@ -79,7 +79,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
{"name", tr("Menters's κ-ω")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
{"name", tr("κ-ε")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:S-A类型
new CUIConfig({{"type", "ButtonBox"}, // 组:S-A类型
{"name", tr("S-A Type")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
{"name", tr("standard")}}),
@ -95,7 +95,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
return new CUIConfig(
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
new CUIConfig({{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -107,7 +107,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
{"name", tr("DES")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
{"name", tr("S-A")}}),
@ -115,7 +115,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
{"name", tr("Menters's κ-ω")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
{"name", tr("κ-ε")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:κ-ω类型
new CUIConfig({{"type", "ButtonBox"}, // 组:κ-ω类型
{"name", tr("κ-ω Type")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
@ -130,7 +130,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
return new CUIConfig(
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
new CUIConfig({{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -142,7 +142,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
{"name", tr("DES")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
{"name", tr("S-A")}}),
@ -150,7 +150,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
{"name", tr("Menters's κ-ω")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
{"name", tr("κ-ε")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:κ-ε类型
new CUIConfig({{"type", "ButtonBox"}, // 组:κ-ε类型
{"name", tr("κ-ε Type")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
@ -166,7 +166,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
return new CUIConfig(
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
new CUIConfig({{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -178,7 +178,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
{"name", tr("DES")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:DES
new CUIConfig({{"type", "ButtonBox"}, // 组:DES
{"name", tr("DES Model")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:DES
@ -188,7 +188,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
new CUIConfig({{"type", "RadioButton"}, // 按钮:IDDES两方程
{"name", tr("IDDES")}}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
@ -196,7 +196,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
new CUIConfig({{"type", "RadioButton"}, // 按钮:Menters's κ-ω(两方程)
{"name", tr("Menters's κ-ω")}}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:S-A类型
new CUIConfig({{"type", "ButtonBox"}, // 组:S-A类型
{"name", tr("S-A Type")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
@ -211,7 +211,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
return new CUIConfig(
{{"type", "Widget"}},
{
new CUIConfig({{"type", "GroupBox"}, // 组:模型
new CUIConfig({{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")}},
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
{"name", tr("Inviscid")}}),
@ -223,7 +223,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
{"name", tr("DES")}}),
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")}})}),
new CUIConfig({{"type", "GroupBox"}, // 组:DES
new CUIConfig({{"type", "ButtonBox"}, // 组:DES
{"name", tr("DES Model")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:DES
@ -233,7 +233,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
new CUIConfig({{"type", "RadioButton"}, // 按钮:IDDES两方程
{"name", tr("IDDES")}}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
@ -241,7 +241,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
new CUIConfig({{"type", "RadioButton"}, // 按钮:Menters's κ-ω(两方程)
{"name", tr("Menters's κ-ω")}}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:κ-ω类型
new CUIConfig({{"type", "ButtonBox"}, // 组:κ-ω类型
{"name", tr("κ-ω Type")}},
{
new CUIConfig({{"type", "RadioButton"}, // 按钮:SST
@ -257,7 +257,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
{{"type", "Widget"}},
{
new CUIConfig({
{"type", "GroupBox"}, // 组:模型
{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")},
},
{new CUIConfig({
@ -280,7 +280,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")},
})}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{
new CUIConfig({
@ -292,7 +292,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
{"name", tr("Menters's κ-ω")},
}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:S-A类型
new CUIConfig({{"type", "ButtonBox"}, // 组:S-A类型
{"name", tr("S-A Type")}},
{new CUIConfig({
{"type", "RadioButton"}, // 按钮:standard
@ -313,7 +313,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
{{"type", "Widget"}},
{
new CUIConfig({
{"type", "GroupBox"}, // 组:模型
{"type", "ButtonBox"}, // 组:模型
{"name", tr("Model")},
},
{new CUIConfig({
@ -336,7 +336,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
{"type", "RadioButton"}, // 按钮:约束大涡模型
{"name", tr("CLES")},
})}),
new CUIConfig({{"type", "GroupBox"}, // 组:RANS模型
new CUIConfig({{"type", "ButtonBox"}, // 组:RANS模型
{"name", tr("RANS Model")}},
{
new CUIConfig({
@ -348,7 +348,7 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
{"name", tr("Menters's κ-ω")},
}),
}),
new CUIConfig({{"type", "GroupBox"}, // 组:κ-ω类型
new CUIConfig({{"type", "ButtonBox"}, // 组:κ-ω类型
{"name", tr("κ-ω Type")}},
{
new CUIConfig({

Loading…
Cancel
Save