configsteamwashdlg.h 657 Bytes
#ifndef CONFIGSTEAMWASHDLG_H
#define CONFIGSTEAMWASHDLG_H

#include <QDialog>
#include <QTimer>

namespace Ui {
class ConfigSteamWashDlg;
}

class ConfigSteamWashDlg : public QDialog
{
    Q_OBJECT

    enum Phase {
        Idle, Starting, Started, Finished
    };

public:
    explicit ConfigSteamWashDlg(QWidget *parent = 0);
    ~ConfigSteamWashDlg();

private slots:
    void updateView();

    void onChanged();

    void start();
    bool isStarted();
    bool isFinished();

    void on_ctrBtnOk_clicked();
    void on_ctrBtnCancel_clicked();

private:
    Ui::ConfigSteamWashDlg *ui;

    enum Phase phase = Idle;
};

#endif // CONFIGSTEAMWASHDLG_H