##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QWheelEvent.h
28 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QWHEELEVENT_H
#define PYTHONQTWRAPPER_QWHEELEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qpoint.h>
class PythonQtWrapper_QWheelEvent : public QObject
{ Q_OBJECT
public:
public slots:
QWheelEvent* new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical);
QWheelEvent* new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical);
void delete_QWheelEvent(QWheelEvent* obj) { delete obj; }
Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const;
int delta(QWheelEvent* theWrappedObject) const;
const QPoint& globalPos(QWheelEvent* theWrappedObject) const;
int globalX(QWheelEvent* theWrappedObject) const;
int globalY(QWheelEvent* theWrappedObject) const;
Qt::Orientation orientation(QWheelEvent* theWrappedObject) const;
const QPoint& pos(QWheelEvent* theWrappedObject) const;
int x(QWheelEvent* theWrappedObject) const;
int y(QWheelEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QWHEELEVENT_H