##// END OF EJS Templates
fixed builtin package name...
fixed builtin package name git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@130 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r94:f55700c8b936
Show More
PythonQtWrapper_QImageIOHandler.h
81 lines | 4.3 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QImageIOHandler.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QIMAGEIOHANDLER_H
#define PYTHONQTWRAPPER_QIMAGEIOHANDLER_H
#include <qimageiohandler.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 <QRect>
#include <QVariant>
#include <qbytearray.h>
#include <qimage.h>
#include <qimageiohandler.h>
#include <qiodevice.h>
#include <qrect.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QImageIOHandler : public QImageIOHandler
{
public:
PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {};
virtual bool canRead() const;
virtual int currentImageNumber() const;
virtual QRect currentImageRect() const;
virtual int imageCount() const;
virtual bool jumpToImage(int imageNumber);
virtual bool jumpToNextImage();
virtual int loopCount() const;
virtual QByteArray name() const;
virtual int nextImageDelay() const;
virtual QVariant option(QImageIOHandler::ImageOption option) const;
virtual bool read(QImage* image);
virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value);
virtual bool supportsOption(QImageIOHandler::ImageOption option) const;
virtual bool write(const QImage& image);
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler
{ public:
inline bool promoted_write(const QImage& image) { return QImageIOHandler::write(image); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); }
inline QVariant promoted_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); }
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); }
inline QRect promoted_currentImageRect() const { return QImageIOHandler::currentImageRect(); }
inline bool promoted_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); }
inline void promoted_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); }
inline int promoted_imageCount() const { return QImageIOHandler::imageCount(); }
inline int promoted_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); }
inline int promoted_loopCount() const { return QImageIOHandler::loopCount(); }
florianlink
upgraded wrappers to current generator version...
r28 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QImageIOHandler : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ImageOption )
enum ImageOption{
Size = QImageIOHandler::Size, ClipRect = QImageIOHandler::ClipRect, Description = QImageIOHandler::Description, ScaledClipRect = QImageIOHandler::ScaledClipRect, ScaledSize = QImageIOHandler::ScaledSize, CompressionRatio = QImageIOHandler::CompressionRatio, Gamma = QImageIOHandler::Gamma, Quality = QImageIOHandler::Quality, Name = QImageIOHandler::Name, SubType = QImageIOHandler::SubType, IncrementalReading = QImageIOHandler::IncrementalReading, Endianness = QImageIOHandler::Endianness, Animation = QImageIOHandler::Animation, BackgroundColor = QImageIOHandler::BackgroundColor};
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QImageIOHandler* new_QImageIOHandler();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; }
QByteArray format(QImageIOHandler* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device);
florianlink
recreated wrappers to match current python qt version...
r73 bool write(QImageIOHandler* theWrappedObject, const QImage& image);
QIODevice* device(QImageIOHandler* theWrappedObject) const;
bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const;
QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const;
florianlink
upgraded wrappers to current generator version...
r28 int currentImageNumber(QImageIOHandler* theWrappedObject) const;
QRect currentImageRect(QImageIOHandler* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber);
florianlink
recreated wrappers to match current python qt version...
r73 bool jumpToNextImage(QImageIOHandler* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format);
florianlink
recreated wrappers to match current python qt version...
r73 void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value);
int imageCount(QImageIOHandler* theWrappedObject) const;
int nextImageDelay(QImageIOHandler* theWrappedObject) const;
int loopCount(QImageIOHandler* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QIMAGEIOHANDLER_H