QtGui/qimagereader.h Source File
Go to the documentation of this file.
42 #ifndef QIMAGEREADER_H
43 #define QIMAGEREADER_H
61 class QImageReaderPrivate;
81 void setAutoDetectImageFormat(
bool enabled);
82 bool autoDetectImageFormat()
const;
84 void setDecideFormatFromContent(
bool ignored);
85 bool decideFormatFromContent()
const;
87 void setDevice(QIODevice *device);
88 QIODevice *device()
const;
90 void setFileName(
const QString &fileName);
97 QStringList textKeys()
const;
100 void setClipRect(
const QRect &rect);
101 QRect clipRect()
const;
103 void setScaledSize(
const QSize &
size);
104 QSize scaledSize()
const;
106 void setQuality(
int quality);
109 void setScaledClipRect(
const QRect &rect);
110 QRect scaledClipRect()
const;
112 void setBackgroundColor(
const QColor &
color);
113 QColor backgroundColor()
const;
115 bool supportsAnimation()
const;
117 bool canRead()
const;
121 bool jumpToNextImage();
122 bool jumpToImage(
int imageNumber);
123 int loopCount()
const;
124 int imageCount()
const;
125 int nextImageDelay()
const;
126 int currentImageNumber()
const;
127 QRect currentImageRect()
const;
129 ImageReaderError error()
const;
135 static QByteArray imageFormat(QIODevice *device);
139 Q_DISABLE_COPY(QImageReader)
140 QImageReaderPrivate *d;
147 #endif // QIMAGEREADER_H
GLXDrawable GLXDrawable read
GLenum GLsizei GLenum GLenum const GLvoid * image
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format