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
qandroidimagecapture_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 QANDROIDCAMERAIMAGECAPTURECONTROL_H
5#define QANDROIDCAMERAIMAGECAPTURECONTROL_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 <private/qplatformimagecapture_p.h>
19
21
24
26{
28public:
29 explicit QAndroidImageCapture(QImageCapture *parent = nullptr);
30
31 bool isReadyForCapture() const override;
32
33 int capture(const QString &fileName) override;
34 int captureToBuffer() override;
35
36 QImageEncoderSettings imageSettings() const override;
38
40
41private:
42 QAndroidCameraSession *m_session;
44};
45
47
48#endif // QANDROIDCAMERAIMAGECAPTURECONTROL_H
QImageEncoderSettings imageSettings() const override
void setCaptureSession(QPlatformMediaCaptureSession *session)
void setImageSettings(const QImageEncoderSettings &settings) override
QAndroidImageCapture(QImageCapture *parent=nullptr)
int capture(const QString &fileName) override
bool isReadyForCapture() const override
\inmodule QtMultimedia
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
#define Q_OBJECT
QSettings settings("MySoft", "Star Runner")
[0]