|
|
#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H
|
|
|
#define PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H
|
|
|
|
|
|
#include <qgraphicssceneevent.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <PythonQt.h>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qpoint.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None);
|
|
|
void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; }
|
|
|
void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos);
|
|
|
QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos);
|
|
|
void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos);
|
|
|
QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const;
|
|
|
Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons);
|
|
|
QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos);
|
|
|
void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers);
|
|
|
QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const;
|
|
|
void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos);
|
|
|
QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos);
|
|
|
void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos);
|
|
|
Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const;
|
|
|
void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button);
|
|
|
Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const;
|
|
|
void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos);
|
|
|
void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos);
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H
|
|
|
|