QMouseEvent Class Reference
Inherits QInputEvent.
Constructor
- void QMouseEvent(Type type, QPointF localPos, MouseButton button, MouseButtons buttons, KeyboardModifiers modifiers)
- void QMouseEvent(Type type, QPointF localPos, QPointF screenPos, MouseButton button, MouseButtons buttons, KeyboardModifiers modifiers)
- void QMouseEvent(Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, MouseButton button, MouseButtons buttons, KeyboardModifiers modifiers)
Constructor Properties
- prototype: The QMouseEvent prototype object
Prototype Object Properties
The QMouseEvent prototype object inherits properties from the QInputEvent prototype object and also has the following properties.
- MouseButton button()
- MouseButtons buttons()
- QPoint globalPos()
- int globalX()
- int globalY()
- QPointF localPos()
- QPoint pos()
- QPointF screenPos()
- QPointF windowPos()
- int x()
- int y()
Instance Properties
QMouseEvent objects have no special properties beyond those inherited from the QMouseEvent prototype object.