summaryrefslogtreecommitdiffstats
path: root/examples/pdfwidgets/pdfviewer/pdfviewer.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-03-28 12:31:13 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2022-04-08 14:56:56 +0200
commit3ad445f9f24a9d3f259ed1781460a63346a728e4 (patch)
treedd20d47c7dcdb10d3e66a5b8e6728a38e2c404e6 /examples/pdfwidgets/pdfviewer/pdfviewer.pro
parenta4e32eac5cb858ffa5668b01cef10cc42854713b (diff)
Move QQuickPdfNavStack core into QPdfNavigationStack; use in QPdfView
QQuickPdfNavigationStack was implemented independently until now, but users will need the same functionality in widget-based PDF viewers. QPdfPageNavigation on the other hand may have eventually had the same aspiration, but was just a glorified up/down counter thus far, with questionable API; so we get rid of it, and make the API for page navigation as much the same as possible between Quick and Widgets. We rename push() to jump() along with removing the emitJumped argument. Now jump() always emits (so we have to be more careful when to call it). Change-Id: Icb07158a351e29b81e58ec037cd323bc0f54a1a1 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/pdfwidgets/pdfviewer/pdfviewer.pro')
-rw-r--r--examples/pdfwidgets/pdfviewer/pdfviewer.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/pdfwidgets/pdfviewer/pdfviewer.pro b/examples/pdfwidgets/pdfviewer/pdfviewer.pro
index ad0607ea5..08807fa70 100644
--- a/examples/pdfwidgets/pdfviewer/pdfviewer.pro
+++ b/examples/pdfwidgets/pdfviewer/pdfviewer.pro
@@ -5,12 +5,10 @@ QT += core gui widgets pdfwidgets
SOURCES += \
main.cpp \
mainwindow.cpp \
- pageselector.cpp \
zoomselector.cpp
HEADERS += \
mainwindow.h \
- pageselector.h \
zoomselector.h
FORMS += \