##// 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_QTabletEvent.h
52 lines | 2.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTABLETEVENT_H
#define PYTHONQTWRAPPER_QTABLETEVENT_H
#include <qevent.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qpoint.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTabletEvent : public QTabletEvent
{
public:
PythonQtShell_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTabletEvent : public QObject
{ Q_OBJECT
public:
Q_ENUMS(TabletDevice PointerType )
enum TabletDevice{
NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus};
enum PointerType{
UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser};
public slots:
QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID);
void delete_QTabletEvent(QTabletEvent* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int yTilt(QTabletEvent* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal tangentialPressure(QTabletEvent* theWrappedObject) const;
const QPoint& pos(QTabletEvent* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qreal pressure(QTabletEvent* theWrappedObject) const;
int x(QTabletEvent* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int globalX(QTabletEvent* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 const QPointF& hiResGlobalPos(QTabletEvent* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal hiResGlobalY(QTabletEvent* theWrappedObject) const;
const QPoint& globalPos(QTabletEvent* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int z(QTabletEvent* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal hiResGlobalX(QTabletEvent* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int xTilt(QTabletEvent* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qint64 uniqueId(QTabletEvent* theWrappedObject) const;
int globalY(QTabletEvent* theWrappedObject) const;
qreal rotation(QTabletEvent* theWrappedObject) const;
int y(QTabletEvent* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTABLETEVENT_H