/Designs/Measuring_instruments/Fluxgate_magnetometer/SW/PC_side/logger/main.cpp
0,0 → 1,33
#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(800, 200, 560, 690);
window.show();
return app.exec();
}