##// END OF EJS Templates
A lot of refactoring:...
A lot of refactoring: QLopPlot now handle more than one plot. File browser uses QFileSystemModel and QItemView Wrapped QCustomPlot.

File last commit:

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