Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpdfselection_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QPDFSELECTION_P_H
5
#
define
QPDFSELECTION_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
"qpdfselection.h"
19
20
#
include
<
QList
>
21
#
include
<
QPolygonF
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QPdfSelectionPrivate :
public
QSharedData
26
{
27
public
:
28
QPdfSelectionPrivate() =
default
;
29
QPdfSelectionPrivate(
const
QString &text, QList<QPolygonF> bounds, QRectF boundingRect,
int
startIndex,
int
endIndex)
30
: text(text),
31
bounds(bounds),
32
boundingRect(boundingRect),
33
startIndex(startIndex),
34
endIndex(endIndex) { }
35
36
QString text;
37
QList<QPolygonF> bounds;
38
QRectF boundingRect;
39
int
startIndex;
40
int
endIndex;
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
// QPDFSELECTION_P_H
QPdfSelection
The QPdfSelection class defines a range of text that has been selected on one page in a PDF document,...
Definition
qpdfselection.h:19
QPdfSelection::startIndex
Q_PDF_EXPORT int startIndex() const
Definition
qpdfselection.cpp:104
QPdfSelection::endIndex
Q_PDF_EXPORT int endIndex() const
Definition
qpdfselection.cpp:114
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtwebengine
src
pdf
qpdfselection_p.h
Generated on Mon Mar 10 2025 01:10:09 for Qt by
1.13.2