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