summaryrefslogtreecommitdiffstats
path: root/examples/widgets/pdfviewer/sequentialpagewidget.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@theqtcompany.com>2014-12-15 22:23:09 +0100
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2014-12-16 00:45:47 +0100
commit5359a1473bf5c2310c50dbe239c28084cf7ae81f (patch)
tree8c3838930c9697b2646adbc415a7a63c0009c9a1 /examples/widgets/pdfviewer/sequentialpagewidget.h
parent8b2ae6c796cf56bce34f3d3cb355d13646fd0cb1 (diff)
pdfviewer example: stop creating placeholder images in PageCache
Diffstat (limited to 'examples/widgets/pdfviewer/sequentialpagewidget.h')
-rw-r--r--examples/widgets/pdfviewer/sequentialpagewidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/pdfviewer/sequentialpagewidget.h b/examples/widgets/pdfviewer/sequentialpagewidget.h
index 23dfe7f..3d2c70d 100644
--- a/examples/widgets/pdfviewer/sequentialpagewidget.h
+++ b/examples/widgets/pdfviewer/sequentialpagewidget.h
@@ -36,6 +36,8 @@ private:
QPdfDocument *m_doc;
PageCache *m_pageCache;
QBrush m_background;
+ QPixmap m_placeholderIcon;
+ QBrush m_placeholderBackground;
int m_pageSpacing;
int m_topPageShowing;
int m_bottomPageShowing;