operationtimemain.cpp 962 Bytes
#include "operationtimemain.h"
#include "ui_operationtimemain.h"
#include "operationtimeheat.h"
#include "operationtimemode.h"
#include "operationtimeparts.h"

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

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

void operationTimeMain::on_btnHeatPartTime_clicked()
{
    operationTimeHeat* w = new operationTimeHeat();
    w->setWindowModality(Qt::WindowModal);
    w->showFullScreen();
}

void operationTimeMain::on_btnModeTime_clicked()
{
    operationTimeMode* w = new operationTimeMode();
    w->setWindowModality(Qt::WindowModal);
    w->showFullScreen();
}

void operationTimeMain::on_btnPartsTime_clicked()
{
    operationTimeParts*w = new operationTimeParts();
    w->setWindowModality(Qt::WindowModal);
    w->showFullScreen();
}

void operationTimeMain::on_backButton_clicked()
{
    deleteLater();
}