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 = nullptr) | Constructor QMovie::QMovie(QObject *parent) |
new QMovie | new | (QIODevice ptr device, bytes format = QByteArray(), QObject ptr parent = nullptr) | Constructor QMovie::QMovie(QIODevice *device, const QByteArray &format, QObject *parent) |
new QMovie | new | (string fileName, bytes format = QByteArray(), QObject ptr parent = nullptr) | 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() | |
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 = nullptr) | 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_objectNameChanged | (string objectName) | Emitter for signal void QMovie::objectNameChanged(const QString &objectName) | |
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 event) | Virtual method bool QMovie::event(QEvent *event) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QMovie::eventFilter(QObject *watched, QEvent *event) | |
[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] | QImageReader_ImageReaderError | lastError | Method QImageReader::ImageReaderError QMovie::lastError() | |
[const] | string | lastErrorString | Method QString QMovie::lastErrorString() | |
[const] | int | loopCount | Method int QMovie::loopCount() | |
[const] | int | nextFrameDelay | Method int QMovie::nextFrameDelay() | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QMovie::objectNameChanged(const QString &objectName) |
[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 = nullptr, int n = -1) | Static method QString QMovie::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QMovie::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QMovie::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QMovie::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QMovie::disconnectNotify(const QMetaMethod &signal) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QMovie::isSignalConnected(const QMetaMethod &signal) | |
[const] | int | receivers | (string signal) | Method int QMovie::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QMovie::sender() | ||
[const] | int | senderSignalIndex | Method int QMovie::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QMovie::timerEvent(QTimerEvent *event) |
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 | Signature: [const] 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 event) Description: Virtual method void QMovie::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
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 event) Description: Virtual method void QMovie::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
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 (const QMetaMethod signal) Description: Virtual method void QMovie::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) 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_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QMovie::objectNameChanged(const QString &objectName) 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 event) Description: Virtual method bool QMovie::event(QEvent *event) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QMovie::eventFilter(QObject *watched, QEvent *event) 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() |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QMovie::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
isValid? | Signature: [const] bool isValid? Description: Method bool QMovie::isValid() |
jumpToFrame | Signature: bool jumpToFrame (int frameNumber) Description: Method bool QMovie::jumpToFrame(int frameNumber) |
jumpToNextFrame | Signature: bool jumpToNextFrame Description: Method bool QMovie::jumpToNextFrame() |
lastError | Signature: [const] QImageReader_ImageReaderError lastError Description: Method QImageReader::ImageReaderError QMovie::lastError() |
lastErrorString | Signature: [const] string lastErrorString Description: Method QString QMovie::lastErrorString() |
loopCount | Signature: [const] int loopCount Description: Method int QMovie::loopCount() |
new | (1) Signature: [static] new QMovie new (QObject ptr parent = nullptr) 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 = nullptr) 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 = nullptr) 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() |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QMovie::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
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. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QMovie::senderSignalIndex() 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 event) Description: Virtual method void QMovie::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) 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 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) 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: |