![]() |
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 36 of file qohoswindowproxy.h.
Definition at line 43 of file qohoswindowproxy.h.
Definition at line 134 of file qohoswindowproxy.h.
Definition at line 136 of file qohoswindowproxy.h.
Definition at line 133 of file qohoswindowproxy.h.
Definition at line 47 of file qohoswindowproxy.h.
Definition at line 49 of file qohoswindowproxy.h.
Definition at line 45 of file qohoswindowproxy.h.
Definition at line 135 of file qohoswindowproxy.h.
| using QOhosWindowProxy::SupportWindowMode = QtOhosQpa::enums::ohos::bundle::bundleManager::SupportWindowMode |
Definition at line 119 of file qohoswindowproxy.h.
Definition at line 39 of file qohoswindowproxy.h.
Definition at line 41 of file qohoswindowproxy.h.
|
delete |
|
delete |
| QOhosWindowProxy::~QOhosWindowProxy | ( | ) |
Definition at line 364 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1361 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1351 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1371 of file qohoswindowproxy.cpp.
| std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createSubWindow | ( | const SubWindowCreateInfo & | createInfo | ) |
Definition at line 1391 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::enableDrag | ( | bool | enable | ) |
Definition at line 1818 of file qohoswindowproxy.cpp.
References QtOhos::mapBoolToTrueFalseStr(), and qtIsMainWindow().
Definition at line 1755 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::getImmersiveModeEnabledState | ( | ) |
Definition at line 839 of file qohoswindowproxy.cpp.
| QOhosWindowProxy::AvoidArea QOhosWindowProxy::getWindowAvoidArea | ( | AvoidAreaType | type | ) | const |
Definition at line 950 of file qohoswindowproxy.cpp.
| QOhosWindowProxy::WindowLimits QOhosWindowProxy::getWindowLimits | ( | ) | const |
Definition at line 932 of file qohoswindowproxy.cpp.
| QArkUi::WindowProperties QOhosWindowProxy::getWindowProperties | ( | ) | const |
Definition at line 568 of file qohoswindowproxy.cpp.
Referenced by QWindowProxyRegistry::registerQWindowWithWindowProxy(), and setWindowMask().
| std::optional< bool > QOhosWindowProxy::isFocused | ( | ) | const |
Definition at line 1840 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::isWindowRectAutoSave | ( | ) | const |
Definition at line 1193 of file qohoswindowproxy.cpp.
Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().
| void QOhosWindowProxy::maximize | ( | MaximizePresentation | maximizePresentation | ) |
Definition at line 738 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
Referenced by QOhosView::maximize(), and QOhosView::setFullScreen().
| void QOhosWindowProxy::minimize | ( | ) |
Definition at line 723 of file qohoswindowproxy.cpp.
Referenced by QOhosView::minimize().
| void QOhosWindowProxy::moveWindowToGlobal | ( | const QPoint & | position, |
| const MoveConfiguration & | moveConfiguration ) |
Definition at line 1891 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::moveWindowToGlobalOrGlobalDisplay | ( | const QPoint & | position, |
| std::optional< QOhosDisplayInfo::JsDisplayId > | optDisplayId ) |
Definition at line 399 of file qohoswindowproxy.cpp.
| std::shared_ptr< QXComponentNode > QOhosWindowProxy::nodeXComponent | ( | ) | const |
Definition at line 1380 of file qohoswindowproxy.cpp.
|
delete |
|
delete |
| std::string QOhosWindowProxy::qAbilityInstanceId | ( | ) | const |
Definition at line 1385 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::qtIsMainWindow | ( | ) | const |
Definition at line 644 of file qohoswindowproxy.cpp.
References MainWindow.
Referenced by enableDrag(), maximize(), setFollowParentMultiScreenPolicy(), setSubWindowModalDisabled(), setSubWindowModalEnabled(), setWindowCornerRadius(), setWindowMask(), setWindowShadowRadius(), setWindowTitleButtonVisible(), and setWindowTopmost().
|
static |
Definition at line 1882 of file qohoswindowproxy.cpp.
|
static |
Definition at line 1852 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::raiseToAppTop | ( | ) |
Definition at line 649 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::recover | ( | ) |
Definition at line 692 of file qohoswindowproxy.cpp.
Referenced by QOhosView::recover().
| void QOhosWindowProxy::removeStartingWindow | ( | ) |
Definition at line 376 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::resetSubWindowCloseHandler | ( | ) |
Definition at line 1320 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::restore | ( | ) |
Definition at line 708 of file qohoswindowproxy.cpp.
Definition at line 511 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setFollowParentMultiScreenPolicy | ( | bool | enabled | ) |
Definition at line 1224 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setNonClientAreaMouseWindowCallbackReceiver | ( | QObject * | contextObject, |
| QOhosConsumer< std::vector< NonClientAreaMouseEvent > > | mouseEventBatchConsumer ) |
Definition at line 600 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setNonClientAreaTouchWindowCallbackReceiver | ( | QObject * | contextObject, |
| QOhosConsumer< std::vector< NonClientAreaTouchEvent > > | touchEventBatchConsumer ) |
Definition at line 622 of file qohoswindowproxy.cpp.
Definition at line 554 of file qohoswindowproxy.cpp.
Definition at line 472 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setSubWindowCloseHandler | ( | std::function< void()> | handler, |
| bool | handlerReturnValue ) |
Definition at line 1313 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setSubWindowModalDisabled | ( | ) |
Definition at line 1023 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setSubWindowModalEnabled | ( | ModalityType | ModalityType | ) |
Definition at line 1041 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 1260 of file qohoswindowproxy.cpp.
Definition at line 1067 of file qohoswindowproxy.cpp.
Definition at line 499 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowCallbackReceiver | ( | std::unique_ptr< WindowCallbacks > | receiver | ) |
Definition at line 579 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowCornerRadius | ( | double | radius | ) |
Definition at line 1179 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setWindowDecorVisible | ( | bool | visible | ) |
Definition at line 1136 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowFocusable | ( | bool | focusable | ) |
Definition at line 867 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowKeepScreenOn | ( | bool | keepScreenOn | ) |
Definition at line 1242 of file qohoswindowproxy.cpp.
References QtOhos::mapBoolToTrueFalseStr().
| void QOhosWindowProxy::setWindowLayoutFullScreen | ( | bool | isLayoutFullScreen | ) |
Definition at line 762 of file qohoswindowproxy.cpp.
Definition at line 899 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowMask | ( | const WindowMask & | windowMask, |
| const std::optional< QSize > & | ohosMaskSizeOverride = {} ) |
Definition at line 964 of file qohoswindowproxy.cpp.
References getWindowProperties(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowPrivacyMode | ( | bool | privacyMode | ) |
Definition at line 850 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowRectAutoSave | ( | bool | enabed | ) |
Definition at line 1289 of file qohoswindowproxy.cpp.
Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().
| void QOhosWindowProxy::setWindowShadowRadius | ( | double | radius | ) |
Definition at line 1163 of file qohoswindowproxy.cpp.
References QOhosDeviceInfo::is2in1(), QOhosDeviceInfo::isTablet(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowSystemBarEnable | ( | const QStringList & | names | ) |
Definition at line 779 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::setWindowTitleButtonVisible | ( | bool | maximizeVisible, |
| bool | minimizeVisible, | ||
| bool | closeVisible ) |
Definition at line 1083 of file qohoswindowproxy.cpp.
References qtIsMainWindow().
| void QOhosWindowProxy::setWindowTitleMoveEnabled | ( | bool | enabled | ) |
Definition at line 1147 of file qohoswindowproxy.cpp.
References QOhosSettings::instance(), and QOhosSettings::isWindowPcModeEnabled().
| void QOhosWindowProxy::setWindowTopmost | ( | bool | topmost | ) |
Definition at line 1110 of file qohoswindowproxy.cpp.
References QOhosSettings::instance(), QOhosSettings::isWindowPcModeEnabled(), and qtIsMainWindow().
| void QOhosWindowProxy::setWindowTouchable | ( | bool | touchable | ) |
Definition at line 883 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::shiftAppWindowFocus | ( | QOhosWindowProxy & | targetProxy | ) |
Definition at line 1931 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::showAbility | ( | ) |
Definition at line 797 of file qohoswindowproxy.cpp.
| void QOhosWindowProxy::showWindow | ( | const ShowWindowOptions & | options = ShowWindowOptions() | ) |
Definition at line 665 of file qohoswindowproxy.cpp.
| QPixmap QOhosWindowProxy::snapshot | ( | ) | const |
Definition at line 1727 of file qohoswindowproxy.cpp.
| bool QOhosWindowProxy::startMoving | ( | ) |
Definition at line 1800 of file qohoswindowproxy.cpp.
| std::optional< QOhosDisplayInfo::JsDisplayId > QOhosWindowProxy::tryGetMainWindowJsDisplayId | ( | ) | const |
Definition at line 1916 of file qohoswindowproxy.cpp.
Referenced by QT_BEGIN_NAMESPACE::tryGetSubWindowJsDisplayId().
| bool QOhosWindowProxy::tryHideAbility | ( | ) |
Definition at line 814 of file qohoswindowproxy.cpp.