216e1a9f71
Commit the original Caesium 1.7.0 codebase with some adjustment. You can also get the original source at: https://sourceforge.net/projects/caesium/files/1.7.0/ Since the file names listed in the Qt resource file have encoding issue which can cause compile failure, these files get removed. Adjustments: + .gitignore M icons.qrc - *.pro.user(.*) - icons/language/*.png
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
|