From 2910de560ead3ff65db26292fc27e427a5cf9b5e Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 14 Jun 2015 05:18:53 +0200 Subject: add export feature and desktop file --- notebookview.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'notebookview.h') 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: -- cgit v1.2.3