primewindow.cpp 467 Bytes
#include "primewindow.h"
#include "ui_primewindow.h"

#include "cookpanelbutton.h"

PrimeWindow::PrimeWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::PrimeWindow)
{
    ui->setupUi(this);

    ui->clockContainer->setParent(ui->upperStack);
    setAttribute(Qt::WA_DeleteOnClose);

    ui->verticalScrollLayout->setAlignment(Qt::AlignTop);
}

PrimeWindow::~PrimeWindow()
{
    delete ui;
}

void PrimeWindow::on_backButton_clicked()
{
    close();
}