|
|
@ -6,18 +6,18 @@
|
|
|
|
#include <QVariant>
|
|
|
|
#include <QVariant>
|
|
|
|
#include "CFDStructDataSolverSportsAttributesManager.h"
|
|
|
|
#include "CFDStructDataSolverSportsAttributesManager.h"
|
|
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverSportsAttributesManager::CFDStructDataSolverSportsAttributesManager(QObject *parent) : CFDStructDataManagerBase(parent)
|
|
|
|
CFDStructDataSolverSportsAttributesItemManager::CFDStructDataSolverSportsAttributesItemManager(QObject *parent) : CFDStructDataManagerBase(parent)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_uiConfig = nullptr;
|
|
|
|
m_uiConfig = nullptr;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverSportsAttributesManager::~CFDStructDataSolverSportsAttributesManager()
|
|
|
|
CFDStructDataSolverSportsAttributesItemManager::~CFDStructDataSolverSportsAttributesItemManager()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// CFDStructDataManagerBase::~CFDStructDataManagerBase();
|
|
|
|
// CFDStructDataManagerBase::~CFDStructDataManagerBase();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig()
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesItemManager::getParamUIConfig()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (m_uiConfig != nullptr)
|
|
|
|
if (m_uiConfig != nullptr)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -28,7 +28,7 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig()
|
|
|
|
return m_uiConfig;
|
|
|
|
return m_uiConfig;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesManager::genMovingFrameModeUIConfig()
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesItemManager::genMovingFrameModeUIConfig()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return new CUIConfig({
|
|
|
|
return new CUIConfig({
|
|
|
|
{"type", "Widget"},
|
|
|
|
{"type", "Widget"},
|
|
|
@ -85,7 +85,7 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::genMovingFrameModeUIConfi
|
|
|
|
return nullptr;
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesManager::genRigidBodyModeUIConfig()
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesItemManager::genRigidBodyModeUIConfig()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return new CUIConfig({
|
|
|
|
return new CUIConfig({
|
|
|
|
{"type", "Widget"},
|
|
|
|
{"type", "Widget"},
|
|
|
@ -134,3 +134,29 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::genRigidBodyModeUIConfig(
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return nullptr;
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverSportsAttributesManager::CFDStructDataSolverSportsAttributesManager(QObject *parent)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverSportsAttributesManager::~CFDStructDataSolverSportsAttributesManager()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void CFDStructDataSolverSportsAttributesManager::addNewSportAttributesItem()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void CFDStructDataSolverSportsAttributesManager::deleteSportAttributesItem(int index)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|