1、补齐代码,可以编译生成;

feature/struct-menu-20241023
simonyan 2 weeks ago
parent 696f581460
commit 64a0e6facf

@ -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)
{
}

@ -47,13 +47,13 @@ public:
CUIConfig* getParamUIConfig(); CUIConfig* getParamUIConfig();
private: private:
// 生成运动坐标系的界面配置 // // 生成运动坐标系的界面配置
CUIConfig* genMovingFrameModeUIConfig(); // CUIConfig* genMovingFrameModeUIConfig();
// 生成刚体的界面配置 // // 生成刚体的界面配置
CUIConfig* genRigidBodyModeUIConfig(); // CUIConfig* genRigidBodyModeUIConfig();
void add(); virtual void addNewSportAttributesItem();
void delte(int index); virtual void deleteSportAttributesItem(int index);
signals: signals:

@ -23,7 +23,6 @@
#include <QSplitter> #include <QSplitter>
#include <QTreeWidgetItem> #include <QTreeWidgetItem>
#include "CFDStructOperatorsModel/CFDStructOperatorsTimeModeManager.h"
#include "CFDStructOperatorsModel/CFDStructOperatorsModelSolverProperty.h" #include "CFDStructOperatorsModel/CFDStructOperatorsModelSolverProperty.h"
using namespace GUI; using namespace GUI;

@ -5,7 +5,6 @@
#include "GUIFrame/MainTreeWidget.h" #include "GUIFrame/MainTreeWidget.h"
#include "OperatorsInterface/GraphEventOperator.h" #include "OperatorsInterface/GraphEventOperator.h"
#include "OperatorsInterface/TreeEventOperator.h" #include "OperatorsInterface/TreeEventOperator.h"
// #include "CFDOperatorsModel/CFDOperatorsTimeModeManager.h"
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h" #include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h" #include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"

@ -6,7 +6,6 @@
#include "CFDStructDefine.h" #include "CFDStructDefine.h"
#include <CFDStructMainAPI.h> #include <CFDStructMainAPI.h>
#include <GUIWidget/TreeWidget.h> #include <GUIWidget/TreeWidget.h>
#include "CFDStructOperatorsModel/CFDStructOperatorsTimeModeManager.h"
class MainWindow; class MainWindow;
class QTabWidget; class QTabWidget;

Loading…
Cancel
Save