#ifndef PYTHONQTWRAPPER_QMOVIE_H #define PYTHONQTWRAPPER_QMOVIE_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QMovie : public QObject { Q_OBJECT public: public slots: QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = 0); QMovie* new_QMovie(QObject* parent = 0); QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = 0); void delete_QMovie(QMovie* obj) { delete obj; } QColor backgroundColor(QMovie* theWrappedObject) const; QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; int currentFrameNumber(QMovie* theWrappedObject) const; QImage currentImage(QMovie* theWrappedObject) const; QPixmap currentPixmap(QMovie* theWrappedObject) const; QIODevice* device(QMovie* theWrappedObject) const; QString fileName(QMovie* theWrappedObject) const; QByteArray format(QMovie* theWrappedObject) const; int frameCount(QMovie* theWrappedObject) const; QRect frameRect(QMovie* theWrappedObject) const; bool isValid(QMovie* theWrappedObject) const; bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); int loopCount(QMovie* theWrappedObject) const; int nextFrameDelay(QMovie* theWrappedObject) const; QSize scaledSize(QMovie* theWrappedObject); void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); void setDevice(QMovie* theWrappedObject, QIODevice* device); void setFileName(QMovie* theWrappedObject, const QString& fileName); void setFormat(QMovie* theWrappedObject, const QByteArray& format); void setScaledSize(QMovie* theWrappedObject, const QSize& size); int speed(QMovie* theWrappedObject) const; QMovie::MovieState state(QMovie* theWrappedObject) const; QList static_QMovie_supportedFormats(); }; #endif // PYTHONQTWRAPPER_QMOVIE_H