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
qohoswindowproxydatafactory.cpp File Reference

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include <render/qohoswindowproxydatafactory.h>
#include <QtCore/qscopeguard.h>
#include <cstdint>
#include <qarkui/qxcomponentregistry.h>
#include <qohosutils.h>
#include <render/qohoswindowproxy.h>
#include <render/qxcomponent.h>
Include dependency graph for qohoswindowproxydatafactory.cpp:

Go to the source code of this file.

Classes

struct  QT_BEGIN_NAMESPACE::OnWindowCreatedLoadWindowContentsContext
struct  QT_BEGIN_NAMESPACE::SubWindowOptions
struct  QT_BEGIN_NAMESPACE::SubWindowOnAppearContext
struct  QT_BEGIN_NAMESPACE::LocalStorageForWindowCreateInfo

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

std::string QT_BEGIN_NAMESPACE::makeOhosUniqueSystemWindowName (QtOhos::InternalWindowId internalWindowId)
std::shared_ptr< QtOhos::QAbilityPeerQT_BEGIN_NAMESPACE::getQAbilityPeerByInstanceIdOrFail (QtOhos::JsState &jsState, const std::string &qAbilityInstanceId)
QXComponentNode QT_BEGIN_NAMESPACE::takeNodeXComponentFromRegistryOrFail (const QXComponentId &xComponentId)
QNapi::Object QT_BEGIN_NAMESPACE::makeLocalStorage (QtOhos::JsState &jsState)
QNapi::Promise QT_BEGIN_NAMESPACE::createSubWindowWithOptions (QNapi::Object windowStageOrWindowObject, const std::string &windowName, const SubWindowOptions &subWindowOptions)
std::function< void(const QtOhos::CallbackInfo &)> QT_BEGIN_NAMESPACE::makeSubWindowOnAppearCallbackHandler (SubWindowOnAppearContext subWindowOnAppearCbCtx)
QNapi::Promise QT_BEGIN_NAMESPACE::loadWindowContents (QNapi::Object window, QNapi::Object localStorage, const std::string &contentPagePath)
QNapi::Object QT_BEGIN_NAMESPACE::makeLocalStorageForWindow (QtOhos::JsState &jsState, LocalStorageForWindowCreateInfo &&createInfo)
QNapi::Promise QT_BEGIN_NAMESPACE::onWindowCreatedLoadWindowContents (QtOhos::JsState &, const QNapi::Object &windowObject, OnWindowCreatedLoadWindowContentsContext context)
void makeWindowProxyDataForMainWindowInJsThread (QtOhos::JsState &jsState, const QOhosWindowProxyMainWindowCreateInfo &createInfo, QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer)
void makeWindowProxyDataForExistingMainWindowInJsThread (QtOhos::JsState &jsState, const QOhosWindowProxyExistingMainWindowCreateInfo &createInfo, QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer)
void makeWindowProxyDataForSubWindowInJsThread (QtOhos::JsState &jsState, const QOhosWindowProxySubWindowCreateInfo &createInfo, QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer)
void makeWindowProxyDataForSubWindowInJsThread (QtOhos::JsState &jsState, QNapi::Object windowStageOrWindowObject, const QOhosWindowProxySubWindowCreateInfo &createInfo, QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer)
void makeWindowProxyDataForFloatWindowInJsThread (QtOhos::JsState &jsState, const QOhosWindowProxyFloatWindowCreateInfo &createInfo, QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer)

Function Documentation

◆ makeWindowProxyDataForExistingMainWindowInJsThread()

void makeWindowProxyDataForExistingMainWindowInJsThread ( QtOhos::JsState & jsState,
const QOhosWindowProxyExistingMainWindowCreateInfo & createInfo,
QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer )

Definition at line 240 of file qohoswindowproxydatafactory.cpp.

References QXComponentId::createForNativeNodeMainWindow(), and QtOhos::QUiAbilityPeer::tryCastFromQAbilityPeerOrNull().

Here is the call graph for this function:

◆ makeWindowProxyDataForFloatWindowInJsThread()

void makeWindowProxyDataForFloatWindowInJsThread ( QtOhos::JsState & jsState,
const QOhosWindowProxyFloatWindowCreateInfo & createInfo,
QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer )

Definition at line 343 of file qohoswindowproxydatafactory.cpp.

References QtOhos::JsState::defaultQAbilityPeer().

Here is the call graph for this function:

◆ makeWindowProxyDataForMainWindowInJsThread()

void makeWindowProxyDataForMainWindowInJsThread ( QtOhos::JsState & jsState,
const QOhosWindowProxyMainWindowCreateInfo & createInfo,
QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer )

Definition at line 199 of file qohoswindowproxydatafactory.cpp.

References QtOhos::JsState::defaultQAbilityPeer(), and QOhosWindowProxyMainWindowCreateInfo::fullscreen.

Here is the call graph for this function:

◆ makeWindowProxyDataForSubWindowInJsThread() [1/2]

void makeWindowProxyDataForSubWindowInJsThread ( QtOhos::JsState & jsState,
const QOhosWindowProxySubWindowCreateInfo & createInfo,
QOhosConsumer< QtOhos::JsState &, QOhosWindowProxyData > resultConsumer )

Definition at line 269 of file qohoswindowproxydatafactory.cpp.

References QtOhos::QUiAbilityPeer::tryCastFromQAbilityPeerOrNull().

Here is the call graph for this function:

◆ makeWindowProxyDataForSubWindowInJsThread() [2/2]