|
|
#ifndef PYTHONQTWRAPPER_QPAINTENGINESTATE_H
|
|
|
#define PYTHONQTWRAPPER_QPAINTENGINESTATE_H
|
|
|
|
|
|
#include <qpaintengine.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <PythonQt.h>
|
|
|
|
|
|
#include <QPainterPath>
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qmatrix.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpainterpath.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qtransform.h>
|
|
|
|
|
|
class PythonQtShell_QPaintEngineState : public QPaintEngineState
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(NULL) {};
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QPaintEngineState : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QPaintEngineState* new_QPaintEngineState();
|
|
|
void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; }
|
|
|
Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const;
|
|
|
QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const;
|
|
|
QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const;
|
|
|
QBrush brush(QPaintEngineState* theWrappedObject) const;
|
|
|
QRegion clipRegion(QPaintEngineState* theWrappedObject) const;
|
|
|
bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const;
|
|
|
QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const;
|
|
|
bool isClipEnabled(QPaintEngineState* theWrappedObject) const;
|
|
|
QPen pen(QPaintEngineState* theWrappedObject) const;
|
|
|
qreal opacity(QPaintEngineState* theWrappedObject) const;
|
|
|
QMatrix matrix(QPaintEngineState* theWrappedObject) const;
|
|
|
QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const;
|
|
|
QFont font(QPaintEngineState* theWrappedObject) const;
|
|
|
QPointF brushOrigin(QPaintEngineState* theWrappedObject) const;
|
|
|
QPainterPath clipPath(QPaintEngineState* theWrappedObject) const;
|
|
|
Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const;
|
|
|
bool penNeedsResolving(QPaintEngineState* theWrappedObject) const;
|
|
|
QPainter* painter(QPaintEngineState* theWrappedObject) const;
|
|
|
QTransform transform(QPaintEngineState* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QPAINTENGINESTATE_H
|
|
|
|