#include "functiontestwindow.h" #include "ui_functiontestwindow.h" #include "burnertestwindow.h" #include "componenttestwindow.h" #include "valvetestwindow.h" #include "washtestwindow.h" #include "fantestwindow.h" #include "gastestwindow.h" FunctionTestWindow::FunctionTestWindow(QWidget *parent, UdpHandler *udp) : QMainWindow(parent), ui(new Ui::FunctionTestWindow), udp(udp) { ui->setupUi(this); ui->clockContainer->setParent(ui->upperStack); setAttribute(Qt::WA_DeleteOnClose); connect(ui->backButton, SIGNAL(clicked(bool)), this, SLOT(deleteLater())); } FunctionTestWindow::~FunctionTestWindow() { delete ui; } void FunctionTestWindow::on_burnerTestButton_clicked() { BurnerTestWindow *w = new BurnerTestWindow(this, udp); w->showFullScreen(); } void FunctionTestWindow::on_componentTestButton_clicked() { ComponentTestWindow *w = new ComponentTestWindow(this, udp); w->showFullScreen(); } void FunctionTestWindow::on_valveTestButton_clicked() { ValveTestWindow *w = new ValveTestWindow(this, udp); w->showFullScreen(); } void FunctionTestWindow::on_washTestButton_clicked() { WashTestWindow *w = new WashTestWindow(this, udp); w->showFullScreen(); } void FunctionTestWindow::on_fanTestButton_clicked() { FanTestWindow *w = new FanTestWindow(this, udp); w->showFullScreen(); } void FunctionTestWindow::on_gasTestButton_clicked() { // GasTestWindow *w = new GasTestWindow(this, udp); // w->showFullScreen(); }