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
qquickimagepreviewprovider_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 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
QQUICKIMAGEPREVIEWPROVIDER_H
5
#
define
QQUICKIMAGEPREVIEWPROVIDER_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 for the convenience
12
// of other Qt classes. 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
<
private
/
qtmultimediaquickglobal_p
.
h
>
19
#
include
<
QtQuick
/
qquickimageprovider
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
Q_MULTIMEDIAQUICK_EXPORT
QQuickImagePreviewProvider
:
public
QQuickImageProvider
24
{
25
public
:
26
QQuickImagePreviewProvider();
27
~QQuickImagePreviewProvider() override;
28
29
QImage requestImage(
const
QString &id, QSize *size,
const
QSize& requestedSize) override;
30
static
void
registerPreview(
const
QString &id,
const
QImage &preview);
31
};
32
33
QT_END_NAMESPACE
34
35
#
endif
QObjectData::parent
QObject * parent
Definition
qobject.h:73
QObject
\inmodule QtCore
Definition
qobject.h:105
QQuickImageCapture
Definition
qquickimagecapture_p.h:30
QQuickImageCapture::preview
QString preview() const
\qmlproperty bool QtMultimedia::ImageCapture::readyForCapture
Definition
qquickimagecapture.cpp:124
QQuickImageCapture::~QQuickImageCapture
~QQuickImageCapture() override
QQuickImagePreviewProvider
Definition
qquickimagepreviewprovider_p.h:24
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtmultimedia
src
multimediaquick
qquickimagepreviewprovider_p.h
Generated on
for Qt by
1.14.0