autocookselectionwindow.h 672 Bytes
#ifndef AUTOCOOKSELECTIONWINDOW_H
#define AUTOCOOKSELECTIONWINDOW_H

#include <QMainWindow>

#include "oven.h"
#include "cookbook.h"

namespace Ui {
class AutoCookSelectionWindow;
}

class AutoCookSelectionWindow : public QMainWindow
{
    Q_OBJECT

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

private slots:
    void onCookSelected(int idx);

    void on_backButton_clicked();

private:
    Ui::AutoCookSelectionWindow *ui;
    Oven *oven;
    Define::CookType type;
    CookBook book;

    bool autoCookWindowOpened;
};

#endif // AUTOCOOKSELECTIONWINDOW_H