#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H #define PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H #include #include #include #include #include #include class PythonQtWrapper_QGraphicsSceneContextMenuEvent : public QObject { Q_OBJECT public: Q_ENUMS(Reason ) enum Reason{ Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; public slots: QGraphicsSceneContextMenuEvent* new_QGraphicsSceneContextMenuEvent(QEvent::Type type = QEvent::None); void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } QPointF scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; void setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos); Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; void setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; void setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); void setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); void setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason); QPoint screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H