#include <QApplication>#include <QPushButton>#include <QVBoxLayout>#include "scope.h"class Window : public QWidget{public:Window(QWidget *parent = 0);};Window::Window(QWidget *parent): QWidget(parent){Scope *scope = new Scope;QVBoxLayout *layout = new QVBoxLayout;layout->addWidget(scope);setLayout(layout);}int main(int argc, char *argv[]){QApplication app(argc, argv);Window window;window.setGeometry(1200, 200, 570, 390);window.show();return app.exec();}