#include "washwindow.h" #include "ui_washwindow.h" WashWindow::WashWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::WashWindow) { ui->setupUi(this); ui->clockContainer->setParent(ui->upperStack); ui->progressContainer->setParent(ui->upperStack); setAttribute(Qt::WA_DeleteOnClose); } WashWindow::~WashWindow() { delete ui; }