PythonQtWrapper_QGraphicsSceneWheelEvent.h
33 lines
| 1.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||||
#include <qgraphicssceneevent.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qpoint.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); | ||||
void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } | ||||
Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
Qt::Orientation orientation(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
QPointF pos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
QPointF scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
QPoint screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
void setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons); | ||||
void setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta); | ||||
void setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); | ||||
void setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation); | ||||
void setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); | ||||
void setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); | ||||
void setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos); | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||||