#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); connect(udp, SIGNAL(changed()), this, SLOT(onDataChanged())); } GasTestWindow::~GasTestWindow() { delete ui; } void GasTestWindow::onDataChanged() { }