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.
50 lines
857 B
C
50 lines
857 B
C
2 weeks ago
|
#ifndef CFDTreeWidget_h
|
||
|
#define CFDTreeWidget_h
|
||
|
|
||
|
#include <QtCore/QtGlobal>
|
||
|
#include <QDebug>
|
||
|
#include "CFDStructDefine.h"
|
||
|
#include <CFDStructMainAPI.h>
|
||
|
#include <GUIWidget/TreeWidget.h>
|
||
|
|
||
|
class MainWindow;
|
||
|
class QTabWidget;
|
||
|
|
||
|
namespace GUI
|
||
|
{
|
||
|
|
||
|
class PropertyWidget;
|
||
|
class CFDPropertyWidget;
|
||
|
|
||
|
class CFDStructMAINAPI 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;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|