Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QMovie
Class hierarchy: QMovie » QObject
Sub-classes: CacheMode, QFlags_CacheMode, MovieState, QFlags_MovieState
new QMovie | new | (QObject ptr parent = 0) | Constructor QMovie::QMovie(QObject *parent) |
new QMovie | new | (QIODevice ptr device, bytes format = QByteArray(), QObject ptr parent = 0) | Constructor QMovie::QMovie(QIODevice *device, const QByteArray &format, QObject *parent) |
new QMovie | new | (string fileName, bytes format = QByteArray(), QObject ptr parent = 0) | Constructor QMovie::QMovie(const QString &fileName, const QByteArray &format, QObject *parent) |
[const] | QMovie ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | QColor | backgroundColor | Method QColor QMovie::backgroundColor() | |
void | backgroundColor= | (const QColor color) | Method void QMovie::setBackgroundColor(const QColor &color) | |
[const] | QMovie_CacheMode | cacheMode | Method QMovie::CacheMode QMovie::cacheMode() | |
QMovie_CacheMode | cacheMode | Method QMovie::CacheMode QMovie::cacheMode() | ||
void | cacheMode= | (const QMovie_CacheMode mode) | Method void QMovie::setCacheMode(QMovie::CacheMode mode) | |
[const] | int | currentFrameNumber | Method int QMovie::currentFrameNumber() | |
[const] | QImage | currentImage | Method QImage QMovie::currentImage() | |
[const] | QPixmap | currentPixmap | Method QPixmap QMovie::currentPixmap() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QMovie::destroyed(QObject *) |
[const] | QIODevice ptr | device | Method QIODevice *QMovie::device() | |
void | device= | (QIODevice ptr device) | Method void QMovie::setDevice(QIODevice *device) | |
void | emit_destroyed | (QObject ptr arg1 = 0) | Emitter for signal void QMovie::destroyed(QObject *) | |
void | emit_error | (const QImageReader_ImageReaderError error) | Emitter for signal void QMovie::error(QImageReader::ImageReaderError error) | |
void | emit_finished | Emitter for signal void QMovie::finished() | ||
void | emit_frameChanged | (int frameNumber) | Emitter for signal void QMovie::frameChanged(int frameNumber) | |
void | emit_resized | (const QSize size) | Emitter for signal void QMovie::resized(const QSize &size) | |
void | emit_started | Emitter for signal void QMovie::started() | ||
void | emit_stateChanged | (const QMovie_MovieState state) | Emitter for signal void QMovie::stateChanged(QMovie::MovieState state) | |
void | emit_updated | (const QRect rect) | Emitter for signal void QMovie::updated(const QRect &rect) | |
[signal] | void | error | (const QImageReader_ImageReaderError error) | Signal declaration for QMovie::error(QImageReader::ImageReaderError error) |
bool | event | (QEvent ptr arg1) | Virtual method bool QMovie::event(QEvent *) | |
bool | eventFilter | (QObject ptr arg1, QEvent ptr arg2) | Virtual method bool QMovie::eventFilter(QObject *, QEvent *) | |
[const] | string | fileName | Method QString QMovie::fileName() | |
void | fileName= | (string fileName) | Method void QMovie::setFileName(const QString &fileName) | |
[signal] | void | finished | Signal declaration for QMovie::finished() | |
[const] | bytes | format | Method QByteArray QMovie::format() | |
void | format= | (bytes format) | Method void QMovie::setFormat(const QByteArray &format) | |
[signal] | void | frameChanged | (int frameNumber) | Signal declaration for QMovie::frameChanged(int frameNumber) |
[const] | int | frameCount | Method int QMovie::frameCount() | |
[const] | QRect | frameRect | Method QRect QMovie::frameRect() | |
[const] | bool | isValid? | Method bool QMovie::isValid() | |
bool | jumpToFrame | (int frameNumber) | Method bool QMovie::jumpToFrame(int frameNumber) | |
bool | jumpToNextFrame | Method bool QMovie::jumpToNextFrame() | ||
[const] | int | loopCount | Method int QMovie::loopCount() | |
[const] | int | nextFrameDelay | Method int QMovie::nextFrameDelay() | |
[signal] | void | resized | (const QSize size) | Signal declaration for QMovie::resized(const QSize &size) |
QSize | scaledSize | Method QSize QMovie::scaledSize() | ||
void | scaledSize= | (const QSize size) | Method void QMovie::setScaledSize(const QSize &size) | |
void | setBackgroundColor | (const QColor color) | Method void QMovie::setBackgroundColor(const QColor &color) | |
void | setCacheMode | (const QMovie_CacheMode mode) | Method void QMovie::setCacheMode(QMovie::CacheMode mode) | |
void | setDevice | (QIODevice ptr device) | Method void QMovie::setDevice(QIODevice *device) | |
void | setFileName | (string fileName) | Method void QMovie::setFileName(const QString &fileName) | |
void | setFormat | (bytes format) | Method void QMovie::setFormat(const QByteArray &format) | |
void | setPaused | (bool paused) | Method void QMovie::setPaused(bool paused) | |
void | setScaledSize | (const QSize size) | Method void QMovie::setScaledSize(const QSize &size) | |
void | setSpeed | (int percentSpeed) | Method void QMovie::setSpeed(int percentSpeed) | |
[const] | int | speed | Method int QMovie::speed() | |
void | speed= | (int percentSpeed) | Method void QMovie::setSpeed(int percentSpeed) | |
void | start | Method void QMovie::start() | ||
[signal] | void | started | Signal declaration for QMovie::started() | |
[const] | QMovie_MovieState | state | Method QMovie::MovieState QMovie::state() | |
[signal] | void | stateChanged | (const QMovie_MovieState state) | Signal declaration for QMovie::stateChanged(QMovie::MovieState state) |
void | stop | Method void QMovie::stop() | ||
[signal] | void | updated | (const QRect rect) | Signal declaration for QMovie::updated(const QRect &rect) |
[static,const] | QMovie_CacheMode | CacheAll | Enum constant QMovie::CacheAll | |
[static,const] | QMovie_CacheMode | CacheNone | Enum constant QMovie::CacheNone | |
[static,const] | QMovie_MovieState | NotRunning | Enum constant QMovie::NotRunning | |
[static,const] | QMovie_MovieState | Paused | Enum constant QMovie::Paused | |
[static,const] | QMovie_MovieState | Running | Enum constant QMovie::Running | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
bytes[] | supportedFormats | Static method QList<QByteArray> QMovie::supportedFormats() | ||
string | tr | (string s, string c = 0) | Static method QString QMovie::tr(const char *s, const char *c) | |
string | tr | (string s, string c, int n) | Static method QString QMovie::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = 0) | Static method QString QMovie::trUtf8(const char *s, const char *c) | |
string | trUtf8 | (string s, string c, int n) | Static method QString QMovie::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr arg1) | Virtual method void QMovie::childEvent(QChildEvent *) | ||
void | customEvent | (QEvent ptr arg1) | Virtual method void QMovie::customEvent(QEvent *) | ||
void | disconnectNotify | (string signal) | Virtual method void QMovie::disconnectNotify(const char *signal) | ||
[const] | int | receivers | (string signal) | Method int QMovie::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QMovie::sender() | ||
void | timerEvent | (QTimerEvent ptr arg1) | Virtual method void QMovie::timerEvent(QTimerEvent *) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
CacheAll | Signature: [static,const] QMovie_CacheMode CacheAll Description: Enum constant QMovie::CacheAll Python specific notes: |
CacheNone | Signature: [static,const] QMovie_CacheMode CacheNone Description: Enum constant QMovie::CacheNone Python specific notes: |
NotRunning | Signature: [static,const] QMovie_MovieState NotRunning Description: Enum constant QMovie::NotRunning Python specific notes: |
Paused | Signature: [static,const] QMovie_MovieState Paused Description: Enum constant QMovie::Paused Python specific notes: |
Running | Signature: [static,const] QMovie_MovieState Running Description: Enum constant QMovie::Running Python specific notes: |
_const_cast | Signature: [const] QMovie ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
backgroundColor | Signature: [const] QColor backgroundColor Description: Method QColor QMovie::backgroundColor() Python specific notes: |
backgroundColor= | Signature: void backgroundColor= (const QColor color) Description: Method void QMovie::setBackgroundColor(const QColor &color) Python specific notes: |
cacheMode | (1) Signature: [const] QMovie_CacheMode cacheMode Description: Method QMovie::CacheMode QMovie::cacheMode() Python specific notes: |
(2) Signature: QMovie_CacheMode cacheMode Description: Method QMovie::CacheMode QMovie::cacheMode() Python specific notes: | |
cacheMode= | Signature: void cacheMode= (const QMovie_CacheMode mode) Description: Method void QMovie::setCacheMode(QMovie::CacheMode mode) Python specific notes: |
childEvent | Signature: void childEvent (QChildEvent ptr arg1) Description: Virtual method void QMovie::childEvent(QChildEvent *) This method can be reimplemented in a derived class. |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
currentFrameNumber | Signature: [const] int currentFrameNumber Description: Method int QMovie::currentFrameNumber() |
currentImage | Signature: [const] QImage currentImage Description: Method QImage QMovie::currentImage() |
currentPixmap | Signature: [const] QPixmap currentPixmap Description: Method QPixmap QMovie::currentPixmap() |
customEvent | Signature: void customEvent (QEvent ptr arg1) Description: Virtual method void QMovie::customEvent(QEvent *) This method can be reimplemented in a derived class. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QMovie::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
device | Signature: [const] QIODevice ptr device Description: Method QIODevice *QMovie::device() Python specific notes: |
device= | Signature: void device= (QIODevice ptr device) Description: Method void QMovie::setDevice(QIODevice *device) Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (string signal) Description: Virtual method void QMovie::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = 0) Description: Emitter for signal void QMovie::destroyed(QObject *) Call this method to emit this signal. |
emit_error | Signature: void emit_error (const QImageReader_ImageReaderError error) Description: Emitter for signal void QMovie::error(QImageReader::ImageReaderError error) Call this method to emit this signal. |
emit_finished | Signature: void emit_finished Description: Emitter for signal void QMovie::finished() Call this method to emit this signal. |
emit_frameChanged | Signature: void emit_frameChanged (int frameNumber) Description: Emitter for signal void QMovie::frameChanged(int frameNumber) Call this method to emit this signal. |
emit_resized | Signature: void emit_resized (const QSize size) Description: Emitter for signal void QMovie::resized(const QSize &size) Call this method to emit this signal. |
emit_started | Signature: void emit_started Description: Emitter for signal void QMovie::started() Call this method to emit this signal. |
emit_stateChanged | Signature: void emit_stateChanged (const QMovie_MovieState state) Description: Emitter for signal void QMovie::stateChanged(QMovie::MovieState state) Call this method to emit this signal. |
emit_updated | Signature: void emit_updated (const QRect rect) Description: Emitter for signal void QMovie::updated(const QRect &rect) Call this method to emit this signal. |
error | Signature: [signal] void error (const QImageReader_ImageReaderError error) Description: Signal declaration for QMovie::error(QImageReader::ImageReaderError error) You can bind a procedure to this signal. Python specific notes: |
event | Signature: bool event (QEvent ptr arg1) Description: Virtual method bool QMovie::event(QEvent *) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2) Description: Virtual method bool QMovie::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. |
fileName | Signature: [const] string fileName Description: Method QString QMovie::fileName() Python specific notes: |
fileName= | Signature: void fileName= (string fileName) Description: Method void QMovie::setFileName(const QString &fileName) Python specific notes: |
finished | Signature: [signal] void finished Description: Signal declaration for QMovie::finished() You can bind a procedure to this signal. Python specific notes: |
format | Signature: [const] bytes format Description: Method QByteArray QMovie::format() Python specific notes: |
format= | Signature: void format= (bytes format) Description: Method void QMovie::setFormat(const QByteArray &format) Python specific notes: |
frameChanged | Signature: [signal] void frameChanged (int frameNumber) Description: Signal declaration for QMovie::frameChanged(int frameNumber) You can bind a procedure to this signal. Python specific notes: |
frameCount | Signature: [const] int frameCount Description: Method int QMovie::frameCount() |
frameRect | Signature: [const] QRect frameRect Description: Method QRect QMovie::frameRect() |
isValid? | Signature: [const] bool isValid? Description: Method bool QMovie::isValid() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
jumpToFrame | Signature: bool jumpToFrame (int frameNumber) Description: Method bool QMovie::jumpToFrame(int frameNumber) |
jumpToNextFrame | Signature: bool jumpToNextFrame Description: Method bool QMovie::jumpToNextFrame() |
loopCount | Signature: [const] int loopCount Description: Method int QMovie::loopCount() |
new | (1) Signature: [static] new QMovie new (QObject ptr parent = 0) Description: Constructor QMovie::QMovie(QObject *parent) This method creates an object of class QMovie. Python specific notes: |
(2) Signature: [static] new QMovie new (QIODevice ptr device, bytes format = QByteArray(), QObject ptr parent = 0) Description: Constructor QMovie::QMovie(QIODevice *device, const QByteArray &format, QObject *parent) This method creates an object of class QMovie. Python specific notes: | |
(3) Signature: [static] new QMovie new (string fileName, bytes format = QByteArray(), QObject ptr parent = 0) Description: Constructor QMovie::QMovie(const QString &fileName, const QByteArray &format, QObject *parent) This method creates an object of class QMovie. Python specific notes: | |
nextFrameDelay | Signature: [const] int nextFrameDelay Description: Method int QMovie::nextFrameDelay() |
receivers | Signature: [const] int receivers (string signal) Description: Method int QMovie::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
resized | Signature: [signal] void resized (const QSize size) Description: Signal declaration for QMovie::resized(const QSize &size) You can bind a procedure to this signal. Python specific notes: |
scaledSize | Signature: QSize scaledSize Description: Method QSize QMovie::scaledSize() Python specific notes: |
scaledSize= | Signature: void scaledSize= (const QSize size) Description: Method void QMovie::setScaledSize(const QSize &size) Python specific notes: |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QMovie::sender() This method is protected and can only be called from inside a derived class. |
setBackgroundColor | Signature: void setBackgroundColor (const QColor color) Description: Method void QMovie::setBackgroundColor(const QColor &color) Python specific notes: |
setCacheMode | Signature: void setCacheMode (const QMovie_CacheMode mode) Description: Method void QMovie::setCacheMode(QMovie::CacheMode mode) Python specific notes: |
setDevice | Signature: void setDevice (QIODevice ptr device) Description: Method void QMovie::setDevice(QIODevice *device) Python specific notes: |
setFileName | Signature: void setFileName (string fileName) Description: Method void QMovie::setFileName(const QString &fileName) Python specific notes: |
setFormat | Signature: void setFormat (bytes format) Description: Method void QMovie::setFormat(const QByteArray &format) Python specific notes: |
setPaused | Signature: void setPaused (bool paused) Description: Method void QMovie::setPaused(bool paused) |
setScaledSize | Signature: void setScaledSize (const QSize size) Description: Method void QMovie::setScaledSize(const QSize &size) Python specific notes: |
setSpeed | Signature: void setSpeed (int percentSpeed) Description: Method void QMovie::setSpeed(int percentSpeed) Python specific notes: |
speed | Signature: [const] int speed Description: Method int QMovie::speed() Python specific notes: |
speed= | Signature: void speed= (int percentSpeed) Description: Method void QMovie::setSpeed(int percentSpeed) Python specific notes: |
start | Signature: void start Description: Method void QMovie::start() |
started | Signature: [signal] void started Description: Signal declaration for QMovie::started() You can bind a procedure to this signal. Python specific notes: |
state | Signature: [const] QMovie_MovieState state Description: Method QMovie::MovieState QMovie::state() |
stateChanged | Signature: [signal] void stateChanged (const QMovie_MovieState state) Description: Signal declaration for QMovie::stateChanged(QMovie::MovieState state) You can bind a procedure to this signal. Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
stop | Signature: void stop Description: Method void QMovie::stop() |
supportedFormats | Signature: [static] bytes[] supportedFormats Description: Static method QList<QByteArray> QMovie::supportedFormats() This method is static and can be called without an instance. |
timerEvent | Signature: void timerEvent (QTimerEvent ptr arg1) Description: Virtual method void QMovie::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. |
tr | (1) Signature: [static] string tr (string s, string c = 0) Description: Static method QString QMovie::tr(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string tr (string s, string c, int n) Description: Static method QString QMovie::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. | |
trUtf8 | (1) Signature: [static] string trUtf8 (string s, string c = 0) Description: Static method QString QMovie::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string trUtf8 (string s, string c, int n) Description: Static method QString QMovie::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. | |
updated | Signature: [signal] void updated (const QRect rect) Description: Signal declaration for QMovie::updated(const QRect &rect) You can bind a procedure to this signal. Python specific notes: |