32 lines
532 B
C
32 lines
532 B
C
|
|
#ifndef HISTORYALARM_H
|
||
|
|
#define HISTORYALARM_H
|
||
|
|
|
||
|
|
#include <QWidget>
|
||
|
|
#include <QStandardItemModel> //数据模型类
|
||
|
|
#include "HeaderView.h"
|
||
|
|
#include "TableHeaderView.h"
|
||
|
|
#include "global.h"
|
||
|
|
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class CHistoryAlarm;
|
||
|
|
}
|
||
|
|
|
||
|
|
class CHistoryAlarm : public QWidget
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit CHistoryAlarm(QWidget *parent = nullptr);
|
||
|
|
~CHistoryAlarm();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::CHistoryAlarm *ui;
|
||
|
|
|
||
|
|
TableHeaderView *myHeader;
|
||
|
|
QStandardItemModel *model;
|
||
|
|
QString headerStr ;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // HISTORYALARM_H
|