1、完成求解时间步的界面部分配置;

feature/struct-menu-20241023
simonyan 3 weeks ago
parent 32c6f8455d
commit 327e18a0cb

@ -1,9 +1,9 @@
HEADERS += \
$$PWD/CFDOperatorsModelAPI.h \
$$PWD/CFDOperatorsBasicModelManager.h \
$$PWD/CFDOperatorsTimeModeManager.h \
$$PWD/CFDOperatorsTimeModeManager.h
SOURCES += \
$$PWD/CFDOperatorsTimeModeManager.cpp \
$$PWD/CFDOperatorsBasicModelManager.cpp \
$$PWD/CFDOperatorsTimeModeManager.cpp

@ -1,5 +1,26 @@
#include "CFDStructDataManager.h"
CFDStructDataManager::CFDStructDataManager() {
m_pTimeMode = new CFDStructDataTimeMode;
#include "CFDStructDataSolverTimeModeManager.h"
#include "CUIProperty/CUIConfig.h"
CFDStructDataManager* m_instance = NULL;
CFDStructDataManager::CFDStructDataManager()
{
}
CFDStructDataManager *CFDStructDataManager::getInstance()
{
if (m_instance == nullptr) {
m_instance = new CFDStructDataManager;
}
return m_instance;
}
CUIConfig CFDStructDataManager::getActionParamUIConfig(int i)
{
}
void CFDStructDataManager::initDataManagers()
{
m_solverTimeModeManager = new CFDStructDataSolverTimeModeManager;
}

@ -2,21 +2,24 @@
#define CFDSTRUCTDATAMANAGER_H
#include "CFDStructDataManager_global.h"
class CFDStructDataSolverTimeModeManager;
class CUIConfig;
class CFDStructDataTimeModeUIConfig {
};
class CFDStructDataTimeMode {
int mode = 0;
int step = 5000;
};
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataManager {
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataManager
{
public:
CFDStructDataManager();
static CFDStructDataManager* getInstance();
// 获取一个action的参数设置配置
CUIConfig* getActionParamUIConfig(int i);
private:
CFDStructDataTimeMode* m_pTimeMode;
void initDataManagers();
private:
static CFDStructDataManager* m_instance;
CFDStructDataSolverTimeModeManager* m_solverTimeModeManager;
};
#endif // CFDSTRUCTDATAMANAGER_H

@ -1,7 +1,9 @@
SOURCES += \
$$PWD/CFDStructDataSolverTimeModeManager.cpp \
CFDStructDataManager.cpp \
HEADERS += \
$$PWD/CFDStructDataDefine.h \
$$PWD/CFDStructDataSolverTimeModeManager.h \
CFDStructDataManager_global.h \
CFDStructDataManager.h

@ -24,3 +24,96 @@ unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
win32{
INCLUDEPATH += ./ \
../ \
../../ \
Release:DESTDIR = ../../output/bin
Release:MOC_DIR = ../../generate/CFDStructDataManager/release/moc
Release:RCC_DIR = ../../generate/CFDStructDataManager/release/rcc
Release:UI_DIR = ../../generate/CFDStructDataManager/release/qui
Release:OBJECTS_DIR = ../../generate/CFDStructDataManager/release/obj
Release:LIBS += \
-L../../output/bin \
-lFITKAppFramework \
-lFITKCore \
-lFITKOFDictWriter \
-lGUIFrame \
-lGUIWidget \
-lOperatorsInterface \
-lGUIGeometryDialog \
-lGUIMeshDialog \
-lGUICalculateDialog \
-lFITKOFDriver \
-lFITKInterfaceIO \
-lFITKInterfaceMesh \
-lFITKOFMeshIO \
-lFITKInterfaceMeshGen \
-lFITKGeoCompOCC \
-lFITKInterfaceModel \
-lFITKInterfaceGeometry \
-lFITKWidget \
-lFITKInterfaceFlowOF \
-lFITKFlowOFIOHDF5 \
-lOperatorsModel \
# -lCFDStructDataManager \
Debug:CONFIG += console
Debug:DESTDIR = ../../output/bin_d
Debug:MOC_DIR = ../../generate/CFDStructDataManager/debug/moc
Debug:RCC_DIR = ../../generate/CFDStructDataManager/debug/rcc
Debug:UI_DIR = ../../generate/CFDStructDataManager/debug/qui
Debug:OBJECTS_DIR = ../../generate/CFDStructDataManager/debug/obj
Debug:LIBS += \
-L../../output/bin_d \
-lFITKAppFramework \
-lFITKCore \
-lFITKOFDictWriter \
-lGUIFrame \
-lGUIWidget \
-lOperatorsInterface \
-lGUIGeometryDialog \
-lGUIMeshDialog \
-lGUICalculateDialog \
-lFITKOFDriver \
-lFITKInterfaceIO \
-lFITKInterfaceMesh \
-lFITKOFMeshIO \
-lFITKInterfaceMeshGen \
-lFITKGeoCompOCC \
-lFITKInterfaceModel \
-lFITKInterfaceGeometry \
-lFITKWidget \
-lFITKInterfaceFlowOF \
-lFITKFlowOFIOHDF5 \
-lOperatorsModel \
# -lCFDStructDataManager \
message("Windows CFDStructDataManager generated")
}
unix{
INCLUDEPATH += ./ \
../ \
../../ \
CONFIG += console
CONFIG += plugin
DESTDIR = ../../output/bin
MOC_DIR = ../../generate/CFDStructDataManager/release/moc
UI_DIR = ../../generate/CFDStructDataManager/release/qui
RCC_DIR = ../../generate/CFDStructDataManager/release/rcc
OBJECTS_DIR = ../../generate/CFDStructDataManager/release/obj
LIBS += \
-L../../output/bin \
message("Linux CFDStructDataManager generated")
}

Loading…
Cancel
Save