Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qpdflinkmodel_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 QPDFLINKMODEL_P_H
5
#define QPDFLINKMODEL_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 "
qpdflinkmodel.h
"
19
#include <private/qabstractitemmodel_p.h>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QPdfLinkModelPrivate
:
public
QAbstractItemModelPrivate
24
{
25
Q_DECLARE_PUBLIC(
QPdfLinkModel
)
26
27
public
:
28
QPdfLinkModelPrivate
();
29
30
void
update
();
31
32
QHash<int, QByteArray>
roleNames
;
33
QPdfDocument
*
document
=
nullptr
;
34
QList<QPdfLink>
links
;
35
int
page
= 0;
36
};
37
38
QT_END_NAMESPACE
39
40
#endif
// QPDFLINKMODEL_P_H
QAbstractItemModelPrivate
Definition
qabstractitemmodel_p.h:41
QHash
\inmodule QtCore
Definition
qhash.h:818
QList
Definition
qlist.h:74
QPdfDocument
The QPdfDocument class loads a PDF document and renders pages from it.
Definition
qpdfdocument.h:21
QPdfLinkModelPrivate
Definition
qpdflinkmodel_p.h:24
QPdfLinkModelPrivate::roleNames
QHash< int, QByteArray > roleNames
Definition
qpdflinkmodel_p.h:32
QPdfLinkModelPrivate::links
QList< QPdfLink > links
Definition
qpdflinkmodel_p.h:34
QPdfLinkModelPrivate::document
QPdfDocument * document
Definition
qpdflinkmodel_p.h:33
QPdfLinkModelPrivate::page
int page
Definition
qpdflinkmodel_p.h:35
QPdfLinkModelPrivate::QPdfLinkModelPrivate
QPdfLinkModelPrivate()
Definition
qpdflinkmodel.cpp:169
QPdfLinkModelPrivate::update
void update()
Definition
qpdflinkmodel.cpp:173
QPdfLinkModel
The QPdfLinkModel class holds the geometry and the destination for each link that the specified \l pa...
Definition
qpdflinkmodel.h:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qpdflinkmodel.h
qtwebengine
src
pdf
qpdflinkmodel_p.h
Generated by
1.9.7