You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
458 B

4 years ago
#include "mainwindow.h"
#include <QApplication>
#include <QStyle>
#include <QDesktopWidget>
4 years ago
4 years ago
#include "Registers/TestRegister.h"
int main(int argc, char* argv[])
4 years ago
{
4 years ago
QApplication a(argc, argv);
MainWindow w;
w.setGeometry(
QStyle::alignedRect(
Qt::LeftToRight,
Qt::AlignCenter,
w.size(),
qApp->desktop()->availableGeometry()
)
);
UltraSoundDevice usd;
TestRegister t(0, 0, usd);
t.fiedl1.update(2);
w.show();
return a.exec();
4 years ago
}