8#include <QtCore/qloggingcategory.h>
9#include <QtCore/qpointer.h>
20 int currentHistoryIndex = 0;
21 bool changing =
false;
79 if (!backAvailableWas)
111 if (!forwardAvailableWas)
272 <<
"@" <<
location <<
"zoom" << zoom <<
"-> history" <<
301 if (
page == currentPageWas &&
location == currentLocationWas && zoom == currentZoomWas)
306 if (currentZoomWas != zoom)
308 if (currentPageWas !=
page)
313 <<
"@" <<
location <<
"zoom" << zoom <<
"-> history" <<
362#include "moc_qpdfpagenavigator.cpp"
T * data() const noexcept
Returns a pointer to the shared data object.
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
void remove(qsizetype i, qsizetype n=1)
void append(parameter_type t)
The QPdfLink class defines a link between a region on a page (such as a hyperlink or a search result)...
Navigation history within a PDF document.
void back()
Pops the stack, updates the \l currentPage, \l currentLocation and \l currentZoom properties to the m...
void forward()
Goes back to the page, location and zoom level that was being viewed before back() was called,...
QPointF currentLocation
This property holds the current location on the page that is being viewed (the location that was last...
void currentPageChanged(int page)
int currentPage
This property holds the current page that is being viewed.
~QPdfPageNavigator() override
Destroys the page navigation stack.
void backAvailableChanged(bool available)
void jump(QPdfLink destination)
Adds the given destination to the history of visited locations.
void currentLocationChanged(QPointF location)
bool backAvailable
\readonly
QPdfLink currentLink() const
void update(int page, const QPointF &location, qreal zoom)
Modifies the current destination, consisting of page, location and zoom.
qreal currentZoom
This property holds the magnification scale (1 logical pixel = 1 point) on the page that is being vie...
void clear()
Clear the history and restore \l currentPage, \l currentLocation and \l currentZoom to their default ...
void currentZoomChanged(qreal zoom)
bool forwardAvailable
\readonly
void forwardAvailableChanged(bool available)
void jumped(QPdfLink current)
This signal is emitted when an abrupt jump occurs, to the current page index, location on the page,...
\inmodule QtCore\reentrant
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char * destination
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
bool qFuzzyIsNull(qfloat16 f) noexcept
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
GLdouble GLdouble GLdouble GLdouble q
\inmodule QtCore \reentrant
QList< QExplicitlySharedDataPointer< QPdfLinkPrivate > > pageHistory
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent