4#ifndef QQUICKPDFSELECTION_P_H
5#define QQUICKPDFSELECTION_P_H
18#include <QtPdfQuick/private/qtpdfquickglobal_p.h>
19#include <QtPdfQuick/private/qquickpdfdocument_p.h>
21#include <QtCore/QPointF>
22#include <QtCore/QVariant>
23#include <QtGui/QPolygonF>
24#include <QtQml/QQmlEngine>
25#include <QtQuick/QQuickItem>
35 Q_PROPERTY(
qreal renderScale READ renderScale WRITE setRenderScale NOTIFY renderScaleChanged)
38 Q_PROPERTY(
bool hold READ hold WRITE setHold NOTIFY holdChanged)
52 void setPage(
int page);
53 qreal renderScale()
const;
60 void setHold(
bool hold);
67#if QT_CONFIG(clipboard)
93 const QString &pageText()
const;
100 qreal m_renderScale = 1;
101 mutable qreal m_heightAtAnchor = 0;
102 mutable qreal m_heightAtCursor = 0;
107 int m_fromCharIndex = -1;
108 mutable int m_toCharIndex = -1;
110 mutable bool m_pageTextDirty =
true;
The QKeyEvent class describes a key event.
The QPdfSelection class defines a range of text that has been selected on one page in a PDF document,...
\inmodule QtCore\reentrant
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual void keyReleaseEvent(QKeyEvent *event)
This event handler can be reimplemented in a subclass to receive key release events for an item.
void update()
Schedules a call to updatePaintNode() for this item.
void renderScaleChanged()
~QQuickPdfSelection() override
void selectedAreaChanged()
\macro QT_RESTRICTED_CAST_FROM_ASCII
void textChanged(const QString &newText)
Combined button and popup list for selecting options.
static jboolean selectAll(JNIEnv *, jobject)
GLenum GLenum GLenum GLenum GLenum scale
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PDFQUICK_EXPORT
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent