##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QImageReader.h
73 lines | 3.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QIMAGEREADER_H
#define PYTHONQTWRAPPER_QIMAGEREADER_H
#include <qimagereader.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QColor>
#include <QImage>
#include <QRect>
#include <QSize>
#include <QStringList>
#include <QVariant>
#include <qbytearray.h>
#include <qcolor.h>
#include <qimage.h>
#include <qimagereader.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qrect.h>
#include <qsize.h>
#include <qstringlist.h>
class PythonQtWrapper_QImageReader : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ImageReaderError )
enum ImageReaderError{
UnknownError = QImageReader::UnknownError, FileNotFoundError = QImageReader::FileNotFoundError, DeviceError = QImageReader::DeviceError, UnsupportedFormatError = QImageReader::UnsupportedFormatError, InvalidDataError = QImageReader::InvalidDataError};
public slots:
QImageReader* new_QImageReader();
QImageReader* new_QImageReader(QIODevice* device, const QByteArray& format = QByteArray());
QImageReader* new_QImageReader(const QString& fileName, const QByteArray& format = QByteArray());
void delete_QImageReader(QImageReader* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QString fileName(QImageReader* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int nextImageDelay(QImageReader* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRect clipRect(QImageReader* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QList<QByteArray > static_QImageReader_supportedImageFormats();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const;
int currentImageNumber(QImageReader* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QByteArray format(QImageReader* theWrappedObject) const;
QRect scaledClipRect(QImageReader* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setDevice(QImageReader* theWrappedObject, QIODevice* device);
florianlink
recreated wrappers to match current python qt version...
r73 QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const;
int quality(QImageReader* theWrappedObject) const;
QSize size(QImageReader* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString errorString(QImageReader* theWrappedObject) const;
bool jumpToNextImage(QImageReader* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 QString text(QImageReader* theWrappedObject, const QString& key) const;
void setFormat(QImageReader* theWrappedObject, const QByteArray& format);
void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect);
void setQuality(QImageReader* theWrappedObject, int quality);
QByteArray static_QImageReader_imageFormat(const QString& fileName);
void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color);
void setFileName(QImageReader* theWrappedObject, const QString& fileName);
QSize scaledSize(QImageReader* theWrappedObject) const;
int loopCount(QImageReader* theWrappedObject) const;
QByteArray static_QImageReader_imageFormat(QIODevice* device);
QIODevice* device(QImageReader* theWrappedObject) const;
QRect currentImageRect(QImageReader* theWrappedObject) const;
void setClipRect(QImageReader* theWrappedObject, const QRect& rect);
bool canRead(QImageReader* theWrappedObject) const;
bool jumpToImage(QImageReader* theWrappedObject, int imageNumber);
void setScaledSize(QImageReader* theWrappedObject, const QSize& size);
int imageCount(QImageReader* theWrappedObject) const;
QImage read(QImageReader* theWrappedObject);
QColor backgroundColor(QImageReader* theWrappedObject) const;
bool supportsAnimation(QImageReader* theWrappedObject) const;
QStringList textKeys(QImageReader* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QIMAGEREADER_H