autocookselectionwindow.h 716 Bytes
#ifndef AUTOCOOKSELECTIONWINDOW_H
#define AUTOCOOKSELECTIONWINDOW_H

#include <QMainWindow>

#include "oven.h"
#include "cook.h"

namespace Ui {
class AutoCookSelectionWindow;
}

class AutoCookSelectionWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit AutoCookSelectionWindow(QWidget *parent = 0, Oven *oven = 0, Cook::CookType type = Cook::Poultry);
    ~AutoCookSelectionWindow();

private slots:
    void onCookSelected(int idx);
    void onAutoCookWindowDestroyed();

    void on_backButton_clicked();

private:
    Ui::AutoCookSelectionWindow *ui;
    Oven *oven;
    Cook::CookType type;
    QList<AbstractCook *> cookList;
    bool autoCookWindowOpened;
};

#endif // AUTOCOOKSELECTIONWINDOW_H