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

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

@ -6,18 +6,18 @@
#include <QVariant>
#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)
{
}

@ -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:

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

@ -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"

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

Loading…
Cancel
Save