BioSignalPi  v2
loadbigfile.h
Go to the documentation of this file.
1 #ifndef LOADBIGFILE_H
2 #define LOADBIGFILE_H
3 
4 #include <QThread>
5 #include <QVector>
6 #include <QPointF>
14 class LoadBigFile : public QThread
15 {
16  Q_OBJECT
17 
18 public:
19  LoadBigFile(QString fileName, QObject *parent = NULL);
20  virtual void run();
21 
22 signals:
26  void sendFileData(QVector<QVector<QPointF> >);
27 
28 private:
29  void decimate(); //TODO
30  bool decimateFlag;
31  QString fname;
32 };
33 
34 #endif // LOADBIGFILE_H
void sendFileData(QVector< QVector< QPointF > >)
signal used to send the loaded txt file as a QVector<QVector <QPointF> > that can be used for plottin...
LoadBigFile(QString fileName, QObject *parent=NULL)
Definition: loadbigfile.cpp:14
Class used to load a big .txt file in a new thread.
Definition: loadbigfile.h:14
virtual void run()
Load the file with chosen filename and emit the signal sendFileData() when the file is read...
Definition: loadbigfile.cpp:24