|
|
@ -1,11 +1,7 @@ |
|
|
|
#include <QApplication> |
|
|
|
#include <QApplication> |
|
|
|
#include <QSurfaceFormat> |
|
|
|
#include <QSurfaceFormat> |
|
|
|
#include "MainWindow.h" |
|
|
|
#include "MainWindow.h" |
|
|
|
#include <omp.h> |
|
|
|
#include <QIcon> |
|
|
|
#include <chrono> |
|
|
|
|
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using namespace std::chrono; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* argv[]) { |
|
|
|
int main(int argc, char* argv[]) { |
|
|
|
QSurfaceFormat fmt = QSurfaceFormat::defaultFormat(); |
|
|
|
QSurfaceFormat fmt = QSurfaceFormat::defaultFormat(); |
|
|
@ -19,6 +15,8 @@ int main(int argc, char* argv[]) { |
|
|
|
QApplication app(argc, argv); |
|
|
|
QApplication app(argc, argv); |
|
|
|
|
|
|
|
|
|
|
|
MainWindow w; |
|
|
|
MainWindow w; |
|
|
|
|
|
|
|
w.setWindowTitle("Pendulum Laboratory"); |
|
|
|
|
|
|
|
w.setWindowIcon(QIcon(":/icons/app_icon.ico")); |
|
|
|
w.show(); |
|
|
|
w.show(); |
|
|
|
|
|
|
|
|
|
|
|
return QApplication::exec(); |
|
|
|
return QApplication::exec(); |
|
|
|