QImageIOHandler Class Reference

#include <qimageiohandler.h>

Class Description

Definition at line 61 of file qimageiohandler.h.

Public Types

enum  ImageOption {
  Size, ClipRect, Description, ScaledClipRect,
  ScaledSize, CompressionRatio, Gamma, Quality,
  Name, SubType, IncrementalReading, Endianness,
  Animation, BackgroundColor, ImageFormat
}
 

Public Member Functions

 QImageIOHandler ()
 
virtual ~QImageIOHandler ()
 
void setDevice (QIODevice *device)
 
QIODevicedevice () const
 
void setFormat (const QByteArray &format)
 
void setFormat (const QByteArray &format) const
 
QByteArray format () const
 
virtual QByteArray name () const
 
virtual bool canRead () const =0
 
virtual bool read (QImage *image)=0
 
virtual bool write (const QImage &image)
 
virtual QVariant option (ImageOption option) const
 
virtual void setOption (ImageOption option, const QVariant &value)
 
virtual bool supportsOption (ImageOption option) const
 
virtual bool jumpToNextImage ()
 
virtual bool jumpToImage (int imageNumber)
 
virtual int loopCount () const
 
virtual int imageCount () const
 
virtual int nextImageDelay () const
 
virtual int currentImageNumber () const
 
virtual QRect currentImageRect () const
 

Protected Member Functions

 QImageIOHandler (QImageIOHandlerPrivate &dd)
 

Protected Attributes

QScopedPointer< QImageIOHandlerPrivate > d_ptr
 

Member Enumeration Documentation

Constructor & Destructor Documentation

virtual ~QImageIOHandler ( )
virtual
QImageIOHandler ( QImageIOHandlerPrivate &  dd)
protected

Member Function Documentation

void setDevice ( QIODevice device)
QIODevice* device ( ) const
void setFormat ( const QByteArray format)
void setFormat ( const QByteArray format) const
QByteArray format ( ) const
virtual QByteArray name ( ) const
virtual
virtual bool canRead ( ) const
pure virtual
virtual bool read ( QImage image)
pure virtual
virtual bool write ( const QImage image)
virtual
virtual QVariant option ( ImageOption  option) const
virtual
virtual void setOption ( ImageOption  option,
const QVariant value 
)
virtual
virtual bool supportsOption ( ImageOption  option) const
virtual
virtual bool jumpToNextImage ( )
virtual
virtual bool jumpToImage ( int  imageNumber)
virtual
virtual int loopCount ( ) const
virtual
virtual int imageCount ( ) const
virtual
virtual int nextImageDelay ( ) const
virtual
virtual int currentImageNumber ( ) const
virtual
virtual QRect currentImageRect ( ) const
virtual

Member Data Documentation

QScopedPointer<QImageIOHandlerPrivate> d_ptr
protected

Definition at line 113 of file qimageiohandler.h.


The documentation for this class was generated from the following file: