30 lines
681 B
C++
30 lines
681 B
C++
#ifndef STRUCTDATAACTIONPARADLG_H
|
|
#define STRUCTDATAACTIONPARADLG_H
|
|
/**
|
|
* 结构化数据展示中的量测事件action_para配置界面
|
|
* */
|
|
#include <QDialog>
|
|
#include <QListWidget>
|
|
|
|
class StructDataActionParaDlg : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
StructDataActionParaDlg(QWidget* parent = nullptr);
|
|
|
|
void setAlarms(const QStringList &alarms);
|
|
QStringList alarms() const;
|
|
private slots:
|
|
void onAddClicked();
|
|
void onDeleteClicked();
|
|
private:
|
|
QListWidget *m_listWidget;
|
|
QLineEdit *m_editLine;
|
|
QPushButton *m_btnAdd;
|
|
QPushButton *m_btnDelete;
|
|
QPushButton *m_btnClear;
|
|
QPushButton *m_btnOk;
|
|
QPushButton *m_btnCancel;
|
|
};
|
|
#endif
|