abstractfileloader.h
32 lines
| 651 B
| text/x-c
|
CLexer
r4 | #ifndef ABSTRACTFILELOADER_H | |||
#define ABSTRACTFILELOADER_H | ||||
#include <QObject> | ||||
#include <QThread> | ||||
#include "qcustomplot.h" | ||||
r5 | #include <qlopdata.h> | |||
//typedef struct dataVector | ||||
//{ | ||||
// QString name; | ||||
// QString unit; | ||||
// QVector<QCPData>* data; | ||||
//}dataVector; | ||||
r4 | ||||
r5 | //typedef QList<dataVector> QListOfDataVector; | |||
r4 | ||||
class AbstractFileLoader : public QThread | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit AbstractFileLoader(QObject *parent = 0); | ||||
~AbstractFileLoader(); | ||||
virtual void parseFile(const QString &fileName)=0; | ||||
signals: | ||||
r5 | void dataReady(QLopDataList data); | |||
r4 | void updateProgress(int threadId,int percentProgress); | |||
public slots: | ||||
}; | ||||
#endif // ABSTRACTFILELOADER_H | ||||