/Designs/Oscilloscope/SW/PC_side/qscope/main.cpp |
---|
1,3 → 1,5 |
// qscope, Roman Pavelka, 2011 |
#include <QApplication> |
#include <QPushButton> |
#include <QVBoxLayout> |
15,14 → 17,9 |
{ |
Scope *scope = new Scope; |
// QPushButton *ReadDataBut = new QPushButton(tr("Read data")); |
// connect(ReadDataBut, SIGNAL(clicked()), scope, SLOT(getData())); |
QVBoxLayout *layout = new QVBoxLayout; |
layout->addWidget(scope); |
// layout->addWidget(ReadDataBut); |
setLayout(layout); |
} |