47 #ifndef QGIFHANDLER_P_H 48 #define QGIFHANDLER_P_H 50 #include <QtGui/qimageiohandler.h> 51 #include <QtGui/qimage.h> 52 #include <QtCore/qbytearray.h> 96 #endif // QGIFHANDLER_P_H The QVariant class acts like a union for the most common Qt data types.
bool canRead() const
Returns true if an image can be read from the device (i.
QVariant option(ImageOption option) const
Returns the value assigned to option as a QVariant.
#define QT_END_NAMESPACE
This macro expands to.
int currentImageNumber() const
For image formats that support animation, this function returns the sequence number of the current im...
void setOption(ImageOption option, const QVariant &value)
Sets the option option with the value value.
bool read(QImage *image)
Read an image from the device, and stores it in image.
The QByteArray class provides an array of bytes.
int imageCount() const
For image formats that support animation, this function returns the number of images in the animation...
The QString class provides a Unicode character string.
bool write(const QImage &image)
Writes the image image to the assigned device.
#define QT_BEGIN_NAMESPACE
This macro expands to.
ImageOption
This enum describes the different options supported by QImageIOHandler.
QVector< QSize > imageSizes
bool supportsOption(ImageOption option) const
Returns true if the QImageIOHandler supports the option option; otherwise returns false...
The QImage class provides a hardware-independent image representation that allows direct access to th...
QByteArray name() const
Use format() instead.
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt...
int loopCount() const
For image formats that support animation, this function returns the number of times the animation sho...
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
int nextImageDelay() const
For image formats that support animation, this function returns the number of milliseconds to wait un...
bool imageIsComing() const
The QIODevice class is the base interface class of all I/O devices in Qt.