FemaLocalSoftware/alarmdialog.h

42 lines
832 B
C
Raw Permalink Normal View History

2024-12-28 17:15:48 +00:00
#ifndef ALARMDIALOG_H
#define ALARMDIALOG_H
2025-01-07 22:13:48 +00:00
#include "sensorservice.h"
#include <QDialog>
2024-12-28 17:15:48 +00:00
namespace Ui {
class alarmdialog;
}
2025-01-07 22:13:48 +00:00
class alarmdialog : public QDialog
2024-12-28 17:15:48 +00:00
{
Q_OBJECT
public:
2025-01-07 22:13:48 +00:00
explicit alarmdialog(QDialog *parent = nullptr,
const QString &sensorId = "",
const QString &sensorName = "",
const QString &group = "",
const QString &dateStart = "",
const QString &dateEnd = "",
SensorService *sensorService = nullptr);
2024-12-28 17:15:48 +00:00
~alarmdialog();
private:
Ui::alarmdialog *ui;
2025-01-07 22:13:48 +00:00
signals:
void dialogClosed();
private slots:
void onCancelButtonClicked();
void onStatisticButtonClicked();
private:
SensorService *_sensorService;
2024-12-28 17:15:48 +00:00
};
#endif // ALARMDIALOG_H