|
|
#ifndef PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H
|
|
|
#define PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H
|
|
|
|
|
|
#include <qgraphicsitem.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qgraphicsitem.h>
|
|
|
#include <qgraphicsscene.h>
|
|
|
#include <qgraphicssceneevent.h>
|
|
|
#include <qgraphicswidget.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpainterpath.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qpolygon.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qtransform.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
class PythonQtWrapper_QGraphicsSimpleTextItem : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(enum_1 )
|
|
|
enum enum_1{
|
|
|
Type = QGraphicsSimpleTextItem::Type};
|
|
|
public slots:
|
|
|
QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
|
|
|
QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
|
|
|
void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; }
|
|
|
QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const;
|
|
|
QFont font(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
bool isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const;
|
|
|
QPainterPath opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);
|
|
|
void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font);
|
|
|
void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text);
|
|
|
QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
QString text(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
int type(QGraphicsSimpleTextItem* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H
|
|
|
|