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
665 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 HOLIDAYDLG_H
  9. #define HOLIDAYDLG_H
  10. #include <QWidget>
  11. #include <QObject>
  12. #include <QDate>
  13. #include <QCalendarWidget>
  14. class HolidayDlg : public QWidget
  15. {
  16. Q_OBJECT
  17. public:
  18. HolidayDlg(QWidget *parent = Q_NULLPTR,
  19. Qt::WindowFlags f = Qt::WindowFlags());
  20. ~HolidayDlg();
  21. private:
  22. QCalendarWidget m_cal;
  23. signals:
  24. void close_holiday_dlg(void);
  25. void holiday_mode(QDate end_date);
  26. private slots:
  27. void validate_holiday_mode(void);
  28. };
  29. #endif // HOLIDAYDLG_H
  30. /* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */