diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -266,7 +266,7 @@ MainWindow::MainWindow(QWidget *parent) this->ui->tabWidget->showTabs(); }); - barPlot.show(); + ui->splitter->addWidget(&barPlot); } MainWindow::~MainWindow() diff --git a/src/mainwindow.ui b/src/mainwindow.ui --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -14,15 +14,26 @@ SerialPlot - + - + - + 0 0 + + Qt::Horizontal + + + + + 0 + 0 + + + @@ -90,7 +101,7 @@ 0 0 653 - 25 + 24 @@ -143,9 +154,7 @@ false - - - + Pause @@ -159,9 +168,7 @@ - - - + Clear