22 γραμμές
468 B
C++
22 γραμμές
468 B
C++
#ifndef PREVIEWRESULTPDF_H
|
|
#define PREVIEWRESULTPDF_H
|
|
#include <QImage>
|
|
#include "previewresult.h"
|
|
|
|
class PreviewResultPdf : public PreviewResult
|
|
{
|
|
public:
|
|
using PreviewResult::PreviewResult;
|
|
PreviewResultPdf(const PreviewResult &o);
|
|
QImage previewImage;
|
|
|
|
QWidget *createPreviewWidget() override;
|
|
bool hasPreview() override;
|
|
|
|
QByteArray serialize() const;
|
|
|
|
static QSharedPointer<PreviewResultPdf> deserialize(QByteArray &ba);
|
|
};
|
|
|
|
#endif // PREVIEWRESULTPDF_H
|