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
QArkUi::DragAction Class Reference

#include <qohosdragaction.h>

Collaboration diagram for QArkUi::DragAction:

Public Member Functions

 DragAction (::ArkUI_NodeHandle node)
void setPointerId (std::int32_t pointerId)
void setTouchPoint (float x, float y)
void setPixelMaps (std::vector< std::shared_ptr<::OH_PixelmapNative > > pixelMaps)
void setData (QOhosUdmfData udmfData)
void setStatusListener (std::function< void(::ArkUI_DragAndDropInfo *)> statusListener)
void resetStatusListener ()
void setDragPreviewOption (ArkUI_DragPreviewOption &option)
::ArkUI_DragAction * nativePtr ()

Detailed Description

Definition at line 20 of file qohosdragaction.h.

Constructor & Destructor Documentation

◆ DragAction()

QArkUi::DragAction::DragAction ( ::ArkUI_NodeHandle node)
explicit

Definition at line 16 of file qohosdragaction.cpp.

References DragAction().

Referenced by DragAction().

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

Member Function Documentation

◆ nativePtr()

ArkUI_DragAction * QArkUi::DragAction::nativePtr ( )

Definition at line 103 of file qohosdragaction.cpp.

◆ resetStatusListener()

void QArkUi::DragAction::resetStatusListener ( )

Definition at line 91 of file qohosdragaction.cpp.

Referenced by setStatusListener().

Here is the caller graph for this function:

◆ setData()

void QArkUi::DragAction::setData ( QOhosUdmfData udmfData)

Definition at line 56 of file qohosdragaction.cpp.

◆ setDragPreviewOption()

void QArkUi::DragAction::setDragPreviewOption ( ArkUI_DragPreviewOption & option)

Definition at line 96 of file qohosdragaction.cpp.

◆ setPixelMaps()

void QArkUi::DragAction::setPixelMaps ( std::vector< std::shared_ptr<::OH_PixelmapNative > > pixelMaps)

Definition at line 42 of file qohosdragaction.cpp.

◆ setPointerId()

void QArkUi::DragAction::setPointerId ( std::int32_t pointerId)

Definition at line 25 of file qohosdragaction.cpp.

◆ setStatusListener()

void QArkUi::DragAction::setStatusListener ( std::function< void(::ArkUI_DragAndDropInfo *)> statusListener)

Definition at line 65 of file qohosdragaction.cpp.

References resetStatusListener().

Here is the call graph for this function:

◆ setTouchPoint()

void QArkUi::DragAction::setTouchPoint ( float x,
float y )

Definition at line 32 of file qohosdragaction.cpp.


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