7#include <QtPdf/qtpdfglobal.h>
9#include <QtCore/qobject.h>
10#include <QtCore/qshareddata.h>
11#include <QtGui/qclipboard.h>
12#include <QtGui/qpolygon.h>
34 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QPdfSelection)
44#if QT_CONFIG(clipboard)
Mode
\keyword clipboard mode
void swap(QExplicitlySharedDataPointer &other) noexcept
Swap this instance's explicitly shared data pointer with the explicitly shared data pointer in other.
The QPdfDocument class loads a PDF document and renders pages from it.
The QPdfSelection class defines a range of text that has been selected on one page in a PDF document,...
Q_PDF_EXPORT ~QPdfSelection()
Q_PDF_EXPORT QPdfSelection & operator=(const QPdfSelection &other)
int startIndex
This property holds the index at the beginning of \l text within the full text on the page.
QString text
This property holds the selected text.
QList< QPolygonF > bounds
This property holds a set of regions that the selected text occupies on the page, represented as poly...
Q_PDF_EXPORT QPdfSelection(const QPdfSelection &other)
QRectF boundingRectangle
This property holds the overall bounding rectangle (convex hull) around \l bounds.
Q_PDF_EXPORT bool isValid() const
int endIndex
This property holds the index at the end of \l text within the full text on the page.
Q_PDF_EXPORT QPdfSelection(QPdfSelection &&other) noexcept
bool valid
This property holds whether the selection is valid.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
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 return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
static const QRectF boundingRect(const QPointF *points, int pointCount)