X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=mainwindow.cpp;h=10ef301388536f8668de1deddc3d24d33c5f7864;hp=d85c0a40e46e0604690cb62ab6ea5eefec04d11a;hb=009e1503d46291cbc33cdb900761eaa505fd6269;hpb=2953961c06ff9e758035ba3cd67220568bd01710 diff --git a/mainwindow.cpp b/mainwindow.cpp index d85c0a40..10ef3013 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -28,6 +28,7 @@ extern "C" { #include "mainwindow.h" #include "ui_mainwindow.h" +#include "sigview.h" extern "C" { /* __STDC_FORMAT_MACROS is required for PRIu64 and friends (in C++). */ @@ -44,6 +45,9 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); + + view = new SigView(session, this); + ui->verticalLayout->addWidget(view); } MainWindow::~MainWindow()