Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickpdflinkmodel_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 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 QQUICKPDFLINKMODEL_P_H
5#define QQUICKPDFLINKMODEL_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 <QtPdfQuick/private/qtpdfquickglobal_p.h>
19#include <QtPdfQuick/private/qquickpdfdocument_p.h>
20#include <QtPdf/private/qpdflinkmodel_p.h>
21
22#include <QtQml/QQmlEngine>
23
25
27{
29 Q_PROPERTY(QQuickPdfDocument *document READ document WRITE setDocument NOTIFY documentChanged)
30 QML_NAMED_ELEMENT(PdfLinkModel)
32
33public:
34 explicit QQuickPdfLinkModel(QObject *parent = nullptr);
35 ~QQuickPdfLinkModel() override;
36
37 QQuickPdfDocument *document() const;
38 void setDocument(QQuickPdfDocument *document);
39
41 QQuickPdfDocument *m_quickDocument;
42 Q_DISABLE_COPY(QQuickPdfLinkModel)
43};
44
46
48
49#endif // QQUICKPDFLINKMODEL_P_H
\inmodule QtCore
Definition qobject.h:103
The QPdfLinkModel class holds the geometry and the destination for each link that the specified \l pa...
Combined button and popup list for selecting options.
#define QML_DECLARE_TYPE(TYPE)
Definition qqml.h:19
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_PDFQUICK_EXPORT
#define explicit