PlotWindow::PlotWindow(QWidget *parent) :
  QMainWindow(parent),
plot_ui(new Ui::PlotWindow)
{
  setWindowFlags(Qt::CustomizeWindowHint | Qt::WindowMinMaxButtonsHint);
  plot_ui->setupUi(this);
  setGeometry(400, 250, 542, 390);
  setupRealtimeDataDemo(plot_ui->customPlot);
  setWindowTitle("Real-Time Pressure Measurements");
  statusBar()->clearMessage();
  plot_ui->customPlot->replot();
}