PythonQtWrapper_QGraphicsSceneMouseEvent.cpp
133 lines
| 4.5 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QGraphicsSceneMouseEvent.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
#include <qwidget.h> | ||||
QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) | ||||
{ | ||||
return new QGraphicsSceneMouseEvent(type); } | ||||
|
r28 | Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->modifiers(); | ||
|
r13 | } | ||
|
r28 | QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttonDownScreenPos(button); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastPos(); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastScenePos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setScenePos(pos); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttonDownScenePos(button); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setLastPos(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButtons(buttons); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setScreenPos(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButtonDownScenePos(button, pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setLastScreenPos(pos); | ||
|
r13 | } | ||
|
r28 | QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->screenPos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setPos(pos); | ||
|
r13 | } | ||
|
r28 | QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastScreenPos(); | ||
|
r13 | } | ||
|
r28 | Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->button(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButton(button); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButtonDownPos(button, pos); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttonDownPos(button); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButtonDownScreenPos(button, pos); | ||
|
r13 | } | ||
|
r24 | Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttons(); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->scenePos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setModifiers(modifiers); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setLastScenePos(pos); | ||
|
r13 | } | ||