diff --git a/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.cpp b/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.cpp index 5599944..c87c12c 100644 --- a/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.cpp +++ b/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.cpp @@ -6,18 +6,18 @@ #include #include "CFDStructDataSolverSportsAttributesManager.h" -CFDStructDataSolverSportsAttributesManager::CFDStructDataSolverSportsAttributesManager(QObject *parent) : CFDStructDataManagerBase(parent) +CFDStructDataSolverSportsAttributesItemManager::CFDStructDataSolverSportsAttributesItemManager(QObject *parent) : CFDStructDataManagerBase(parent) { m_uiConfig = nullptr; } -CFDStructDataSolverSportsAttributesManager::~CFDStructDataSolverSportsAttributesManager() +CFDStructDataSolverSportsAttributesItemManager::~CFDStructDataSolverSportsAttributesItemManager() { // CFDStructDataManagerBase::~CFDStructDataManagerBase(); } -CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig() +CUIConfig *CFDStructDataSolverSportsAttributesItemManager::getParamUIConfig() { if (m_uiConfig != nullptr) { @@ -28,7 +28,7 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig() return m_uiConfig; } -CUIConfig *CFDStructDataSolverSportsAttributesManager::genMovingFrameModeUIConfig() +CUIConfig *CFDStructDataSolverSportsAttributesItemManager::genMovingFrameModeUIConfig() { return new CUIConfig({ {"type", "Widget"}, @@ -85,7 +85,7 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::genMovingFrameModeUIConfi return nullptr; } -CUIConfig *CFDStructDataSolverSportsAttributesManager::genRigidBodyModeUIConfig() +CUIConfig *CFDStructDataSolverSportsAttributesItemManager::genRigidBodyModeUIConfig() { return new CUIConfig({ {"type", "Widget"}, @@ -134,3 +134,29 @@ CUIConfig *CFDStructDataSolverSportsAttributesManager::genRigidBodyModeUIConfig( }); return nullptr; } + +CFDStructDataSolverSportsAttributesManager::CFDStructDataSolverSportsAttributesManager(QObject *parent) +{ + +} + +CFDStructDataSolverSportsAttributesManager::~CFDStructDataSolverSportsAttributesManager() +{ + +} + +CUIConfig *CFDStructDataSolverSportsAttributesManager::getParamUIConfig() +{ + return NULL; +} + +void CFDStructDataSolverSportsAttributesManager::addNewSportAttributesItem() +{ + +} + +void CFDStructDataSolverSportsAttributesManager::deleteSportAttributesItem(int index) +{ + +} + diff --git a/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.h b/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.h index 6495e28..26ec175 100644 --- a/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.h +++ b/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAttributesManager.h @@ -47,13 +47,13 @@ public: CUIConfig* getParamUIConfig(); private: - // 生成运动坐标系的界面配置 - CUIConfig* genMovingFrameModeUIConfig(); - // 生成刚体的界面配置 - CUIConfig* genRigidBodyModeUIConfig(); +// // 生成运动坐标系的界面配置 +// CUIConfig* genMovingFrameModeUIConfig(); +// // 生成刚体的界面配置 +// CUIConfig* genRigidBodyModeUIConfig(); - void add(); - void delte(int index); + virtual void addNewSportAttributesItem(); + virtual void deleteSportAttributesItem(int index); signals: diff --git a/CFDStruct/CFDStructMain/CFDStructMainWindow.cpp b/CFDStruct/CFDStructMain/CFDStructMainWindow.cpp index 999760c..acee387 100644 --- a/CFDStruct/CFDStructMain/CFDStructMainWindow.cpp +++ b/CFDStruct/CFDStructMain/CFDStructMainWindow.cpp @@ -23,7 +23,6 @@ #include #include -#include "CFDStructOperatorsModel/CFDStructOperatorsTimeModeManager.h" #include "CFDStructOperatorsModel/CFDStructOperatorsModelSolverProperty.h" using namespace GUI; diff --git a/CFDStruct/CFDStructMain/CFDTreeWidget.cpp b/CFDStruct/CFDStructMain/CFDTreeWidget.cpp index d23d69d..1b950d3 100644 --- a/CFDStruct/CFDStructMain/CFDTreeWidget.cpp +++ b/CFDStruct/CFDStructMain/CFDTreeWidget.cpp @@ -5,7 +5,6 @@ #include "GUIFrame/MainTreeWidget.h" #include "OperatorsInterface/GraphEventOperator.h" #include "OperatorsInterface/TreeEventOperator.h" -// #include "CFDOperatorsModel/CFDOperatorsTimeModeManager.h" #include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h" #include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h" diff --git a/CFDStruct/CFDStructMain/CFDTreeWidget.h b/CFDStruct/CFDStructMain/CFDTreeWidget.h index 2a79bad..b01bbd6 100644 --- a/CFDStruct/CFDStructMain/CFDTreeWidget.h +++ b/CFDStruct/CFDStructMain/CFDTreeWidget.h @@ -6,7 +6,6 @@ #include "CFDStructDefine.h" #include #include -#include "CFDStructOperatorsModel/CFDStructOperatorsTimeModeManager.h" class MainWindow; class QTabWidget;