Qt 4.8
|
#include <qwindowsysteminterface_qpa_p.h>
Public Functions | |
MouseEvent (QWidget *w, ulong time, const QPoint &local, const QPoint &global, Qt::MouseButtons b) | |
Public Functions inherited from QWindowSystemInterfacePrivate::UserEvent | |
UserEvent (QWidget *w, ulong time, EventType t) | |
Public Functions inherited from QWindowSystemInterfacePrivate::WindowSystemEvent | |
WindowSystemEvent (EventType t) | |
virtual | ~WindowSystemEvent () |
Public Variables | |
Qt::MouseButtons | buttons |
This property holds the mouse buttons pressed when the event was generated. More... | |
QPoint | globalPos |
QPoint | localPos |
Public Variables inherited from QWindowSystemInterfacePrivate::UserEvent | |
unsigned long | timestamp |
QWeakPointer< QWidget > | widget |
Public Variables inherited from QWindowSystemInterfacePrivate::WindowSystemEvent | |
EventType | type |
Definition at line 136 of file qwindowsysteminterface_qpa_p.h.
|
inline |
Definition at line 138 of file qwindowsysteminterface_qpa_p.h.
int MouseEvent::buttons |
This property holds the mouse buttons pressed when the event was generated.
For mouse move events, this is all buttons that are pressed down. For mouse press and double click events this includes the button that caused the event. For mouse release events this excludes the button that caused the event.
It contains a bitwise combination of:
Definition at line 142 of file qwindowsysteminterface_qpa_p.h.
Referenced by qt_cleanup().
QPoint QWindowSystemInterfacePrivate::MouseEvent::globalPos |
Definition at line 141 of file qwindowsysteminterface_qpa_p.h.
Referenced by qt_cleanup().
QPoint QWindowSystemInterfacePrivate::MouseEvent::localPos |
Definition at line 140 of file qwindowsysteminterface_qpa_p.h.
Referenced by qt_cleanup().