hpdf/src/pdf_file.h
Rtch90 3dfcf983ad [Add] GUI Layout.
[Add] Integrated tableview and files.
2014-12-15 17:25:30 +00:00

19 lines
281 B
C++

#pragma once
#include <QObject>
#include <poppler-qt5.h>
class QString;
class QImage;
class PDFFile : public QObject {
Q_OBJECT
public:
PDFFile(const QString& fileName);
QImage* getPageImage(int pageNumber);
private:
Poppler::Document* document;
QString fileName;
};