PythonQtWrapper_QSvgRenderer.h
64 lines
| 2.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSVGRENDERER_H | ||
#define PYTHONQTWRAPPER_QSVGRENDERER_H | ||||
#include <qsvgrenderer.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QByteArray> | ||
#include <QMatrix> | ||||
#include <QRectF> | ||||
#include <QSize> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qmatrix.h> | ||||
#include <qobject.h> | ||||
#include <qpainter.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
florianlink
|
r24 | class PythonQtShell_QSvgRenderer : public QSvgRenderer | ||
{ | ||||
public: | ||||
PythonQtShell_QSvgRenderer(QObject* parent = 0):QSvgRenderer(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = 0):QSvgRenderer(contents, parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = 0):QSvgRenderer(filename, parent),_wrapper(NULL) {}; | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QSvgRenderer : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSvgRenderer* new_QSvgRenderer(QObject* parent = 0); | ||||
QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = 0); | ||||
QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = 0); | ||||
void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } | ||||
florianlink
|
r73 | QRect viewBox(QSvgRenderer* theWrappedObject) const; | ||
void setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1); | ||||
florianlink
|
r28 | int currentFrame(QSvgRenderer* theWrappedObject) const; | ||
int animationDuration(QSvgRenderer* theWrappedObject) const; | ||||
florianlink
|
r13 | bool animated(QSvgRenderer* theWrappedObject) const; | ||
QSize defaultSize(QSvgRenderer* theWrappedObject) const; | ||||
florianlink
|
r73 | int framesPerSecond(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r24 | void setFramesPerSecond(QSvgRenderer* theWrappedObject, int num); | ||
QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; | ||||
florianlink
|
r13 | QMatrix matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const; | ||
florianlink
|
r73 | bool elementExists(QSvgRenderer* theWrappedObject, const QString& id) const; | ||
bool isValid(QSvgRenderer* theWrappedObject) const; | ||||
florianlink
|
r13 | void setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox); | ||
florianlink
|
r73 | void setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox); | ||
QRectF viewBoxF(QSvgRenderer* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QSVGRENDERER_H | ||||