##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QGraphicsSimpleTextItem.h
53 lines | 2.1 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsSimpleTextItem.h
#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