Eneboo - Documentación para desarrolladores
Slots públicos | Señales | Métodos públicos | Atributos públicos
Referencia de la Clase QMoviePrivate
Diagrama de herencias de QMoviePrivate
QObject QShared QDataSink QImageConsumer Qt Qt

Lista de todos los miembros.

Slots públicos

void refresh ()

Señales

void sizeChanged (const QSize &)
void areaChanged (const QRect &)
void dataStatus (int)

Métodos públicos

 QMoviePrivate ()
 QMoviePrivate (QDataSource *src, QMovie *movie, int bufsize)
virtual ~QMoviePrivate ()
bool isNull () const
void init (bool fully)
void flushBuffer ()
void updatePixmapFromImage ()
void updatePixmapFromImage (const QPoint &off, const QRect &area)
void showChanges ()
void changed (const QRect &rect)
void end ()
void preFrameDone ()
void frameDone ()
void frameDone (const QPoint &, const QRect &rect)
void restartTimer ()
void setLooping (int l)
void setFramePeriod (int milliseconds)
void setSize (int w, int h)
int readyToReceive ()
void receive (const uchar *b, int bytecount)
void eof ()
void pause ()

Atributos públicos

QMoviethat
QWidgetdisplay_widget
QImageDecoderdecoder
int buf_size
ucharbuffer
int buf_r
int buf_w
int buf_usage
int framenumber
int frameperiod
int speed
QTimerframetimer
int lasttimerinterval
int loop
bool movie_ended
bool dirty_cache
bool waitingForFrameTick
int stepping
QRect changed_area
QRect valid_area
QDataPumppump
QDataSourcesource
QPixmap mypixmap
QBitmap mymask
QColor bg
int error
bool empty

Documentación del constructor y destructor

QMoviePrivate::QMoviePrivate ( )
QMoviePrivate::QMoviePrivate ( QDataSource src,
QMovie movie,
int  bufsize 
)
QMoviePrivate::~QMoviePrivate ( ) [virtual]

Documentación de las funciones miembro

void QMoviePrivate::areaChanged ( const QRect ) [signal]
void QMoviePrivate::changed ( const QRect ) [virtual]

Called when the given area of the image has changed.

Implementa QImageConsumer.

void QMoviePrivate::dataStatus ( int  ) [signal]
void QMoviePrivate::end ( ) [virtual]

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

Implementa QImageConsumer.

void QMoviePrivate::eof ( ) [virtual]

This function will be called when no more data is available for processing.

Implementa QDataSink.

void QMoviePrivate::flushBuffer ( )
void QMoviePrivate::frameDone ( ) [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 QMoviePrivate::frameDone ( const QPoint offset,
const QRect rect 
) [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 QMoviePrivate::init ( bool  fully)
bool QMoviePrivate::isNull ( ) const
void QMoviePrivate::pause ( )
void QMoviePrivate::preFrameDone ( )
int QMoviePrivate::readyToReceive ( ) [virtual]

The data sink should return a value indicating how much data it is ready to consume. This may be 0.

Implementa QDataSink.

void QMoviePrivate::receive ( const uchar ,
int  count 
) [virtual]

This function is called to provide data for the data sink. The count will be no more than the amount indicated by the most recent call to readyToReceive(). The sink must use all the provided data.

Implementa QDataSink.

void QMoviePrivate::refresh ( ) [slot]
void QMoviePrivate::restartTimer ( )
void QMoviePrivate::setFramePeriod ( int  milliseconds) [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 QMoviePrivate::setLooping ( int  n) [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 QMoviePrivate::setSize ( int  ,
int   
) [virtual]

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

Implementa QImageConsumer.

void QMoviePrivate::showChanges ( )
void QMoviePrivate::sizeChanged ( const QSize ) [signal]
void QMoviePrivate::updatePixmapFromImage ( )
void QMoviePrivate::updatePixmapFromImage ( const QPoint off,
const QRect area 
)

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'