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