##// 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_QTextImageFormat.h
47 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H
#define PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H
#include <qtextformat.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qfont.h>
#include <qpen.h>
#include <qstringlist.h>
#include <qtextformat.h>
#include <qvector.h>
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