BioSignalPi  v2
main.cpp
Go to the documentation of this file.
1 #include "mainwindow.h"
2 #include <QApplication>
3 #include <stdio.h>
4 #include <iostream>
5 #include <QStyleFactory>
6 
7 using namespace std;
8 
9 int main(int argc, char *argv[])
10 {
11  QApplication a(argc, argv);
12  qApp->setStyle(QStyleFactory::create("Fusion"));
13  qRegisterMetaType< QVector<QPointF> >("QVector<QPointF>");
14  qRegisterMetaType< QPointF >("QPointF");
15  qRegisterMetaType< QVector< double> >("QVector<double>");
16  qRegisterMetaType< QVector<QVector<QPointF> > >("QVector<QVector<QPointF> >");
17  MainWindow w;
18  w.setFixedSize(800,700); //Needed for using the Biosignal PI with Linux Mint and Ubuntu the Window will resize unexpectedly otherwise
19  w.show();
20  return a.exec();
21 }
int main(int argc, char *argv[])
Definition: main.cpp:9
MainWindow holds all the different parts of the GUI Implements the different widgets used in the GUI ...
Definition: mainwindow.h:19