Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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())
 
- 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

◆ buttons

Qt::MouseButtons QWindowSystemInterfacePrivate::MouseEvent::buttons

◆ buttonType

QEvent::Type QWindowSystemInterfacePrivate::MouseEvent::buttonType

◆ globalPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::globalPos

◆ localPos

QPointF QWindowSystemInterfacePrivate::MouseEvent::localPos

◆ nonClientArea

bool QWindowSystemInterfacePrivate::MouseEvent::nonClientArea

◆ source

Qt::MouseEventSource QWindowSystemInterfacePrivate::MouseEvent::source

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