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.

44 lines
776 B

  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. /*
  3. * Qt mutizone MQTT thermostat
  4. *
  5. * Copyright (C) 2019 Richard Genoud
  6. *
  7. */
  8. #ifndef ZONEITEM_H
  9. #define ZONEITEM_H
  10. #include <QWidget>
  11. #include <QObject>
  12. #include <QLabel>
  13. #include <QPushButton>
  14. #include "boost_dlg.h"
  15. class ZoneItem : public QWidget
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit ZoneItem(const QString &zoneName, QWidget *parent = Q_NULLPTR);
  20. ~ZoneItem();
  21. void refresh(void);
  22. double m_temperature_value;
  23. double m_hygro_value;
  24. double m_target_temperature;
  25. bool m_available;
  26. bool m_heating_on;
  27. QString m_name;
  28. struct boost_data m_boost;
  29. QPushButton m_zoneNameBtn;
  30. QPushButton m_temperatureBtn;
  31. QPushButton m_hygroBtn;
  32. };
  33. #endif // ZONEITEM_H
  34. /* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */