Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowSystemInterfacePrivate::MouseEvent Class Reference

#include <qwindowsysteminterface_p.h>

Inheritance diagram for QWindowSystemInterfacePrivate::MouseEvent:
Collaboration diagram for QWindowSystemInterfacePrivate::MouseEvent:

Public Member Functions

 MouseEvent (QWindow *w, ulong time, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::KeyboardModifiers mods, Qt::MouseButton b, QEvent::Type type, Qt::MouseEventSource src=Qt::MouseEventNotSynthesized, bool frame=false, const QPointingDevice *device=QPointingDevice::primaryPointingDevice(), int evPtId=-1)
Public Member Functions inherited from QWindowSystemInterfacePrivate::PointerEvent
 PointerEvent (QWindow *w, ulong time, EventType t, Qt::KeyboardModifiers mods, const QPointingDevice *device)
Public Member Functions inherited from QWindowSystemInterfacePrivate::InputEvent
 InputEvent (QWindow *w, ulong time, EventType t, Qt::KeyboardModifiers mods, const QInputDevice *dev)
Public Member Functions inherited from QWindowSystemInterfacePrivate::UserEvent
 UserEvent (QWindow *w, ulong time, EventType t)
Public Member Functions inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
 WindowSystemEvent (EventType t)
virtual ~WindowSystemEvent ()
bool synthetic () const
bool nullWindow () const

Public Attributes

QPointF localPos
QPointF globalPos
Qt::MouseButtons buttons
Qt::MouseEventSource source
bool nonClientArea
Qt::MouseButton button
QEvent::Type buttonType
int eventPointId
Public Attributes inherited from QWindowSystemInterfacePrivate::InputEvent
Qt::KeyboardModifiers modifiers
const QInputDevicedevice
Public Attributes inherited from QWindowSystemInterfacePrivate::UserEvent
QPointer< QWindowwindow
unsigned long timestamp
Public Attributes inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
EventType type
int flags
bool eventAccepted

Additional Inherited Members

Public Types inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
enum  { Synthetic = 0x1 , NullWindow = 0x2 }

Detailed Description

Definition at line 221 of file qwindowsysteminterface_p.h.

Constructor & Destructor Documentation

◆ MouseEvent()

QWindowSystemInterfacePrivate::MouseEvent::MouseEvent ( QWindow * w,
ulong time,
const QPointF & local,
const QPointF & global,
Qt::MouseButtons state,
Qt::KeyboardModifiers mods,
Qt::MouseButton b,
QEvent::Type type,
Qt::MouseEventSource src = Qt::MouseEventNotSynthesized,
bool frame = false,
const QPointingDevice * device = QPointingDevice::primaryPointingDevice(),
int evPtId = -1 )
inline

Definition at line 223 of file qwindowsysteminterface_p.h.

Member Data Documentation

◆ button

Qt::MouseButton QWindowSystemInterfacePrivate::MouseEvent::button

Definition at line 238 of file qwindowsysteminterface_p.h.

◆ buttons

Qt::MouseButtons QWindowSystemInterfacePrivate::MouseEvent::buttons

Definition at line 235 of file qwindowsysteminterface_p.h.

◆ buttonType

QEvent::Type QWindowSystemInterfacePrivate::MouseEvent::buttonType

Definition at line 239 of file qwindowsysteminterface_p.h.

◆ eventPointId

int QWindowSystemInterfacePrivate::MouseEvent::eventPointId

Definition at line 240 of file qwindowsysteminterface_p.h.

◆ globalPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::globalPos

Definition at line 234 of file qwindowsysteminterface_p.h.

◆ localPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::localPos

Definition at line 233 of file qwindowsysteminterface_p.h.

◆ nonClientArea

bool QWindowSystemInterfacePrivate::MouseEvent::nonClientArea

Definition at line 237 of file qwindowsysteminterface_p.h.

◆ source

Qt::MouseEventSource QWindowSystemInterfacePrivate::MouseEvent::source

Definition at line 236 of file qwindowsysteminterface_p.h.


The documentation for this class was generated from the following file: