diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 01:35:25 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 01:35:25 +0200 |
commit | 59feffc5a253fec33b310f7a0105c8ef42b9019b (patch) | |
tree | 855c7c86b4413d813d2a6c40d167eb78ee3250d3 /pageitem.h | |
parent | 72a71a2003028fc97d74cebecebb1541d66ded86 (diff) | |
download | scribiu-59feffc5a253fec33b310f7a0105c8ef42b9019b.tar.gz scribiu-59feffc5a253fec33b310f7a0105c8ef42b9019b.zip |
paperreplay working
Diffstat (limited to 'pageitem.h')
-rw-r--r-- | pageitem.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,11 +4,12 @@ #include <QtGui/QGraphicsItem> #include "afdnotebook.h" +#include "paperreplay.h" class PageItem : public QGraphicsItem { public: - explicit PageItem(AfdNotebook *nb, int pageNum, QGraphicsItem *parent = 0); + explicit PageItem(AfdNotebook *nb, PaperReplay *replay, int pageNum, QGraphicsItem *parent = 0); enum { Type = UserType + 'p' }; @@ -23,6 +24,7 @@ private: private: AfdNotebook *_nb; + PaperReplay *_replay; int _pageNum; QSize _pageSize; QRect _pageTrim; |