From: Soeren Apel Date: Tue, 18 Oct 2016 06:47:02 +0000 (+0200) Subject: MainWindow: Add separator X-Git-Tag: pulseview-0.4.0~227 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=baa8560e7731220a16190dbcee0854848e12c131;p=pulseview.git MainWindow: Add separator --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index bfdf65b4..f0840bca 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();