1 #ifndef QTSCRIPTSHELL_QGRAPHICSITEM_H
2 #define QTSCRIPTSHELL_QGRAPHICSITEM_H
4 #include <qgraphicsitem.h>
6 #include <QtScript/qscriptvalue.h>
16 bool collidesWithItem(
const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape)
const;
17 bool collidesWithPath(
const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape)
const;
18 bool contains(
const QPointF& point)
const;
23 void dropEvent(QGraphicsSceneDragDropEvent* event);
24 QVariant
extension(
const QVariant& variant)
const;
33 QVariant
itemChange(QGraphicsItem::GraphicsItemChange change,
const QVariant& value);
41 void paint(QPainter* painter,
const QStyleOptionGraphicsItem*
option, QWidget* widget = 0);
44 QPainterPath
shape()
const;
46 void wheelEvent(QGraphicsSceneWheelEvent* event);
51 #endif // QTSCRIPTSHELL_QGRAPHICSITEM_H