2018-08-12 16:45:39 +02:00
|
|
|
#ifndef PDFPREVIEW_H
|
|
|
|
#define PDFPREVIEW_H
|
|
|
|
#include <QImage>
|
|
|
|
|
|
|
|
class PdfPreview
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
PdfPreview();
|
|
|
|
QImage previewImage;
|
|
|
|
QString documentPath;
|
2018-08-31 20:08:23 +02:00
|
|
|
unsigned int page;
|
2019-04-30 14:13:10 +02:00
|
|
|
|
|
|
|
bool hasPreviewImage()
|
|
|
|
{
|
|
|
|
return ! previewImage.isNull();
|
|
|
|
}
|
2018-08-12 16:45:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PDFPREVIEW_H
|