#include "mainwindow.h" #include #include #include #include "Registers/TestRegister.h" int main(int argc, char* argv[]) { 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(); }