#ifndef CFDTreeWidget_h #define CFDTreeWidget_h #include #include //#include #include #include class MainWindow; class QTabWidget; namespace GUI{ class PropertyWidget; class CFDPropertyWidget; enum class SolutionAnalysisTreeEnum{ SATree_GeometryandMeshing, SATree_ComputationalSetup, SATree_ComputationalSetupTimeMode, SATree_ComputationalSetupComputationalDomain, SATree_ComputationalSetupComputationalDomainSolver, SATree_ComputationalSetupComputationalDomainSolverBasicModel, SATree_ComputationalSetupComputationalDomainSolverViscosityModel, SATree_ComputationalSetupComputationalDomainSolverNumericalMethods, SATree_ComputationalSetupComputationalDomainSolverMotionProperties, SATree_ComputationalSetupComputationalDomainSolverBoundaryConditions, SATree_ComputationalSetupComputationalDomainSolverBoundaryConditionsPressureInlet, SATree_ComputationalSetupComputationalDomainSolverInitialization, SATree_ComputationalSetupComputationalDomainSolverComputationalControl, SATree_ComputationalSetupComputationalDomainSolverComputationalControlReferenceQuantity, SATree_ComputationalSetupComputationalDomainSolverMonitors, SATree_ComputationalSetupComputationalDomainSolverMonitorsResidual, SATree_ComputationalSetupComputationalDomainSolverMonitorsAerodynamicForce, SATree_ComputationalSetupComputationalDomainSolverMonitorsTurbomachineryPerformance, }; class CFDStructGUIAPI CFDTreeWidget : public TreeWidget{ Q_OBJECT public: CFDTreeWidget(QWidget* parent, PropertyWidget* m_ProperWidget); public: void init(); void updateTree(QString s); void addTreePreprocessing(); void addTreeSolutionAnalysis(); void addTreePostprocessing(); private slots: void onItemClicked(QTreeWidgetItem *item, int column); private: PropertyWidget* m_PropertyWidget; CFDPropertyWidget* m_PropertyOpt; }; } Q_DECLARE_METATYPE(GUI::SolutionAnalysisTreeEnum) #endif