PythonQtWrapper_QGraphicsSceneMouseEvent.h
43 lines
| 2.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||||
#include <qgraphicssceneevent.h> | ||||
#include <QObject> | ||||
#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; } | ||||
Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||||
QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||||
QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||||
Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button); | ||||
void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); | ||||
void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); | ||||
void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos); | ||||
void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons); | ||||
void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||||
void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||||
void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); | ||||
void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); | ||||
void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||||
void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||||
void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||||