My Project
Loading...
Searching...
No Matches
roomwidget.h
Go to the documentation of this file.
1#ifndef ROOMWIDGET_H
2#define ROOMWIDGET_H
3
4
5#include <QWidget>
6#include <QLabel>
7#include <QProgressBar>
8#include <QPushButton>
9#include <QVBoxLayout>
10#include <QHBoxLayout>
11#include "room.h"
12
13class RoomWidget : public QWidget {
14 Q_OBJECT
15
16public:
17 RoomWidget(const room& r, QWidget *parent = nullptr);
18
19 void updateDisplay(const room& r);
20
21signals:
23
24private:
25 QLabel *nameLabel;
26 QLabel *co2Label;
27 QLabel *tempLabel;
28 QLabel *noiseLabel;
29 QProgressBar *fanBar;
30 QLabel *fanPercentLabel;
31 QPushButton *modButton;
32};
33
34#endif // ROOMWIDGET_H
void updateDisplay(const room &r)
Definition roomwidget.cpp:65
RoomWidget(const room &r, QWidget *parent=nullptr)
Definition roomwidget.cpp:7
void modifyRequested()
Definition room.h:11