28 #ifndef _BIBLIOTEQ_PDFREADER_H_
29 #define _BIBLIOTEQ_PDFREADER_H_
31 #include "ui_biblioteq_pdfreader.h"
33 #ifdef BIBLIOTEQ_LINKED_WITH_POPPLER
34 #include <poppler-qt5.h>
46 void load(
const QByteArray &data,
const QString &fileName);
47 void load(
const QString &fileName);
50 #ifdef BIBLIOTEQ_LINKED_WITH_POPPLER
51 Poppler::Document *m_document;
53 QRectF m_searchLocation;
56 bool event(QEvent *event);
57 void changeEvent(QEvent *event);
58 void closeEvent(QCloseEvent *event);
59 void keyPressEvent(QKeyEvent *event);
60 void prepareContents(
void);
61 void resizeEvent(QResizeEvent *event);
64 void setGlobalFonts(
const QFont &font);
65 void slotChangePageViewSize(
int value);
67 void slotContentsDoubleClicked(QListWidgetItem *item);
69 void slotPrintPreview(QPrinter *printer);
70 void slotPrintPreview(
void);
71 void slotSaveAs(
void);
72 void slotSearchNext(
void);
73 void slotSearchPrevious(
void);
74 void slotShowContents(
bool state);
75 void slotShowPage(
int value,
const QRectF &location = QRectF());
76 void slotSliderTriggerAction(
int action);
79 void showNormal(
void);
Definition: biblioteq_pdfreader.h:40