#ifndef PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H #define PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H #include #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QTextImageFormat : public QTextImageFormat { public: PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextImageFormat : public QObject { Q_OBJECT public: public slots: QTextImageFormat* new_QTextImageFormat(); QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); *((QTextImageFormat*)a) = other; return a; } void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } qreal width(QTextImageFormat* theWrappedObject) const; void setHeight(QTextImageFormat* theWrappedObject, qreal height); bool isValid(QTextImageFormat* theWrappedObject) const; void setName(QTextImageFormat* theWrappedObject, const QString& name); void setWidth(QTextImageFormat* theWrappedObject, qreal width); qreal height(QTextImageFormat* theWrappedObject) const; QString name(QTextImageFormat* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H