##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QMouseEvent.h
31 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QMOUSEEVENT_H
#define PYTHONQTWRAPPER_QMOUSEEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qevent.h>
#include <qpoint.h>
class PythonQtWrapper_QMouseEvent : public QObject
{ Q_OBJECT
public:
public slots:
QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers);
QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers);
void delete_QMouseEvent(QMouseEvent* obj) { delete obj; }
Qt::MouseButton button(QMouseEvent* theWrappedObject) const;
Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const;
QMouseEvent* static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers);
const QPoint& globalPos(QMouseEvent* theWrappedObject) const;
int globalX(QMouseEvent* theWrappedObject) const;
int globalY(QMouseEvent* theWrappedObject) const;
bool hasExtendedInfo(QMouseEvent* theWrappedObject) const;
const QPoint& pos(QMouseEvent* theWrappedObject) const;
QPointF posF(QMouseEvent* theWrappedObject) const;
int x(QMouseEvent* theWrappedObject) const;
int y(QMouseEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QMOUSEEVENT_H