#include "configwindow.h" #include "ui_configwindow.h" #include "functiontestwindow.h" ConfigWindow::ConfigWindow(QWidget *parent, UdpHandler *udp) : QMainWindow(parent), ui(new Ui::ConfigWindow), udp(udp) { ui->setupUi(this); ui->clockContainer->setParent(ui->upperStack); setAttribute(Qt::WA_DeleteOnClose); } ConfigWindow::~ConfigWindow() { delete ui; } void ConfigWindow::on_pushButton_clicked() { FunctionTestWindow *w = new FunctionTestWindow(this, udp); w->setAttribute((Qt::WA_DeleteOnClose)); w->showFullScreen(); }