aboutsummaryrefslogtreecommitdiff
path: root/notebookview.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 05:18:53 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 05:18:53 +0200
commit2910de560ead3ff65db26292fc27e427a5cf9b5e (patch)
tree12f6c29b77244528176abeee0934bdc4c560f08d /notebookview.h
parent46cb4b079be113996214660020d6ef0c3d1f1e80 (diff)
downloadscribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.tar.gz
scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.zip
add export feature and desktop file
Diffstat (limited to 'notebookview.h')
-rw-r--r--notebookview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/notebookview.h b/notebookview.h
index 1b3eb46..7039506 100644
--- a/notebookview.h
+++ b/notebookview.h
@@ -32,6 +32,12 @@ public:
int zoom() const;
+ QSize getCurPageSize() const;
+ QRect getCurPageTrim() const;
+
+ QImage exportPage(int pageNum) const;
+ void renderPage(QPainter *painter, int pageNum, const QRectF &target = QRectF(), const QRectF &source = QRectF()) const;
+
void requestPaperReplay(const QString &file, qint64 time);
signals: