/Designs/Tools/Oscilloscope/SW/PC_side/qscope/main.cpp
0,0 → 1,33
// qscope, Roman Pavelka, 2011
 
#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(500, 100, 460, 740);
window.show();
return app.exec();
}