PythonQtWrapper_QMouseEvent.cpp
69 lines
| 2.2 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QMouseEvent.h" | ||
#include <QVariant> | ||||
#include <qevent.h> | ||||
#include <qpoint.h> | ||||
QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) | ||||
{ | ||||
return new QMouseEvent(type, pos, button, buttons, modifiers); } | ||||
QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) | ||||
{ | ||||
return new QMouseEvent(type, pos, globalPos, button, buttons, modifiers); } | ||||
Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->button(); | ||||
} | ||||
Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->buttons(); | ||||
} | ||||
QMouseEvent* PythonQtWrapper_QMouseEvent::static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) | ||||
{ | ||||
return QMouseEvent::createExtendedMouseEvent(type, pos, globalPos, button, buttons, modifiers); | ||||
} | ||||
const QPoint& PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->globalPos(); | ||||
} | ||||
int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->globalX(); | ||||
} | ||||
int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->globalY(); | ||||
} | ||||
bool PythonQtWrapper_QMouseEvent::hasExtendedInfo(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->hasExtendedInfo(); | ||||
} | ||||
const QPoint& PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->pos(); | ||||
} | ||||
QPointF PythonQtWrapper_QMouseEvent::posF(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->posF(); | ||||
} | ||||
int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->x(); | ||||
} | ||||
int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->y(); | ||||
} | ||||