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 <optional>
10#include <multimedia/image_framework/image/pixelmap_native.h>
11#include <qohosplugincore.h>
12
14
15QImage createQImageFromNativePixelMap(::OH_PixelmapNative *pixelMap);
16
18
20 QtOhos::JsState &jsState, const QImage &iconImage, bool isWhiteIcon);
21
22QT_END_NAMESPACE
23
24#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)
std::optional< QNapi::Object > createDisplayDensityScaledJsMonochromePixelMapFromIconImage(QtOhos::JsState &jsState, const QImage &iconImage, bool isWhiteIcon)