QMovie Class Reference
[QtGui module]
Inherits QObject.
Types
Methods
- __init__ (self, QObject parent = None)
- __init__ (self, QIODevice, QByteArray format = QByteArray(), QObject parent = None)
- __init__ (self, QString, QByteArray format = QByteArray(), QObject parent = None)
- QColor backgroundColor (self)
- CacheMode cacheMode (self)
- int currentFrameNumber (self)
- QImage currentImage (self)
- QPixmap currentPixmap (self)
- QIODevice device (self)
- QString fileName (self)
- QByteArray format (self)
- int frameCount (self)
- QRect frameRect (self)
- bool isValid (self)
- bool jumpToFrame (self, int)
- bool jumpToNextFrame (self)
- int loopCount (self)
- int nextFrameDelay (self)
- QSize scaledSize (self)
- setBackgroundColor (self, QColor)
- setCacheMode (self, CacheMode)
- setDevice (self, QIODevice)
- setFileName (self, QString)
- setFormat (self, QByteArray)
- setPaused (self, bool)
- setScaledSize (self, QSize)
- setSpeed (self, int)
- int speed (self)
- start (self)
- MovieState state (self)
- stop (self)
Static Methods
Qt Signals
Detailed Description
Type Documentation
QMovie.CacheMode
QMovie.MovieState
Method Documentation
QMovie.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QMovie.__init__ (self, QIODevice, QByteArray format = QByteArray(), QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QMovie.__init__ (self, QString, QByteArray format = QByteArray(), QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QColor QMovie.backgroundColor (self)
CacheMode QMovie.cacheMode (self)
int QMovie.currentFrameNumber (self)
QImage QMovie.currentImage (self)
QPixmap QMovie.currentPixmap (self)
QIODevice QMovie.device (self)
QString QMovie.fileName (self)
QByteArray QMovie.format (self)
int QMovie.frameCount (self)
QRect QMovie.frameRect (self)
bool QMovie.isValid (self)
bool QMovie.jumpToFrame (self, int)
bool QMovie.jumpToNextFrame (self)
This method is also a Qt slot with the C++ signature bool jumpToNextFrame().
int QMovie.loopCount (self)
int QMovie.nextFrameDelay (self)
QSize QMovie.scaledSize (self)
QMovie.setBackgroundColor (self, QColor)
QMovie.setCacheMode (self, CacheMode)
QMovie.setDevice (self, QIODevice)
QMovie.setFileName (self, QString)
QMovie.setFormat (self, QByteArray)
QMovie.setPaused (self, bool)
This method is also a Qt slot with the C++ signature void setPaused(bool).
QMovie.setScaledSize (self, QSize)
QMovie.setSpeed (self, int)
int QMovie.speed (self)
QMovie.start (self)
This method is also a Qt slot with the C++ signature void start().
QMovie.stop (self)
This method is also a Qt slot with the C++ signature void stop().
list-of-QByteArray QMovie.supportedFormats ()
Qt Signal Documentation
void error (QImageReader::ImageReaderError)
This is the default overload of this signal.
void finished ()
This is the default overload of this signal.
void frameChanged (int)
This is the default overload of this signal.
void resized (const QSize&)
This is the default overload of this signal.
void started ()
This is the default overload of this signal.
void stateChanged (QMovie::MovieState)
This is the default overload of this signal.
void updated (const QRect&)
This is the default overload of this signal.