PythonQtWrapper_QBrush.h
54 lines
| 2.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QBRUSH_H | ||
#define PYTHONQTWRAPPER_QBRUSH_H | ||||
#include <qbrush.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QPixmap> | ||
#include <QVariant> | ||||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qdatastream.h> | ||||
#include <qimage.h> | ||||
#include <qmatrix.h> | ||||
#include <qpixmap.h> | ||||
#include <qtransform.h> | ||||
class PythonQtWrapper_QBrush : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QBrush* new_QBrush(); | ||||
QBrush* new_QBrush(Qt::BrushStyle bs); | ||||
QBrush* new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap); | ||||
QBrush* new_QBrush(const QBrush& brush); | ||||
QBrush* new_QBrush(const QColor& color, Qt::BrushStyle bs = Qt::SolidPattern); | ||||
QBrush* new_QBrush(const QColor& color, const QPixmap& pixmap); | ||||
QBrush* new_QBrush(const QGradient& gradient); | ||||
QBrush* new_QBrush(const QImage& image); | ||||
QBrush* new_QBrush(const QPixmap& pixmap); | ||||
void delete_QBrush(QBrush* obj) { delete obj; } | ||||
florianlink
|
r28 | void setColor(QBrush* theWrappedObject, const QColor& color); | ||
florianlink
|
r73 | const QColor* color(QBrush* theWrappedObject) const; | ||
florianlink
|
r24 | void setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1); | ||
bool isOpaque(QBrush* theWrappedObject) const; | ||||
florianlink
|
r28 | void setTexture(QBrush* theWrappedObject, const QPixmap& pixmap); | ||
florianlink
|
r73 | QImage textureImage(QBrush* theWrappedObject) const; | ||
bool operator_equal(QBrush* theWrappedObject, const QBrush& b) const; | ||||
void setMatrix(QBrush* theWrappedObject, const QMatrix& mat); | ||||
void writeTo(QBrush* theWrappedObject, QDataStream& arg__1); | ||||
void setTextureImage(QBrush* theWrappedObject, const QImage& image); | ||||
florianlink
|
r28 | Qt::BrushStyle style(QBrush* theWrappedObject) const; | ||
florianlink
|
r73 | const QGradient* gradient(QBrush* theWrappedObject) const; | ||
void setColor(QBrush* theWrappedObject, Qt::GlobalColor color); | ||||
void setTransform(QBrush* theWrappedObject, const QTransform& arg__1); | ||||
void readFrom(QBrush* theWrappedObject, QDataStream& arg__1); | ||||
const QMatrix* matrix(QBrush* theWrappedObject) const; | ||||
QPixmap texture(QBrush* theWrappedObject) const; | ||||
QTransform transform(QBrush* theWrappedObject) const; | ||||
QString toString(QBrush*); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QBRUSH_H | ||||