com_trolltech_qt_svg0.h
207 lines
| 8.0 KiB
| text/x-c
|
CLexer
florianlink
|
r99 | #include <PythonQt.h> | ||
#include <QByteArray> | ||||
#include <QMatrix> | ||||
#include <QObject> | ||||
#include <QRectF> | ||||
#include <QSize> | ||||
#include <QSvgRenderer> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgraphicseffect.h> | ||
#include <qgraphicsproxywidget.h> | ||||
florianlink
|
r99 | #include <qicon.h> | ||
#include <qinputcontext.h> | ||||
#include <qiodevice.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
florianlink
|
r110 | #include <qmargins.h> | ||
florianlink
|
r99 | #include <qmatrix.h> | ||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qsvggenerator.h> | ||||
#include <qsvgrenderer.h> | ||||
#include <qsvgwidget.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r110 | #include <qxmlstream.h> | ||
florianlink
|
r99 | |||
class PythonQtShell_QSvgGenerator : public QSvgGenerator | ||||
{ | ||||
public: | ||||
PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual int devType() const; | ||
florianlink
|
r99 | virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; | ||
florianlink
|
r110 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator | ||||
{ public: | ||||
inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QSvgGenerator::metric(metric); } | ||||
florianlink
|
r110 | inline QPaintEngine* promoted_paintEngine() const { return QSvgGenerator::paintEngine(); } | ||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QSvgGenerator : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSvgGenerator* new_QSvgGenerator(); | ||||
void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } | ||||
florianlink
|
r128 | QString description(QSvgGenerator* theWrappedObject) const; | ||
florianlink
|
r120 | QString fileName(QSvgGenerator* theWrappedObject) const; | ||
florianlink
|
r110 | int metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; | ||
QIODevice* outputDevice(QSvgGenerator* theWrappedObject) const; | ||||
florianlink
|
r120 | QPaintEngine* paintEngine(QSvgGenerator* theWrappedObject) const; | ||
florianlink
|
r99 | int resolution(QSvgGenerator* theWrappedObject) const; | ||
florianlink
|
r128 | void setDescription(QSvgGenerator* theWrappedObject, const QString& description); | ||
void setFileName(QSvgGenerator* theWrappedObject, const QString& fileName); | ||||
void setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice); | ||||
void setResolution(QSvgGenerator* theWrappedObject, int dpi); | ||||
void setSize(QSvgGenerator* theWrappedObject, const QSize& size); | ||||
void setTitle(QSvgGenerator* theWrappedObject, const QString& title); | ||||
void setViewBox(QSvgGenerator* theWrappedObject, const QRect& viewBox); | ||||
florianlink
|
r110 | void setViewBox(QSvgGenerator* theWrappedObject, const QRectF& viewBox); | ||
florianlink
|
r128 | QSize size(QSvgGenerator* theWrappedObject) const; | ||
QString title(QSvgGenerator* theWrappedObject) const; | ||||
QRect viewBox(QSvgGenerator* theWrappedObject) const; | ||||
florianlink
|
r120 | QRectF viewBoxF(QSvgGenerator* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
class PythonQtShell_QSvgRenderer : public QSvgRenderer | ||||
{ | ||||
public: | ||||
PythonQtShell_QSvgRenderer(QObject* parent = 0):QSvgRenderer(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = 0):QSvgRenderer(contents, parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | 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) {}; | ||||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QSvgRenderer : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSvgRenderer* new_QSvgRenderer(QObject* parent = 0); | ||||
florianlink
|
r110 | QSvgRenderer* new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = 0); | ||
florianlink
|
r99 | 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
|
r128 | bool animated(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r120 | int animationDuration(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r128 | QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; | ||
int currentFrame(QSvgRenderer* theWrappedObject) const; | ||||
QSize defaultSize(QSvgRenderer* theWrappedObject) const; | ||||
bool elementExists(QSvgRenderer* theWrappedObject, const QString& id) const; | ||||
int framesPerSecond(QSvgRenderer* theWrappedObject) const; | ||||
florianlink
|
r120 | bool isValid(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r128 | QMatrix matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const; | ||
void setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1); | ||||
florianlink
|
r120 | void setFramesPerSecond(QSvgRenderer* theWrappedObject, int num); | ||
void setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox); | ||||
florianlink
|
r99 | void setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox); | ||
florianlink
|
r128 | QRect viewBox(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r110 | QRectF viewBoxF(QSvgRenderer* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
class PythonQtShell_QSvgWidget : public QSvgWidget | ||||
{ | ||||
public: | ||||
PythonQtShell_QSvgWidget(QWidget* parent = 0):QSvgWidget(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = 0):QSvgWidget(file, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r120 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r128 | virtual void changeEvent(QEvent* arg__1); | ||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
florianlink
|
r120 | virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual int devType() const; | ||||
florianlink
|
r120 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
florianlink
|
r128 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r120 | virtual void dropEvent(QDropEvent* arg__1); | ||
florianlink
|
r110 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r120 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* event); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget | ||||
{ public: | ||||
inline void promoted_paintEvent(QPaintEvent* event) { QSvgWidget::paintEvent(event); } | ||||
}; | ||||
class PythonQtWrapper_QSvgWidget : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSvgWidget* new_QSvgWidget(QWidget* parent = 0); | ||||
QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = 0); | ||||
void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } | ||||
void paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event); | ||||
florianlink
|
r120 | QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; | ||
QSize sizeHint(QSvgWidget* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||