28 lines
456 B
C
28 lines
456 B
C
|
#ifndef LOADPREVIEW_H
|
||
|
#define LOADPREVIEW_H
|
||
|
|
||
|
#include <QThread>
|
||
|
#include <QImage>
|
||
|
|
||
|
class LoadPreview : public QThread
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit LoadPreview(QString fileName, QObject *parent);
|
||
|
void run();
|
||
|
|
||
|
signals:
|
||
|
void imageLoaded1(QImage);
|
||
|
void imageLoaded2(QImage);
|
||
|
void clearSignal();
|
||
|
void loadingCompressedPreview();
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
private:
|
||
|
QString t_fileName;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // LOADPREVIEW_H
|