#ifndef WASHWINDOW_H #define WASHWINDOW_H #include #include #include "udphandler.h" namespace Ui { class WashWindow; } class WashWindow : public QMainWindow { Q_OBJECT public: explicit WashWindow(QWidget *parent = 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; bool canceled; int type; QTimer returnToClockTimer; }; #endif // WASHWINDOW_H