]> sigrok.org Git - pulseview.git/commitdiff
MainWindow: Add separator
authorSoeren Apel <redacted>
Tue, 18 Oct 2016 06:47:02 +0000 (08:47 +0200)
committerSoeren Apel <redacted>
Sun, 4 Dec 2016 13:37:37 +0000 (14:37 +0100)
pv/mainwindow.cpp

index bfdf65b477a2121d3a48d82becd2fae340ca0a73..f0840bca8372c445d7851e0245c67c5397820bf2 100644 (file)
@@ -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();