![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qohosdragaction.h>
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 () |
Definition at line 20 of file qohosdragaction.h.
|
explicit |
Definition at line 16 of file qohosdragaction.cpp.
References DragAction().
Referenced by DragAction().
| ArkUI_DragAction * QArkUi::DragAction::nativePtr | ( | ) |
Definition at line 103 of file qohosdragaction.cpp.
| void QArkUi::DragAction::resetStatusListener | ( | ) |
Definition at line 91 of file qohosdragaction.cpp.
Referenced by setStatusListener().
| void QArkUi::DragAction::setData | ( | QOhosUdmfData | udmfData | ) |
Definition at line 56 of file qohosdragaction.cpp.
| void QArkUi::DragAction::setDragPreviewOption | ( | ArkUI_DragPreviewOption & | option | ) |
Definition at line 96 of file qohosdragaction.cpp.
| void QArkUi::DragAction::setPixelMaps | ( | std::vector< std::shared_ptr<::OH_PixelmapNative > > | pixelMaps | ) |
Definition at line 42 of file qohosdragaction.cpp.
| void QArkUi::DragAction::setPointerId | ( | std::int32_t | pointerId | ) |
Definition at line 25 of file qohosdragaction.cpp.
| void QArkUi::DragAction::setStatusListener | ( | std::function< void(::ArkUI_DragAndDropInfo *)> | statusListener | ) |
Definition at line 65 of file qohosdragaction.cpp.
References resetStatusListener().
| void QArkUi::DragAction::setTouchPoint | ( | float | x, |
| float | y ) |
Definition at line 32 of file qohosdragaction.cpp.