##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QMouseEvent.cpp
72 lines | 2.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QMouseEvent.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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 PythonQtShell_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 PythonQtShell_QMouseEvent(type, pos, globalPos, button, buttons, modifiers); }
QPointF PythonQtWrapper_QMouseEvent::posF(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->posF();
}
int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->x();
}
bool PythonQtWrapper_QMouseEvent::hasExtendedInfo(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->hasExtendedInfo();
}
const QPoint& PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->globalPos();
}
int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->y();
}
Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->button();
}
int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->globalX();
}
int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->globalY();
}
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::pos(QMouseEvent* theWrappedObject) const
{
return theWrappedObject->pos();
}