PythonQtWrapper_QTextImageFormat.h
47 lines
| 1.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H | ||
#define PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H | ||||
#include <qtextformat.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qfont.h> | ||||
#include <qpen.h> | ||||
#include <qstringlist.h> | ||||
#include <qtextformat.h> | ||||
#include <qvector.h> | ||||
florianlink
|
r24 | class PythonQtShell_QTextImageFormat : public QTextImageFormat | ||
{ | ||||
public: | ||||
PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; | ||||
PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QTextImageFormat : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextImageFormat* new_QTextImageFormat(); | ||||
florianlink
|
r24 | QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { | ||
PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); | ||||
*((QTextImageFormat*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } | ||
qreal width(QTextImageFormat* theWrappedObject) const; | ||||
florianlink
|
r24 | QString name(QTextImageFormat* theWrappedObject) const; | ||
florianlink
|
r28 | qreal height(QTextImageFormat* theWrappedObject) const; | ||
florianlink
|
r24 | void setWidth(QTextImageFormat* theWrappedObject, qreal width); | ||
florianlink
|
r28 | bool isValid(QTextImageFormat* theWrappedObject) const; | ||
void setName(QTextImageFormat* theWrappedObject, const QString& name); | ||||
void setHeight(QTextImageFormat* theWrappedObject, qreal height); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H | ||||