PowerMaster/dataPanel/dpGlobals.h

37 lines
732 B
C
Raw Normal View History

#ifndef DP_GLOBALS_H
#define DP_GLOBALS_H
enum DataPanelType
{
lineChart = 0, //折线图
curveChart, //曲线图
barChart, //柱状图
dotChart, //点图
pieChart, //饼图
heatMap, //热力图
dial, //仪表图
table, //数据表
map //地图
};
#include <QStandardItemModel>
struct configurationResults
{
QStandardItemModel* m_pModel_dataType;
QStandardItemModel* m_pModel_dataSource;
configurationResults()
{
m_pModel_dataType = nullptr;
m_pModel_dataSource = nullptr;
}
void setParent(QObject* parent)
{
m_pModel_dataType = new QStandardItemModel(parent);
m_pModel_dataSource = new QStandardItemModel(parent);
}
};
#endif