7#include <QtCore/qurl.h>
126 return m_capturedImagePath;
141void QQuickImageCapture::_q_imageCaptured(
int id,
const QImage &preview)
145 m_capturedImagePath =
QStringLiteral(
"image://camera/%2").arg(previewId);
189#include "moc_qquickimagecapture_p.cpp"
void imageCaptured(int id, const QImage &preview)
Signal emitted when the frame with request id was captured, but not processed and saved yet.
bool save(const QString &fileName, const char *format=nullptr, int quality=-1) const
Saves the image to the file with the given fileName, using the given image file format and quality fa...
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
void saveToFile(const QUrl &location) const
\qmlmethod QtMultimedia::ImageCapture::saveToFile(location)
QQuickImageCapture(QObject *parent=nullptr)
\qmltype ImageCapture \instantiates QQuickImageCapture
static void registerPreview(const QString &id, const QImage &preview)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define QStringLiteral(str)