From baa8560e7731220a16190dbcee0854848e12c131 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Tue, 18 Oct 2016 08:47:02 +0200 Subject: [PATCH] MainWindow: Add separator --- pv/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index bfdf65b..f0840bc 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -346,9 +346,13 @@ void MainWindow::setup_ui() run_stop_button_->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); run_stop_button_->setShortcut(QKeySequence(Qt::Key_Space)); + QFrame *separator = new QFrame(); + separator->setFrameStyle(QFrame::VLine | QFrame::Raised); + QHBoxLayout* layout = new QHBoxLayout(); layout->setContentsMargins(2, 2, 2, 2); layout->addWidget(new_session_button_); + layout->addWidget(separator); layout->addWidget(run_stop_button_); static_tab_widget_ = new QWidget(); -- 2.30.2