configwindow.cpp
534 Bytes
#include "configwindow.h"
#include "ui_configwindow.h"
#include "functiontestwindow.h"
ConfigWindow::ConfigWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::ConfigWindow)
{
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);
w->setAttribute((Qt::WA_DeleteOnClose));
w->showFullScreen();
}