|
|
@ -1,6 +1,7 @@
|
|
|
|
#ifndef CFDSTRUCTDEFINE_H
|
|
|
|
#ifndef CFDSTRUCTDEFINE_H
|
|
|
|
#define CFDSTRUCTDEFINE_H
|
|
|
|
#define CFDSTRUCTDEFINE_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <QCoreApplication>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
|
|
#define QVA_GLOBAL(x) QVariant::fromValue(x)
|
|
|
|
#define QVA_GLOBAL(x) QVariant::fromValue(x)
|
|
|
@ -8,12 +9,12 @@
|
|
|
|
#define QVA_FROM_QS(x) qvariant_cast<QString>(x)
|
|
|
|
#define QVA_FROM_QS(x) qvariant_cast<QString>(x)
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef QVAR_DECLARE
|
|
|
|
#ifndef QVAR_DECLARE
|
|
|
|
#define QVAR_DECLARE
|
|
|
|
#define QVAR_DECLARE
|
|
|
|
Q_DECLARE_METATYPE(int*)
|
|
|
|
Q_DECLARE_METATYPE(int *)
|
|
|
|
Q_DECLARE_METATYPE(bool*)
|
|
|
|
Q_DECLARE_METATYPE(bool *)
|
|
|
|
Q_DECLARE_METATYPE(double*)
|
|
|
|
Q_DECLARE_METATYPE(double *)
|
|
|
|
Q_DECLARE_METATYPE(QString*)
|
|
|
|
Q_DECLARE_METATYPE(QString *)
|
|
|
|
Q_DECLARE_METATYPE(QString)
|
|
|
|
Q_DECLARE_METATYPE(QString)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// 结构树中节点
|
|
|
|
// 结构树中节点
|
|
|
@ -64,5 +65,9 @@ enum class SolutionAnalysisModuleProperty {
|
|
|
|
UNKNOW,
|
|
|
|
UNKNOW,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDEFINE_H
|
|
|
|
// 模板json文件路径
|
|
|
|
|
|
|
|
const std::string templateJSONPath = QCoreApplication::applicationDirPath().toStdString() + "..\\Resources\\template.json";
|
|
|
|
|
|
|
|
// 输出json文件路径
|
|
|
|
|
|
|
|
const std::string caseJSONPath = QCoreApplication::applicationDirPath().toStdString() + "..\\Resources\\case-01.json";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDEFINE_H
|
|
|
|