washwindow.h 726 Bytes
#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);
    ~WashWindow();

private slots:
    void start(int type);
    void stop();
    void returnToClock();
    void updateGauge();
    void onChanged();
    void on_backButton_clicked();

    void on_configButton_clicked();

    void on_helpButton_clicked();

private:
    Ui::WashWindow *ui;
    UdpHandler *udp;

    bool selected;
    bool opened;
    bool started;
    bool run;
    bool canceled;
    int type;

    QTimer returnToClockTimer;
};

#endif // WASHWINDOW_H