#include "gastestwindow.h" #include "ui_gastestwindow.h" GasTestWindow::GasTestWindow(QWidget *parent, UdpHandler *udp) : QMainWindow(parent), ui(new Ui::GasTestWindow), udp(udp) { ui->setupUi(this); ui->clockContainer->setParent(ui->upperStack); setAttribute(Qt::WA_DeleteOnClose); connect(udp, SIGNAL(changed()), this, SLOT(onDataChanged())); } GasTestWindow::~GasTestWindow() { delete ui; } void GasTestWindow::onDataChanged() { } void GasTestWindow::on_backButton_clicked() { close(); }