#include <qimagereader.h>
Definition at line 62 of file qimagereader.h.
Public Types | |
enum | ImageReaderError { UnknownError, FileNotFoundError, DeviceError, UnsupportedFormatError, InvalidDataError } |
Static Public Member Functions | |
static QByteArray | imageFormat (const QString &fileName) |
static QByteArray | imageFormat (QIODevice *device) |
static QList< QByteArray > | supportedImageFormats () |
enum ImageReaderError |
Enumerator | |
---|---|
UnknownError | |
FileNotFoundError | |
DeviceError | |
UnsupportedFormatError | |
InvalidDataError |
Definition at line 65 of file qimagereader.h.
QImageReader | ( | ) |
|
explicit |
|
explicit |
~QImageReader | ( | ) |
void setFormat | ( | const QByteArray & | format | ) |
QByteArray format | ( | ) | const |
void setAutoDetectImageFormat | ( | bool | enabled | ) |
bool autoDetectImageFormat | ( | ) | const |
void setDecideFormatFromContent | ( | bool | ignored | ) |
bool decideFormatFromContent | ( | ) | const |
QIODevice* device | ( | ) | const |
QString fileName | ( | ) | const |
QImage::Format imageFormat | ( | ) | const |
QStringList textKeys | ( | ) | const |
QRect clipRect | ( | ) | const |
QSize scaledSize | ( | ) | const |
int quality | ( | ) | const |
QRect scaledClipRect | ( | ) | const |
QColor backgroundColor | ( | ) | const |
bool supportsAnimation | ( | ) | const |
bool canRead | ( | ) | const |
bool jumpToNextImage | ( | ) |
bool jumpToImage | ( | int | imageNumber | ) |
int loopCount | ( | ) | const |
int imageCount | ( | ) | const |
int nextImageDelay | ( | ) | const |
int currentImageNumber | ( | ) | const |
QRect currentImageRect | ( | ) | const |
ImageReaderError error | ( | ) | const |
QString errorString | ( | ) | const |
bool supportsOption | ( | QImageIOHandler::ImageOption | option | ) | const |
|
static |
|
static |
|
static |