Eneboo - Documentación para desarrolladores
Métodos públicos | Atributos públicos
Referencia de la Clase QImageIOFrameGrabber
Diagrama de herencias de QImageIOFrameGrabber
QImageConsumer

Lista de todos los miembros.

Métodos públicos

 QImageIOFrameGrabber ()
void changed (const QRect &)
void end ()
void frameDone (const QPoint &, const QRect &)
void frameDone ()
void setLooping (int)
void setFramePeriod (int)
void setSize (int, int)

Atributos públicos

QImageDecoderdecoder
int framecount

Documentación del constructor y destructor

QImageIOFrameGrabber::QImageIOFrameGrabber ( ) [inline]

Documentación de las funciones miembro

void QImageIOFrameGrabber::changed ( const QRect ) [inline, virtual]

Called when the given area of the image has changed.

Implementa QImageConsumer.

void QImageIOFrameGrabber::end ( ) [inline, virtual]

Called when all the data from all the frames has been decoded and revealed as changed().

Implementa QImageConsumer.

void QImageIOFrameGrabber::frameDone ( ) [inline, virtual]

One of the two frameDone() functions will be called when a frame of an animated image has ended and been revealed as changed().

When this function is called, the current image should be displayed.

The decoder will not make any further changes to the image until the next call to QImageFormat::decode().

Implementa QImageConsumer.

void QImageIOFrameGrabber::frameDone ( const QPoint offset,
const QRect rect 
) [inline, virtual]

Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.

One of the two frameDone() functions will be called when a frame of an animated image has ended and been revealed as changed().

When this function is called, the area rect in the current image should be moved by offset and displayed.

The decoder will not make any further changes to the image until the next call to QImageFormat::decode().

Implementa QImageConsumer.

void QImageIOFrameGrabber::setFramePeriod ( int  milliseconds) [inline, virtual]

Notes that the frame about to be decoded should not be displayed until the given number of milliseconds after the time that this function is called. Of course, the image may not have been decoded by then, in which case the frame should not be displayed until it is complete. A value of -1 (the assumed default) indicates that the image should be displayed even while it is only partially loaded.

Implementa QImageConsumer.

void QImageIOFrameGrabber::setLooping ( int  n) [inline, virtual]

Called to indicate that the sequence of frames in the image should be repeated n times, including the sequence during decoding.

0 = Forever 1 = Only display frames the first time through 2 = Repeat once after first pass through images etc.

To make the QImageDecoder do this, just delete it and pass the information to it again for decoding (setLooping() will be called again, of course, but that can be ignored), or keep copies of the changed areas at the ends of frames.

Implementa QImageConsumer.

void QImageIOFrameGrabber::setSize ( int  ,
int   
) [inline, virtual]

This function is called as soon as the size of the image has been determined.

Implementa QImageConsumer.


Documentación de los datos miembro


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'