PythonQtWrapper_QMovie.h
59 lines
| 2.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QMOVIE_H | ||
#define PYTHONQTWRAPPER_QMOVIE_H | ||||
#include <qmovie.h> | ||||
#include <QObject> | ||||
#include <QColor> | ||||
#include <QImage> | ||||
#include <QPixmap> | ||||
#include <QRect> | ||||
#include <QSize> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qcoreevent.h> | ||||
#include <qimage.h> | ||||
#include <qiodevice.h> | ||||
#include <qlist.h> | ||||
#include <qmovie.h> | ||||
#include <qobject.h> | ||||
#include <qpixmap.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
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<QByteArray > static_QMovie_supportedFormats(); | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QMOVIE_H | ||||