forked from jonathanverner/comment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testPoppler.h
48 lines (41 loc) · 963 Bytes
/
testPoppler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _testPoppler_H
#define _testPoppler_H
/***************************************************************
* testPoppler.h
* @Author: Jonathan Verner ([email protected])
* @License: GPL v2.0 or later
* @Created: 2008-10-10.
* @Last Change: 2008-10-10.
* @Revision: 0.0
* Description:
* Usage:
* TODO:
*CHANGES:
***************************************************************/
#include <QtGui/QLabel>
#include <QtCore/QString>
class Poppler::Document;
class pdfBoard : public QLabel {
Q_OBJECT
private:
Poppler::Document *pdf;
int currentPage, maxPages,x,y;
double zoom;
void updateBoard();
void init();
public:
pdfBoard( QString fileName , int page );
pdfBoard( QString fileName );
~pdfBoard();
public slots:
void up();
void down();
void left();
void right();
void zoomIN();
void zoomOUT();
void nextPage();
void prevPage();
void goTO(int page);
};
#endif /* _testPoppler_H */