PythonQtWrapper_QWheelEvent.cpp
61 lines
| 1.8 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QWheelEvent.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } | ||
|
r13 | |||
QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } | ||
|
r13 | |||
|
r28 | int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->y(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->x(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->globalY(); | ||
|
r13 | } | ||
|
r28 | const QPoint& PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pos(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->delta(); | ||
|
r13 | } | ||
|
r28 | Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->orientation(); | ||
|
r13 | } | ||
|
r28 | const QPoint& PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->globalPos(); | ||
|
r13 | } | ||
|
r28 | Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->buttons(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->globalX(); | ||
|
r13 | } | ||