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
qquickanimatedimage_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 QQUICKANIMATEDIMAGE_P_P_H
5#define QQUICKANIMATEDIMAGE_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 <QtQuick/qtquickglobal.h>
19
20QT_REQUIRE_CONFIG(quick_animatedimage);
21
22#include "qquickimage_p_p.h"
23
25
26class QMovie;
27#if QT_CONFIG(qml_network)
28class QNetworkReply;
29#endif
30
32{
33 Q_DECLARE_PUBLIC(QQuickAnimatedImage)
34
35public:
40
42 void setMovie(QMovie *movie);
43 void clearCache();
44
46 QMovie *movie = nullptr;
48 QMap<int, QQuickPixmap *> frameMap;
49
50#if QT_CONFIG(qml_network)
51 QNetworkReply *reply = nullptr;
52#endif
53
54 bool playing : 1;
55 bool paused : 1;
56 bool oldPlaying : 1;
57};
58
60
61#endif // QQUICKANIMATEDIMAGE_P_P_H
\inmodule QtGui
Definition qmovie.h:28
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
QQuickPixmap * infoForCurrentFrame(QQmlEngine *engine)
QMap< int, QQuickPixmap * > frameMap
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)
double qreal
Definition qtypes.h:187
QNetworkReply * reply
QJSEngine engine
[0]