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
qquickborderimage_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QQUICKBORDERIMAGE_P_P_H
5#define QQUICKBORDERIMAGE_P_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 "qquickimagebase_p_p.h"
19#include "qquickscalegrid_p_p.h"
20
21#include <private/qqmlglobal_p.h>
22
24
25#if QT_CONFIG(qml_network)
26class QNetworkReply;
27#endif
29{
30 Q_DECLARE_PUBLIC(QQuickBorderImage)
31
32public:
36
40
42 {
44 if (!border) {
47 q, QQuickBorderImage, SLOT(doUpdate()));
48 }
49 return border;
50 }
51
52 static void calculateRects(const QQuickScaleGrid *border,
53 const QSize &sourceSize,
54 const QSizeF &targetSize,
58 QRectF *targetRect,
59 QRectF *innerTargetRect,
60 QRectF *innerSourceRect,
61 QRectF *subSourceRect);
62
67 bool pixmapChanged = false;
68
69#if QT_CONFIG(qml_network)
70 QNetworkReply *sciReply = nullptr;
71#endif
72};
73
75
76#endif // QQUICKBORDERIMAGE_P_P_H
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QQuickScaleGrid * getScaleGrid()
QQuickBorderImage::TileMode verticalTileMode
static void calculateRects(const QQuickScaleGrid *border, const QSize &sourceSize, const QSizeF &targetSize, int horizontalTileMode, int verticalTileMode, qreal devicePixelRatio, QRectF *targetRect, QRectF *innerTargetRect, QRectF *innerSourceRect, QRectF *subSourceRect)
QQuickBorderImage::TileMode horizontalTileMode
The QQuickScaleGrid class allows you to specify a 3x3 grid to use in scaling an image.
\inmodule QtCore\reentrant
Definition qrect.h:484
\inmodule QtCore
Definition qsize.h:208
\inmodule QtCore
Definition qsize.h:25
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
#define SLOT(a)
Definition qobjectdefs.h:52
#define SIGNAL(a)
Definition qobjectdefs.h:53
GLint GLenum GLsizei GLsizei GLsizei GLint border
GLdouble GLdouble GLdouble GLdouble q
Definition qopenglext.h:259
#define qmlobject_connect(Sender, SenderType, Signal, Receiver, ReceiverType, Method)
Connect Signal of Sender to Method of Receiver.
double qreal
Definition qtypes.h:187