You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
#ifndef _MainTreeWidget_H
|
|
#define _MainTreeWidget_H
|
|
|
|
#include "GUIFrameAPI.h"
|
|
#include "PanelWidgetBase.h"
|
|
|
|
namespace GUI
|
|
{
|
|
class MainWindow;
|
|
class TreeWidget;
|
|
|
|
enum class MainTreeEnum {
|
|
MainTree_None = 0,
|
|
MainTree_Geomety,
|
|
MainTree_GeometyBoxItem,
|
|
MainTree_GeometyCylinderItem,
|
|
MainTree_GeometySphereItem,
|
|
MainTree_GeometyBoolOrImportItem,
|
|
|
|
MainTree_Mesh,
|
|
MainTree_MeshGeometry,
|
|
MainTree_MeshBase,
|
|
MainTree_MeshLocal,
|
|
MainTree_MeshLocalItem,
|
|
MainTree_MeshPoint,
|
|
MainTree_MeshBoundary,
|
|
MainTree_MeshBoundaryItem,
|
|
|
|
MainTree_Setup,
|
|
MainTree_SetupTurbulence,
|
|
MainTree_SetupTransportProperties,
|
|
MainTree_SetupDiscretization,
|
|
MainTree_SetupSolution,
|
|
MainTree_SetupPassiveScalars,
|
|
MainTree_SetupOperatingConditions,
|
|
MainTree_SetupCellZones,
|
|
MainTree_SetupBoundaryConditions,
|
|
MainTree_SetupBoundaryConditionsItem,
|
|
MainTree_SetupInitialConditions,
|
|
MainTree_SetupMonitors,
|
|
|
|
MainTree_Run,
|
|
MainTree_Post,
|
|
};
|
|
|
|
class GUIFRAMEAPI MainTreeWidget : public PanelWidgetBase
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
MainTreeWidget(MainWindow* parent);
|
|
~MainTreeWidget();
|
|
|
|
void init();
|
|
|
|
TreeWidget* getTreeWidget();
|
|
|
|
private:
|
|
TreeWidget* _treeWidget = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif |