PythonQtWrapper_QGraphicsSceneMouseEvent.h
45 lines
| 2.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||||
#include <qgraphicssceneevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); | ||||
void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } | ||||
florianlink
|
r73 | void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||
QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); | ||||
void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos); | ||||
florianlink
|
r24 | QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||
florianlink
|
r73 | Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||
QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||||
florianlink
|
r28 | void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons); | ||
florianlink
|
r73 | QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||
florianlink
|
r28 | void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); | ||
florianlink
|
r73 | void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); | ||
QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||||
florianlink
|
r28 | void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); | ||
florianlink
|
r73 | QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||
void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); | ||||
void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||||
florianlink
|
r28 | Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||
QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; | ||||
florianlink
|
r73 | void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button); | ||
florianlink
|
r24 | Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const; | ||
florianlink
|
r28 | void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||
florianlink
|
r73 | void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H | ||||