#ifndef PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H #define PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H #include #include #include #include class PythonQtWrapper_QContextMenuEvent : public QObject { Q_OBJECT public: Q_ENUMS(Reason ) enum Reason{ Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other}; public slots: QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers); void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } const QPoint& globalPos(QContextMenuEvent* theWrappedObject) const; int globalX(QContextMenuEvent* theWrappedObject) const; int globalY(QContextMenuEvent* theWrappedObject) const; const QPoint& pos(QContextMenuEvent* theWrappedObject) const; QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const; int x(QContextMenuEvent* theWrappedObject) const; int y(QContextMenuEvent* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H