Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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())
 
- 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
 
- 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() 
)
inline

Definition at line 223 of file qwindowsysteminterface_p.h.

Member Data Documentation

◆ button

Qt::MouseButton QWindowSystemInterfacePrivate::MouseEvent::button

Definition at line 236 of file qwindowsysteminterface_p.h.

◆ buttons

Qt::MouseButtons QWindowSystemInterfacePrivate::MouseEvent::buttons

Definition at line 233 of file qwindowsysteminterface_p.h.

◆ buttonType

QEvent::Type QWindowSystemInterfacePrivate::MouseEvent::buttonType

Definition at line 237 of file qwindowsysteminterface_p.h.

◆ globalPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::globalPos

Definition at line 232 of file qwindowsysteminterface_p.h.

◆ localPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::localPos

Definition at line 231 of file qwindowsysteminterface_p.h.

◆ nonClientArea

bool QWindowSystemInterfacePrivate::MouseEvent::nonClientArea

Definition at line 235 of file qwindowsysteminterface_p.h.

◆ source

Qt::MouseEventSource QWindowSystemInterfacePrivate::MouseEvent::source

Definition at line 234 of file qwindowsysteminterface_p.h.


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