PythonQtWrapper_QGraphicsSceneWheelEvent.h
35 lines
| 1.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||||
#include <qgraphicssceneevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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; } | ||||
florianlink
|
r73 | QPointF scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||
void setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); | ||||
Qt::Orientation orientation(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
florianlink
|
r28 | void setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); | ||
void setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); | ||||
void setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons); | ||||
florianlink
|
r24 | void setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta); | ||
void setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos); | ||||
florianlink
|
r73 | Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||
florianlink
|
r24 | QPoint screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||
florianlink
|
r13 | int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||
Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
QPointF pos(QGraphicsSceneWheelEvent* theWrappedObject) const; | ||||
florianlink
|
r24 | void setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H | ||||