6#include <QGuiApplication>
119#if QT_CONFIG(clipboard)
132#include "moc_qpdfselection.cpp"
void setText(const QString &, Mode mode=Clipboard)
Copies text into the clipboard as plain text.
Mode
\keyword clipboard mode
static QClipboard * clipboard()
Returns the object for interacting with the clipboard.
bool isEmpty() const noexcept
QList< QPolygonF > bounds
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.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static const QRectF boundingRect(const QPointF *points, int pointCount)