QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QGraphicsScene.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QGRAPHICSSCENE_H
2 #define QTSCRIPTSHELL_QGRAPHICSSCENE_H
3 
4 #include <qgraphicsscene.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QGraphicsScene : public QGraphicsScene
9 {
10 public:
11  QtScriptShell_QGraphicsScene(QObject* parent = 0);
12  QtScriptShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = 0);
13  QtScriptShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = 0);
15 
16  void childEvent(QChildEvent* arg__1);
17  void contextMenuEvent(QGraphicsSceneContextMenuEvent* event);
18  void customEvent(QEvent* arg__1);
19  void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
20  void dragLeaveEvent(QGraphicsSceneDragDropEvent* event);
21  void dragMoveEvent(QGraphicsSceneDragDropEvent* event);
22  void drawBackground(QPainter* painter, const QRectF& rect);
23  void drawForeground(QPainter* painter, const QRectF& rect);
24  void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0);
25  void dropEvent(QGraphicsSceneDragDropEvent* event);
26  bool event(QEvent* event);
27  bool eventFilter(QObject* watched, QEvent* event);
28  void focusInEvent(QFocusEvent* event);
29  void focusOutEvent(QFocusEvent* event);
30  void helpEvent(QGraphicsSceneHelpEvent* event);
31  void inputMethodEvent(QInputMethodEvent* event);
32  QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
33  void keyPressEvent(QKeyEvent* event);
34  void keyReleaseEvent(QKeyEvent* event);
35  void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event);
36  void mouseMoveEvent(QGraphicsSceneMouseEvent* event);
37  void mousePressEvent(QGraphicsSceneMouseEvent* event);
38  void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
39  void timerEvent(QTimerEvent* arg__1);
40  void wheelEvent(QGraphicsSceneWheelEvent* event);
41 
42  QScriptValue __qtscript_self;
43 };
44 
45 #endif // QTSCRIPTSHELL_QGRAPHICSSCENE_H