![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qohoswindowproxy.h>
Classes | |
| struct | WindowEvent |
| struct | WindowStatus |
| struct | WindowLimits |
| struct | AvoidArea |
| struct | RectChangeOptions |
| struct | WindowMask |
| struct | MoveConfiguration |
| struct | NonClientAreaMouseEvent |
| struct | NonClientAreaTouchEvent |
| struct | ShowWindowOptions |
| struct | WindowCallbacks |
Static Public Member Functions | |
| static std::shared_ptr< QOhosWindowProxy > | createMainWindow (const MainWindowCreateInfo &createInfo) |
| static std::shared_ptr< QOhosWindowProxy > | createForExistingMainWindow (const ExistingMainWindowCreateInfo &createInfo) |
| static std::shared_ptr< QOhosWindowProxy > | createFloatWindow (const FloatWindowCreateInfo &createInfo) |
| static std::vector< QArkUi::JsWindowId > | queryWindowIdsByCoordinate (QOhosDisplayInfo::JsDisplayId displayId, const QPoint &queryLocation, std::uint32_t queryLimit=0) |
| static std::vector< QArkUi::JsWindowId > | queryQtManagedWindowIdsByPredicate (const std::function< bool(QOhosJsState &jsState, const QArkUi::JsWindowRef &)> &predicate) |
Definition at line 37 of file qohoswindowproxy.h.
Definition at line 44 of file qohoswindowproxy.h.
Definition at line 135 of file qohoswindowproxy.h.
Definition at line 137 of file qohoswindowproxy.h.
Definition at line 134 of file qohoswindowproxy.h.
Definition at line 48 of file qohoswindowproxy.h.
Definition at line 50 of file qohoswindowproxy.h.
Definition at line 46 of file qohoswindowproxy.h.
Definition at line 136 of file qohoswindowproxy.h.
| using QOhosWindowProxy::SupportWindowMode = QtOhosQpa::enums::ohos::bundle::bundleManager::SupportWindowMode |
Definition at line 120 of file qohoswindowproxy.h.
Definition at line 40 of file qohoswindowproxy.h.
Definition at line 42 of file qohoswindowproxy.h.
|
delete |
|
delete |
| QOhosWindowProxy::~QOhosWindowProxy | ( | ) |
Definition at line 382 of file qohoswindowproxy.cpp.
| QHarmonyJsObjectRef QOhosWindowProxy::abilityObjectRef | ( | ) | const |
Definition at line 1440 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1411 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1401 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1421 of file qohoswindowproxy.cpp.
| std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createSubWindow | ( | const SubWindowCreateInfo & | createInfo | ) |
Definition at line 1451 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::enableDrag | ( | bool | enable | ) |
Definition at line 1885 of file qohoswindowproxy.cpp.
References QtOhos::mapBoolToTrueFalseStr(), and qtIsMainWindow().
Definition at line 1822 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::getImmersiveModeEnabledState | ( | ) |
Definition at line 879 of file qohoswindowproxy.cpp.
| QOhosWindowProxy::AvoidArea QOhosWindowProxy::getWindowAvoidArea | ( | AvoidAreaType | type | ) | const |
Definition at line 990 of file qohoswindowproxy.cpp.
| QOhosWindowProxy::WindowLimits QOhosWindowProxy::getWindowLimits | ( | ) | const |
Definition at line 972 of file qohoswindowproxy.cpp.
| QArkUi::WindowProperties QOhosWindowProxy::getWindowProperties | ( | ) | const |
Definition at line 586 of file qohoswindowproxy.cpp.
Referenced by QWindowProxyRegistry::registerQWindowWithWindowProxy(), and setWindowMask().
| std::optional< bool > QOhosWindowProxy::isFocused | ( | ) | const |
Definition at line 1907 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::isSubWindowMaximizeSupported | ( | ) | const |
Definition at line 667 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::isWindowRectAutoSave | ( | ) | const |
Definition at line 1233 of file qohoswindowproxy.cpp.
Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().
| QHarmonyJsObjectRef QOhosWindowProxy::jsWindowObjectRef | ( | ) | const |
Definition at line 1445 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::minimize | ( | ) |
Definition at line 746 of file qohoswindowproxy.cpp.
Referenced by QOhosView::minimize().
| void QOhosWindowProxy::moveWindowToGlobal | ( | const QPoint & | position, |
| const MoveConfiguration & | moveConfiguration ) |
Definition at line 1958 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::moveWindowToGlobalOrGlobalDisplay | ( | const QPoint & | position, |
| std::optional< QOhosDisplayInfo::JsDisplayId > | optDisplayId ) |
Definition at line 417 of file qohoswindowproxy.cpp.
| std::shared_ptr< QXComponentNode > QOhosWindowProxy::nodeXComponent | ( | ) | const |
Definition at line 1430 of file qohoswindowproxy.cpp.
|
delete |
|
delete |
| std::string QOhosWindowProxy::qAbilityInstanceId | ( | ) | const |
Definition at line 1435 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::qtIsMainWindow | ( | ) | const |
Definition at line 662 of file qohoswindowproxy.cpp.
References MainWindow.
Referenced by enableDrag(), setFollowParentMultiScreenPolicy(), setSubWindowModalDisabled(), setSubWindowModalEnabled(), setWindowCornerRadius(), setWindowMask(), setWindowShadowRadius(), setWindowTitleButtonVisible(), setWindowTopmost(), and tryGetMainWindowJsDisplayId().
|
static |
Definition at line 1949 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1919 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::raiseToAppTop | ( | ) |
Definition at line 672 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::recover | ( | ) |
Definition at line 715 of file qohoswindowproxy.cpp.
Referenced by QOhosView::recover().
| void QOhosWindowProxy::removeStartingWindow | ( | ) |
Definition at line 394 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::resetSubWindowCloseHandler | ( | ) |
Definition at line 1370 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::restore | ( | ) |
Definition at line 731 of file qohoswindowproxy.cpp.
Definition at line 529 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setFollowParentMultiScreenPolicy | ( | bool | enabled | ) |
Definition at line 1264 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setNonClientAreaMouseWindowCallbackReceiver | ( | QObject * | contextObject, |
| QOhosConsumer< std::vector< NonClientAreaMouseEvent > > | mouseEventBatchConsumer ) |
Definition at line 618 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setNonClientAreaTouchWindowCallbackReceiver | ( | QObject * | contextObject, |
| QOhosConsumer< std::vector< NonClientAreaTouchEvent > > | touchEventBatchConsumer ) |
Definition at line 640 of file qohoswindowproxy.cpp.
Definition at line 572 of file qohoswindowproxy.cpp.
Definition at line 490 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setSubWindowCloseHandler | ( | std::function< void()> | handler, |
| bool | handlerReturnValue ) |
Definition at line 1363 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setSubWindowModalDisabled | ( | ) |
Definition at line 1063 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setSubWindowModalEnabled | ( | ModalityType | ModalityType | ) |
Definition at line 1081 of file qohoswindowproxy.cpp.
References QtOhosQpa::enums::ohos::window::APPLICATION_MODALITY, QOhosSettings::instance(), QOhosSettings::isWindowPcModeEnabled(), and qtIsMainWindow().
| void QOhosWindowProxy::setSupportedWindowModes | ( | const std::set< SupportWindowMode > & | supportedWindowModes | ) |
Definition at line 1300 of file qohoswindowproxy.cpp.
Definition at line 1107 of file qohoswindowproxy.cpp.
Definition at line 517 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowCallbackReceiver | ( | std::unique_ptr< WindowCallbacks > | receiver | ) |
Definition at line 597 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowCornerRadius | ( | double | radius | ) |
Definition at line 1219 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setWindowDecorVisible | ( | bool | visible | ) |
Definition at line 1176 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowFocusable | ( | bool | focusable | ) |
Definition at line 907 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowKeepScreenOn | ( | bool | keepScreenOn | ) |
Definition at line 1282 of file qohoswindowproxy.cpp.
References QtOhos::mapBoolToTrueFalseStr().
| void QOhosWindowProxy::setWindowLayoutFullScreen | ( | bool | isLayoutFullScreen | ) |
Definition at line 802 of file qohoswindowproxy.cpp.
Definition at line 939 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowMask | ( | const WindowMask & | windowMask, |
| const std::optional< QSize > & | ohosMaskSizeOverride = {} ) |
Definition at line 1004 of file qohoswindowproxy.cpp.
References getWindowProperties(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowPrivacyMode | ( | bool | privacyMode | ) |
Definition at line 890 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowRectAutoSave | ( | bool | enabed | ) |
Definition at line 1339 of file qohoswindowproxy.cpp.
Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().
| void QOhosWindowProxy::setWindowShadowRadius | ( | double | radius | ) |
Definition at line 1203 of file qohoswindowproxy.cpp.
References QOhosDeviceInfo::is2in1(), QOhosDeviceInfo::isTablet(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowSystemBarEnable | ( | const QStringList & | names | ) |
Definition at line 819 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowTitleButtonVisible | ( | bool | maximizeVisible, |
| bool | minimizeVisible, | ||
| bool | closeVisible ) |
Definition at line 1123 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setWindowTitleMoveEnabled | ( | bool | enabled | ) |
Definition at line 1187 of file qohoswindowproxy.cpp.
References QOhosSettings::instance(), and QOhosSettings::isWindowPcModeEnabled().
| void QOhosWindowProxy::setWindowTopmost | ( | bool | topmost | ) |
Definition at line 1150 of file qohoswindowproxy.cpp.
References QOhosSettings::instance(), QOhosSettings::isWindowPcModeEnabled(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowTouchable | ( | bool | touchable | ) |
Definition at line 923 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::shiftAppWindowFocus | ( | QOhosWindowProxy & | targetProxy | ) |
Definition at line 1998 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::showAbility | ( | ) |
Definition at line 837 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::showWindow | ( | const ShowWindowOptions & | options = ShowWindowOptions() | ) |
Definition at line 688 of file qohoswindowproxy.cpp.
| QPixmap QOhosWindowProxy::snapshot | ( | ) | const |
Definition at line 1794 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::startMoving | ( | ) |
Definition at line 1867 of file qohoswindowproxy.cpp.
| std::optional< QOhosDisplayInfo::JsDisplayId > QOhosWindowProxy::tryGetMainWindowJsDisplayId | ( | ) | const |
Definition at line 1983 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
Referenced by QT_BEGIN_NAMESPACE::tryGetSubWindowJsDisplayId().
| bool QOhosWindowProxy::tryHideAbility | ( | ) |
Definition at line 854 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::tryMaximize | ( | MaximizePresentation | maximizePresentation | ) |
Definition at line 761 of file qohoswindowproxy.cpp.
References MainWindow, and SubWindow.
Referenced by QOhosView::maximize(), and QOhosView::setFullScreen().