configwindow.cpp 474 Bytes
#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);
}

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

void ConfigWindow::on_pushButton_clicked()
{
    FunctionTestWindow *w = new FunctionTestWindow(this, udp);
    w->setAttribute((Qt::WA_DeleteOnClose));
    w->showFullScreen();
}