##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QGraphicsPathItem.h
60 lines | 2.4 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsPathItem.h
#ifndef PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H
#define PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H
#include <qgraphicsitem.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbrush.h>
#include <qgraphicsitem.h>
#include <qgraphicsscene.h>
#include <qpainter.h>
#include <qpainterpath.h>
#include <qpen.h>
#include <qpoint.h>
#include <qrect.h>
#include <qstyleoption.h>
#include <qwidget.h>
class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem
{
public:
PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(parent, scene),_wrapper(NULL) {};
PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(path, parent, scene),_wrapper(NULL) {};
virtual bool isObscuredBy(const QGraphicsItem* item) const;
virtual QPainterPath opaqueArea() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem
{ public:
inline QPainterPath promoted_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); }
inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); }
};
class PythonQtWrapper_QGraphicsPathItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(enum_1 )
enum enum_1{
Type = QGraphicsPathItem::Type};
public slots:
QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; }
QPainterPath opaqueArea(QGraphicsPathItem* theWrappedObject) const;
void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
QPainterPath path(QGraphicsPathItem* theWrappedObject) const;
QPainterPath shape(QGraphicsPathItem* theWrappedObject) const;
int type(QGraphicsPathItem* theWrappedObject) const;
QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const;
bool isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const;
void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path);
bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const;
};
#endif // PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H