PythonQtWrapper_QGraphicsSceneWheelEvent.cpp
83 lines
| 2.6 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QGraphicsSceneWheelEvent.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
#include <qwidget.h> | ||||
QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) | ||||
{ | ||||
return new QGraphicsSceneWheelEvent(type); } | ||||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setPos(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setScenePos(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setButtons(buttons); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDelta(delta); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setScreenPos(pos); | ||
|
r13 | } | ||
|
r28 | QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->screenPos(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->delta(); | ||
|
r13 | } | ||
|
r28 | Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->modifiers(); | ||
|
r13 | } | ||
|
r28 | Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttons(); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setOrientation(orientation); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->scenePos(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGraphicsSceneWheelEvent::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setModifiers(modifiers); | ||
|
r24 | } | ||
|
r28 | Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->orientation(); | ||
|
r13 | } | ||