![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespaces | |
| namespace | details_qarkuiutils_h |
Classes | |
| struct | MouseEvent |
| struct | KeyEvent |
| struct | TouchEvent |
| struct | NativeGestureInfo |
| class | QEmbeddedWindowNode |
| class | Node |
| class | CZString |
| class | DragAction |
| class | QXComponentCallbackReceiver |
| class | QQtEmbeddedWindowNode |
| class | QXComponentRegistry |
| struct | WindowProperties |
| class | JsWindowRef |
Typedefs | |
| using | JsDisplayId = QOhosDisplayInfo::JsDisplayId |
| using | JsWindowId = QtOhos::TypedId<double, struct JsWindowIdTag> |
Functions | |
| QOhosOptional<::Input_MouseEventAction > | tryMapMouseEventAction (std::int32_t actionValue) |
| QOhosOptional<::Input_MouseEventButton > | tryMapMouseEventButton (std::int32_t buttonValue) |
| QOhosOptional<::Input_TouchEventAction > | tryMapTouchEventAction (std::int32_t actionValue) |
| QOhosOptional<::Input_KeyEventAction > | tryMapKeyEventAction (std::int32_t actionValue) |
| QInputDevice::DeviceType | getTouchDeviceType (const ::ArkUI_UIInputEvent *inputEvent) |
| template<> | |
| std::int32_t | Node::getAttributeOrFail< std::int32_t > (::ArkUI_NodeAttributeType attributeType) const |
| std::array< float, 2 > | toFloatArray (const QPointF &point) |
| template<typename Func, Func f, typename... FuncArgs> | |
| std::enable_if_t< std::is_same< QOhosInvokeResult< Func, FuncArgs... >, std::int32_t >::value||std::is_enum< QOhosInvokeResult< Func, FuncArgs... > >::value, void > | callArkUiOrFailOnErrorResult (QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs) |
| template<typename Func, Func f, typename... FuncArgs> | |
| Q_REQUIRED_RESULT std::enable_if_t< std::is_pointer< QOhosInvokeResult< Func, FuncArgs... > >::value, QOhosInvokeResult< Func, FuncArgs... > > | callArkUiOrFailOnNullResult (QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs) |
| template<typename Func, Func f, typename... FuncArgs> | |
| QOhosInvokeResult< Func, FuncArgs... > | callArkUi (QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs) |
| std::function< void()> | makeVSyncFrameRequester (::OHNativeWindow *nativeWindow, std::function< void()> vsyncFrameReadyFunc) |
| QOhosOptional< WindowProperties > | tryGetWindowProperties (JsWindowId jsWindowId) |
| std::shared_ptr< void > | registerMouseEventsConsumer (JsWindowId jsWindowId, QOhosConsumer< const MouseEvent & > eventsConsumer) |
| std::shared_ptr< void > | registerKeyEventsConsumer (JsWindowId jsWindowId, QOhosConsumer< const KeyEvent & > eventsConsumer) |
| std::shared_ptr< void > | registerTouchEventsConsumer (JsWindowId jsWindowId, QOhosConsumer< const TouchEvent & > eventsConsumer) |
| template<> | |
| std::int32_t | Node::getAttributeOrFail< std::int32_t > (::ArkUI_NodeAttributeType attributeType) const |
| using QArkUi::JsWindowId = QtOhos::TypedId<double, struct JsWindowIdTag> |
| QOhosInvokeResult< Func, FuncArgs... > QArkUi::callArkUi | ( | QOhosNamedFunc< Func, f > | func, |
| FuncArgs &&... | funcArgs ) |
Definition at line 201 of file qarkuiutils.h.
| std::enable_if_t< std::is_same< QOhosInvokeResult< Func, FuncArgs... >, std::int32_t >::value||std::is_enum< QOhosInvokeResult< Func, FuncArgs... > >::value, void > QArkUi::callArkUiOrFailOnErrorResult | ( | QOhosNamedFunc< Func, f > | func, |
| FuncArgs &&... | funcArgs ) |
Definition at line 171 of file qarkuiutils.h.
| Q_REQUIRED_RESULT std::enable_if_t< std::is_pointer< QOhosInvokeResult< Func, FuncArgs... > >::value, QOhosInvokeResult< Func, FuncArgs... > > QArkUi::callArkUiOrFailOnNullResult | ( | QOhosNamedFunc< Func, f > | func, |
| FuncArgs &&... | funcArgs ) |
Definition at line 187 of file qarkuiutils.h.
| QInputDevice::DeviceType QArkUi::getTouchDeviceType | ( | const ::ArkUI_UIInputEvent * | inputEvent | ) |
| std::int32_t QArkUi::Node::getAttributeOrFail< std::int32_t > | ( | ::ArkUI_NodeAttributeType | attributeType | ) | const |
Definition at line 297 of file qnativenodeapi.cpp.
| std::int32_t QArkUi::Node::getAttributeOrFail< std::int32_t > | ( | ::ArkUI_NodeAttributeType | attributeType | ) | const |
Definition at line 297 of file qnativenodeapi.cpp.
| std::shared_ptr< void > QArkUi::registerKeyEventsConsumer | ( | JsWindowId | jsWindowId, |
| QOhosConsumer< const KeyEvent & > | eventsConsumer ) |
Definition at line 200 of file window_manager.cpp.
| std::shared_ptr< void > QArkUi::registerMouseEventsConsumer | ( | JsWindowId | jsWindowId, |
| QOhosConsumer< const MouseEvent & > | eventsConsumer ) |
Definition at line 192 of file window_manager.cpp.
| std::shared_ptr< void > QArkUi::registerTouchEventsConsumer | ( | JsWindowId | jsWindowId, |
| QOhosConsumer< const TouchEvent & > | eventsConsumer ) |
Definition at line 208 of file window_manager.cpp.
|
inline |
Definition at line 141 of file qarkuiutils.h.
| QOhosOptional< WindowProperties > QArkUi::tryGetWindowProperties | ( | JsWindowId | jsWindowId | ) |
Definition at line 27 of file window.cpp.
References makeEmptyQOhosOptional().
| QOhosOptional<::Input_KeyEventAction > QArkUi::tryMapKeyEventAction | ( | std::int32_t | actionValue | ) |
Definition at line 53 of file input.cpp.
References makeEmptyQOhosOptional().
| QOhosOptional<::Input_MouseEventAction > QArkUi::tryMapMouseEventAction | ( | std::int32_t | actionValue | ) |
Definition at line 12 of file input.cpp.
References makeEmptyQOhosOptional().
| QOhosOptional<::Input_MouseEventButton > QArkUi::tryMapMouseEventButton | ( | std::int32_t | buttonValue | ) |
Definition at line 27 of file input.cpp.
References makeEmptyQOhosOptional().
| QOhosOptional<::Input_TouchEventAction > QArkUi::tryMapTouchEventAction | ( | std::int32_t | actionValue | ) |
Definition at line 41 of file input.cpp.
References makeEmptyQOhosOptional().