diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
commit | 2910de560ead3ff65db26292fc27e427a5cf9b5e (patch) | |
tree | 12f6c29b77244528176abeee0934bdc4c560f08d /notebookview.h | |
parent | 46cb4b079be113996214660020d6ef0c3d1f1e80 (diff) | |
download | scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.tar.gz scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.zip |
add export feature and desktop file
Diffstat (limited to 'notebookview.h')
-rw-r--r-- | notebookview.h | 6 |
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: |