QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QGraphicsItemGroup.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QGRAPHICSITEMGROUP_H
2 #define QTSCRIPTSHELL_QGRAPHICSITEMGROUP_H
3 
4 #include <qgraphicsitem.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QGraphicsItemGroup : public QGraphicsItemGroup
9 {
10 public:
11  QtScriptShell_QGraphicsItemGroup(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
13 
14  void advance(int phase);
15  QRectF boundingRect() const;
16  bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const;
17  bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const;
18  bool contains(const QPointF& point) const;
19  void contextMenuEvent(QGraphicsSceneContextMenuEvent* event);
20  void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
21  void dragLeaveEvent(QGraphicsSceneDragDropEvent* event);
22  void dragMoveEvent(QGraphicsSceneDragDropEvent* event);
23  void dropEvent(QGraphicsSceneDragDropEvent* event);
24  QVariant extension(const QVariant& variant) const;
25  void focusInEvent(QFocusEvent* event);
26  void focusOutEvent(QFocusEvent* event);
27  void hoverEnterEvent(QGraphicsSceneHoverEvent* event);
28  void hoverLeaveEvent(QGraphicsSceneHoverEvent* event);
29  void hoverMoveEvent(QGraphicsSceneHoverEvent* event);
30  void inputMethodEvent(QInputMethodEvent* event);
31  QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
32  bool isObscuredBy(const QGraphicsItem* item) const;
33  QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value);
34  void keyPressEvent(QKeyEvent* event);
35  void keyReleaseEvent(QKeyEvent* event);
36  void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event);
37  void mouseMoveEvent(QGraphicsSceneMouseEvent* event);
38  void mousePressEvent(QGraphicsSceneMouseEvent* event);
39  void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
40  QPainterPath opaqueArea() const;
41  void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
42  bool sceneEvent(QEvent* event);
43  bool sceneEventFilter(QGraphicsItem* watched, QEvent* event);
44  QPainterPath shape() const;
45  int type() const;
46  void wheelEvent(QGraphicsSceneWheelEvent* event);
47 
48  QScriptValue __qtscript_self;
49 };
50 
51 #endif // QTSCRIPTSHELL_QGRAPHICSITEMGROUP_H