##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
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;
QString name(QTextImageFormat* theWrappedObject) const;
qreal height(QTextImageFormat* theWrappedObject) const;
void setWidth(QTextImageFormat* theWrappedObject, qreal width);
bool isValid(QTextImageFormat* theWrappedObject) const;
void setName(QTextImageFormat* theWrappedObject, const QString& name);
void setHeight(QTextImageFormat* theWrappedObject, qreal height);
};
#endif // PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H