Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qpdflink_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 QPDFLINK_P_H
5#define QPDFLINK_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 "qpdflink.h"
19
20#include <QPointF>
21#include <QRectF>
22#include <QUrl>
23
25
27{
28public:
29 QPdfLinkPrivate() = default;
31 : page(page),
33 zoom(zoom) { }
35 : page(page),
36 location(rects.first().topLeft()),
37 zoom(0),
40 rects{std::move(rects)} {}
41
42 int page = -1;
49};
50
52
53#endif // QPDFLINK_P_H
Definition qlist.h:74
QPdfLinkPrivate()=default
QList< QRectF > rects
Definition qpdflink_p.h:48
QString contextBefore
Definition qpdflink_p.h:45
QString contextAfter
Definition qpdflink_p.h:46
QPdfLinkPrivate(int page, QPointF location, qreal zoom)
Definition qpdflink_p.h:30
QPointF location
Definition qpdflink_p.h:43
QPdfLinkPrivate(int page, QList< QRectF > rects, QString contextBefore, QString contextAfter)
Definition qpdflink_p.h:34
\inmodule QtCore\reentrant
Definition qpoint.h:214
\inmodule QtCore
Definition qshareddata.h:19
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLint location
GLint first
double qreal
Definition qtypes.h:92