#include "programmingwindow.h" #include "ui_programmingwindow.h" ProgrammingWindow::ProgrammingWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::ProgrammingWindow) { ui->setupUi(this); ui->clockContainer->setParent(ui->upperStack); setAttribute(Qt::WA_DeleteOnClose); } ProgrammingWindow::~ProgrammingWindow() { delete ui; } void ProgrammingWindow::on_backButton_clicked() { close(); }