washwindow.h
632 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef WASHWINDOW_H
#define WASHWINDOW_H
#include <QMainWindow>
#include <QTimer>
#include "udphandler.h"
namespace Ui {
class WashWindow;
}
class WashWindow : public QMainWindow
{
Q_OBJECT
public:
explicit WashWindow(QWidget *parent = 0, UdpHandler *udp = 0);
~WashWindow();
private slots:
void start(int type);
void stop();
void returnToClock();
void onChanged();
void on_backButton_clicked();
private:
Ui::WashWindow *ui;
UdpHandler *udp;
bool selected;
bool opened;
bool started;
bool run;
int type;
QTimer returnToClockTimer;
};
#endif // WASHWINDOW_H