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
DragEvent Struct Reference

#include <qwasmevent.h>

Inheritance diagram for DragEvent:
Collaboration diagram for DragEvent:

Public Member Functions

 DragEvent (EventType type, emscripten::val webEvent, QWindow *targetQWindow)
void cancelDragStart ()
void acceptDragOver ()
void acceptDrop ()
Public Member Functions inherited from MouseEvent
 MouseEvent (EventType type, emscripten::val webEvent)
Public Member Functions inherited from Event
 Event (EventType type, emscripten::val webEvent)
bool isTargetedForQtElement () const
emscripten::val target () const

Public Attributes

Qt::DropAction dropAction
dom::DataTransfer dataTransfer
QWindowtargetWindow
Public Attributes inherited from MouseEvent
QPointF localPoint
QPointF pointInPage
QPointF pointInViewport
Qt::MouseButton mouseButton
Qt::MouseButtons mouseButtons
QFlags< Qt::KeyboardModifiermodifiers
Public Attributes inherited from Event
emscripten::val webEvent
EventType type

Additional Inherited Members

Static Public Member Functions inherited from MouseEvent
static constexpr Qt::MouseButton buttonFromWeb (int webButton)
static constexpr Qt::MouseButtons buttonsFromWeb (unsigned short webButtons)
static constexpr QEvent::Type mouseEventTypeFromEventType (EventType eventType, WindowArea windowArea)

Detailed Description

Definition at line 140 of file qwasmevent.h.

Constructor & Destructor Documentation

◆ DragEvent()

DragEvent::DragEvent ( EventType type,
emscripten::val webEvent,
QWindow * targetQWindow )

Definition at line 180 of file qwasmevent.cpp.

References DragEvent(), and targetWindow.

Referenced by DragEvent().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ acceptDragOver()

void DragEvent::acceptDragOver ( )

Definition at line 202 of file qwasmevent.cpp.

Referenced by QWasmDrag::onNativeDragOver().

Here is the caller graph for this function:

◆ acceptDrop()

void DragEvent::acceptDrop ( )

Definition at line 208 of file qwasmevent.cpp.

Referenced by QWasmDrag::onNativeDrop().

Here is the caller graph for this function:

◆ cancelDragStart()

void DragEvent::cancelDragStart ( )

Definition at line 196 of file qwasmevent.cpp.

Referenced by QWasmDrag::onNativeDragStarted().

Here is the caller graph for this function:

Member Data Documentation

◆ dataTransfer

dom::DataTransfer DragEvent::dataTransfer

Definition at line 149 of file qwasmevent.h.

◆ dropAction

Qt::DropAction DragEvent::dropAction

Definition at line 148 of file qwasmevent.h.

◆ targetWindow

QWindow* DragEvent::targetWindow

Definition at line 150 of file qwasmevent.h.

Referenced by DragEvent(), and QWasmDrag::onNativeDrop().


The documentation for this struct was generated from the following files: