Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtmultimediaquicktypes_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company
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 QTMULTIMEDIAQUICKTYPES_H
5#define QTMULTIMEDIAQUICKTYPES_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 <QtMultimediaQuick/private/qtmultimediaquickglobal_p.h>
19
20#include <QtMultimedia/qaudiodevice.h>
21#include <QtMultimedia/qaudioinput.h>
22#include <QtMultimedia/qaudiooutput.h>
23#include <QtMultimedia/qcamera.h>
24#include <QtMultimedia/qcameradevice.h>
25#include <QtMultimedia/qcapturablewindow.h>
26#if QT_CONFIG(gstreamer_qt_api)
27# include <QtMultimedia/spi/qgstreamervideosource.h>
28#endif
29#include <QtMultimedia/qimagecapture.h>
30#include <QtMultimedia/qmediacapturesession.h>
31#include <QtMultimedia/qmediadevices.h>
32#include <QtMultimedia/qmediaformat.h>
33#include <QtMultimedia/qmediametadata.h>
34#include <QtMultimedia/qmediarecorder.h>
35#include <QtMultimedia/qplaybackoptions.h>
36#include <QtMultimedia/qscreencapture.h>
37#include <QtMultimedia/qwindowcapture.h>
38
39#include <QtQml/qqmlregistration.h>
40
41QT_BEGIN_NAMESPACE
42
43namespace QtMultimediaPrivate {
44
46{
47 Q_GADGET
48 QML_FOREIGN(QMediaCaptureSession)
49 QML_NAMED_ELEMENT(CaptureSession) // ### MediaCaptureSession?
50};
51
53{
54 Q_GADGET
55 QML_FOREIGN(QCamera)
57};
58
60{
61 Q_GADGET
62 QML_ANONYMOUS
64};
65
66#if QT_CONFIG(gstreamer_qt_api)
68{
72};
73#endif
74
76{
77 Q_GADGET
78 QML_ANONYMOUS
80};
81
83{
84 Q_GADGET
85 QML_ANONYMOUS
87};
88
90{
91 Q_GADGET
92 QML_FOREIGN(QMediaRecorder)
94};
95
97{
98 Q_GADGET
99 QML_FOREIGN(QMediaMetaData)
101};
102
103// To prevent the same type from being exported twice into qmltypes
104// (for value type and for the enums)
106{
108};
109
111{
115} // namespace QMediaMetaDataNamespaceForeign
116
118{
119 Q_GADGET
120 QML_FOREIGN(QMediaDevices)
122};
123
125{
126 Q_GADGET
127 QML_FOREIGN(QAudioInput)
129};
130
132{
133 Q_GADGET
134 QML_FOREIGN(QAudioOutput)
136};
137
139{
140 Q_GADGET
141 QML_FOREIGN(QAudioDevice)
143};
144
145// To prevent the same type from being exported twice into qmltypes
146// (for value type and for the enums)
148{
150};
151
153{
157} // namespace QAudioDeviceNamespaceForeign
158
160{
161 Q_GADGET
162 QML_FOREIGN(QCameraDevice)
164};
165
166// To prevent the same type from being exported twice into qmltypes
167// (for value type and for the enums)
169{
171};
172
174{
178} // namespace QCameraDeviceNamespaceForeign
179
181{
182 Q_GADGET
183 QML_FOREIGN(QMediaFormat)
185};
186
187// To prevent the same type from being exported twice into qmltypes
188// (for value type and for the enums)
190{
192};
193
195{
199} // namespace QMediaFormatNamespaceForeign
200
202{
203 Q_GADGET
204 QML_FOREIGN(QCameraFormat)
206};
207
209{
210 Q_GADGET
211 QML_FOREIGN(QCapturableWindow)
214};
215
217{
218 Q_PROPERTY(qint64 networkTimeoutMs READ networkTimeoutMs WRITE setNetworkTimeoutMs RESET resetNetworkTimeoutMs FINAL)
219
225
226public:
228
230
232};
233
239} // namespace QPlaybackOptionsNamespaceForeign
240
241
242
243} // namespace QtMultimediaPrivate
244
245QT_END_NAMESPACE
246
247#endif
Combined button and popup list for selecting options.