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
qohospixelmapconversions.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOHOSPIXELMAPCONVERSIONS_H
5#define QOHOSPIXELMAPCONVERSIONS_H
6
7#include <QtCore/qglobal.h>
8#include <QtGui/qimage.h>
9#include <multimedia/image_framework/image/pixelmap_native.h>
10#include <qohosplugincore.h>
11
13
14QImage createQImageFromNativePixelMap(::OH_PixelmapNative *pixelMap);
15
17
18QT_END_NAMESPACE
19
20#endif
void setTouchPoint(float x, float y)
void setPixelMaps(std::vector< std::shared_ptr<::OH_PixelmapNative > > pixelMaps)
::ArkUI_DragAction * nativePtr()
void setData(QOhosUdmfData udmfData)
void setStatusListener(std::function< void(::ArkUI_DragAndDropInfo *)> statusListener)
void setDragPreviewOption(ArkUI_DragPreviewOption &option)
void setPointerId(std::int32_t pointerId)
DragAction(::ArkUI_NodeHandle node)
Combined button and popup list for selecting options.
QNapi::Object makeDisplayDensityScaledJsPixelMapFromQImage(QtOhos::JsState &jsState, const QImage &image)