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/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_FOREIGN(QMediaRecorder)
87};
88
90{
91 Q_GADGET
92 QML_FOREIGN(QMediaMetaData)
94};
95
96// To prevent the same type from being exported twice into qmltypes
97// (for value type and for the enums)
99{
101};
102
104{
108} // namespace QMediaMetaDataNamespaceForeign
109
111{
112 Q_GADGET
113 QML_FOREIGN(QMediaDevices)
115};
116
118{
119 Q_GADGET
120 QML_FOREIGN(QAudioInput)
122};
123
125{
126 Q_GADGET
127 QML_FOREIGN(QAudioOutput)
129};
130
132{
133 Q_GADGET
134 QML_FOREIGN(QAudioDevice)
136};
137
138// To prevent the same type from being exported twice into qmltypes
139// (for value type and for the enums)
141{
143};
144
146{
150} // namespace QAudioDeviceNamespaceForeign
151
153{
154 Q_GADGET
155 QML_FOREIGN(QCameraDevice)
157};
158
159// To prevent the same type from being exported twice into qmltypes
160// (for value type and for the enums)
162{
164};
165
167{
171} // namespace QCameraDeviceNamespaceForeign
172
174{
175 Q_GADGET
176 QML_FOREIGN(QMediaFormat)
178};
179
180// To prevent the same type from being exported twice into qmltypes
181// (for value type and for the enums)
183{
185};
186
188{
192} // namespace QMediaFormatNamespaceForeign
193
195{
196 Q_GADGET
197 QML_FOREIGN(QCameraFormat)
199};
200
202{
203 Q_GADGET
204 QML_FOREIGN(QCapturableWindow)
207};
208
210{
211 Q_GADGET
212 QML_FOREIGN(QWindowCapture)
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.