Thermostat pour piloter jusqu'à 4 radiateurs avec fil pilote
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
681 B

  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. /*
  3. * Qt mutizone MQTT thermostat
  4. *
  5. * Copyright (C) 2020 Richard Genoud
  6. *
  7. */
  8. #ifndef EDITDLG_H
  9. #define EDITDLG_H
  10. #include <QSpinBox>
  11. #include <QDoubleSpinBox>
  12. #include <QWidget>
  13. #include <QObject>
  14. #include <QDateTime>
  15. class EditDlg : public QWidget
  16. {
  17. Q_OBJECT
  18. public:
  19. EditDlg(int idx, QWidget *parent = Q_NULLPTR,
  20. Qt::WindowFlags f = Qt::WindowFlags());
  21. ~EditDlg();
  22. int m_idx; // room index
  23. private:
  24. QDoubleSpinBox m_default_temperature;
  25. private slots:
  26. void save(void);
  27. void reject(void);
  28. signals:
  29. void close_edit_dlg(void);
  30. };
  31. #endif // EDITDLG_H
  32. /* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */