68QImage QWasmImageCapture::takePicture()
93 return m_isReadyForCapture;
108 if (m_isReadyForCapture != isReady) {
109 m_isReadyForCapture = isReady;
118 if (m_captureSession == captureSession)
121 m_isReadyForCapture = captureSession;
122 if (captureSession) {
124 m_captureSession = captureSession;
127 m_captureSession = captureSession;
Error
\value NoError No Errors.
The QImageWriter class provides a format independent interface for writing images to files or other d...
QString errorString() const
Returns a human readable description of the last error that occurred.
bool write(const QImage &image)
Writes the image image to the assigned device or file name.
ImageWriterError error() const
Returns the type of error that last occurred.
constexpr bool isValid() const noexcept
Returns true if both the width and height is equal to or greater than 0; otherwise returns false.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoFrame class represents a frame of video data.
QImage toImage() const
Based on the pixel format converts current video frame to image.
bool isValid() const
Identifies whether a video frame is valid.
QVideoFrame videoFrame() const
Returns the current video frame.
int capture(const QString &fileName) override
void setReadyForCapture(bool isReady)
bool isReadyForCapture() const override
void setImageSettings(const QImageEncoderSettings &settings) override
void setCaptureSession(QPlatformMediaCaptureSession *session)
QImageEncoderSettings imageSettings() const override
int captureToBuffer() override
Combined button and popup list for selecting options.
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
#define QStringLiteral(str)
QSettings settings("MySoft", "Star Runner")
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent