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
qmnghandler_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 QMNGHANDLER_P_H
5#define QMNGHANDLER_P_H
6
7#include <QtCore/qscopedpointer.h>
8#include <QtGui/qimageiohandler.h>
9
11
12class QImage;
13class QByteArray;
14class QIODevice;
15class QVariant;
17
19{
20 public:
23 bool canRead() const override;
24 bool read(QImage *image) override;
25 bool write(const QImage &image) override;
26 int currentImageNumber() const override;
27 int imageCount() const override;
28 bool jumpToImage(int imageNumber) override;
29 bool jumpToNextImage() override;
30 int loopCount() const override;
31 int nextImageDelay() const override;
32 static bool canRead(QIODevice *device);
33 QVariant option(ImageOption option) const override;
34 void setOption(ImageOption option, const QVariant & value) override;
35 bool supportsOption(ImageOption option) const override;
36
37 private:
38 Q_DECLARE_PRIVATE(QMngHandler)
39 QScopedPointer<QMngHandlerPrivate> d_ptr;
40};
41
43
44#endif // QMNGHANDLER_P_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore \reentrant
Definition qiodevice.h:34
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt.
ImageOption
This enum describes the different options supported by QImageIOHandler.
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
\inmodule QtGui
Definition qimage.h:37
int imageCount() const override
\reimp
bool supportsOption(ImageOption option) const override
\reimp
bool read(QImage *image) override
\reimp
int loopCount() const override
\reimp
bool jumpToNextImage() override
\reimp
void setOption(ImageOption option, const QVariant &value) override
\reimp
int currentImageNumber() const override
\reimp
int nextImageDelay() const override
\reimp
bool write(const QImage &image) override
\reimp
bool canRead() const override
\reimp
bool jumpToImage(int imageNumber) override
\reimp
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
Definition image.cpp:4
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint GLenum option