1 #ifndef _BIBLIOTEQ_PDFREADER_H_ 2 #define _BIBLIOTEQ_PDFREADER_H_ 4 #include "ui_biblioteq_pdfreader.h" 6 #ifdef BIBLIOTEQ_LINKED_WITH_POPPLER 7 #if QT_VERSION < 0x050000 8 #include <poppler-qt4.h> 10 #include <poppler-qt5.h> 21 void load(
const QByteArray &data,
const QString &fileName);
22 void load(
const QString &fileName);
25 #ifdef BIBLIOTEQ_LINKED_WITH_POPPLER 26 Poppler::Document *m_document;
28 QRectF m_searchLocation;
31 bool event(QEvent *event);
32 void changeEvent(QEvent *event);
33 void closeEvent(QCloseEvent *event);
34 void keyPressEvent(QKeyEvent *event);
35 void prepareContents(
void);
36 void resizeEvent(QResizeEvent *event);
37 void setGlobalFonts(
const QFont &font);
40 void slotChangePageViewSize(
int value);
42 void slotContentsDoubleClicked(QListWidgetItem *item);
44 void slotSaveAs(
void);
45 void slotSearchNext(
void);
46 void slotSearchPrevious(
void);
47 void slotShowContents(
bool state);
48 void slotShowPage(
int value,
const QRectF &location = QRectF());
49 void slotSliderTriggerAction(
int action);
52 void showNormal(
void);
Definition: biblioteq_pdfreader.h:14