1 #ifndef QTSCRIPTSHELL_QGRAPHICSPATHITEM_H
2 #define QTSCRIPTSHELL_QGRAPHICSPATHITEM_H
4 #include <qgraphicsitem.h>
6 #include <QtScript/qscriptvalue.h>
17 bool collidesWithItem(
const QGraphicsItem* other, Qt::ItemSelectionMode mode)
const;
18 bool collidesWithPath(
const QPainterPath& path, Qt::ItemSelectionMode mode)
const;
19 bool contains(
const QPointF& point)
const;
24 void dropEvent(QGraphicsSceneDragDropEvent* event);
25 QVariant
extension(
const QVariant& variant)
const;
34 QVariant
itemChange(QGraphicsItem::GraphicsItemChange change,
const QVariant& value);
42 void paint(QPainter* painter,
const QStyleOptionGraphicsItem*
option, QWidget* widget = 0);
45 QPainterPath
shape()
const;
47 void wheelEvent(QGraphicsSceneWheelEvent* event);
52 #endif // QTSCRIPTSHELL_QGRAPHICSPATHITEM_H