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
QOhosWindowProxy Class Referencefinal

#include <qohoswindowproxy.h>

Collaboration diagram for QOhosWindowProxy:

Classes

struct  WindowEvent
struct  WindowStatus
struct  WindowLimits
struct  AvoidArea
struct  RectChangeOptions
struct  WindowMask
struct  MoveConfiguration
struct  NonClientAreaMouseEvent
struct  NonClientAreaTouchEvent
struct  ShowWindowOptions
struct  WindowCallbacks

Public Types

using WindowEventType = QtOhosQpa::enums::ohos::window::WindowEventType
using WindowStatusType = QtOhosQpa::enums::ohos::window::WindowStatusType
using AvoidAreaType = QtOhosQpa::enums::ohos::window::AvoidAreaType
using RectChangeReason = QtOhosQpa::enums::ohos::window::RectChangeReason
using MaximizePresentation = QtOhosQpa::enums::ohos::window::MaximizePresentation
using ModalityType = QtOhosQpa::enums::ohos::window::ModalityType
using JsCallBatch = QtOhos::JsCallBatch
using SupportWindowMode = QtOhosQpa::enums::ohos::bundle::bundleManager::SupportWindowMode
using MainWindowCreateInfo = QOhosWindowProxyMainWindowCreateInfo
using ExistingMainWindowCreateInfo = QOhosWindowProxyExistingMainWindowCreateInfo
using SubWindowCreateInfo = QOhosWindowProxySubWindowCreateInfo
using FloatWindowCreateInfo = QOhosWindowProxyFloatWindowCreateInfo

Public Member Functions

 QOhosWindowProxy (const QOhosWindowProxy &)=delete
 QOhosWindowProxy (QOhosWindowProxy &&)=delete
QOhosWindowProxy & operator= (const QOhosWindowProxy &)=delete
QOhosWindowProxy & operator= (QOhosWindowProxy &&)=delete
 ~QOhosWindowProxy ()
void moveWindowToGlobalOrGlobalDisplay (const QPoint &position, std::optional< QOhosDisplayInfo::JsDisplayId > optDisplayId, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setSize (const QSize &sizesize, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void moveWindowToGlobal (const QPoint &position, const MoveConfiguration &moveConfiguration, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowBackgroundColor (const QColor &colorcolor, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setCustomCursor (const QImage &customCursorImage, const QPoint &hotSpot, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setPointerStyleSync (const QCursor &cursor, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowPrivacyMode (bool privacyMode, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowFocusable (bool focusable, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowTouchable (bool touchable, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowLimits (const QSize &minSize, const QSize &maxSize, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowMask (const WindowMask &windowMask, const std::optional< QSize > &ohosMaskSizeOverride={}, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setSubWindowModalDisabled (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setSubWindowModalEnabled (ModalityTypeModalityType ModalityTypeModalityType, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setTitle (const QString &title, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowTitleButtonVisible (bool maximizeVisible, bool minimizeVisible, bool closeVisible, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowTopmost (bool topmost, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowDecorVisible (bool visible, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowTitleMoveEnabled (bool enabledenabled, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowShadowRadius (double radius, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowCornerRadius (double radius, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowRectAutoSave (bool enabed, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
bool isWindowRectAutoSave () const
void setFollowParentMultiScreenPolicy (bool enabledenabled, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowKeepScreenOn (bool keepScreenOn, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setSupportedWindowModes (const std::set< SupportWindowMode > &supportedWindowModes, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setSubWindowCloseHandler (std::function< void()> handler, bool handlerReturnValue)
void resetSubWindowCloseHandler ()
void raiseToAppTop (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void showWindow (const ShowWindowOptions &options=ShowWindowOptions(), JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void recover (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void restore (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
bool tryMaximize (MaximizePresentation maximizePresentation)
void minimize (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowLayoutFullScreen (bool isLayoutFullScreen, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setWindowSystemBarEnable (const QStringList &namesnames, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
QList< QRect > getDisplayCutoutRects () const
void showAbility (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
bool tryHideAbility ()
void removeStartingWindow (JsCallBatch &jsCallBatch=JsCallBatch::immediate())
bool getImmersiveModeEnabledState ()
QPixmap snapshot () const
bool startMoving ()
void enableDrag (bool enableenable, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
std::optional< bool > isFocused () const
QArkUi::WindowProperties getWindowProperties () const
void setWindowCallbackReceiver (std::unique_ptr< WindowCallbacks > receiver, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setNonClientAreaMouseWindowCallbackReceiver (QObject *contextObject, QOhosConsumer< std::vector< NonClientAreaMouseEvent > > mouseEventBatchConsumer, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
void setNonClientAreaTouchWindowCallbackReceiver (QObject *contextObject, QOhosConsumer< std::vector< NonClientAreaTouchEvent > > touchEventBatchConsumer, JsCallBatch &jsCallBatch=JsCallBatch::immediate())
std::shared_ptr< QOhosWindowProxy > createSubWindow (const SubWindowCreateInfo &createInfo)
bool qtIsMainWindow () const
bool isSubWindowMaximizeSupported () const
WindowLimits getWindowLimits () const
AvoidArea getWindowAvoidArea (AvoidAreaType typetype) const
std::shared_ptr< QXComponentNode > nodeXComponent () const
std::string qAbilityInstanceId () const
QHarmonyJsObjectRef abilityObjectRef () const
QHarmonyJsObjectRef jsWindowObjectRef () const
std::optional< QOhosDisplayInfo::JsDisplayId > tryGetMainWindowJsDisplayId () const
bool tryShiftAppWindowFocus (QOhosWindowProxy &targetProxy)

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)

Detailed Description

Definition at line 37 of file qohoswindowproxy.h.

Member Typedef Documentation

◆ AvoidAreaType

◆ ExistingMainWindowCreateInfo

◆ FloatWindowCreateInfo

◆ JsCallBatch

◆ MainWindowCreateInfo

◆ MaximizePresentation

◆ ModalityType

◆ RectChangeReason

◆ SubWindowCreateInfo

◆ SupportWindowMode

◆ WindowEventType

◆ WindowStatusType

Constructor & Destructor Documentation

◆ QOhosWindowProxy() [1/2]

QOhosWindowProxy::QOhosWindowProxy ( const QOhosWindowProxy & )
delete

◆ QOhosWindowProxy() [2/2]

QOhosWindowProxy::QOhosWindowProxy ( QOhosWindowProxy && )
delete

◆ ~QOhosWindowProxy()

QOhosWindowProxy::~QOhosWindowProxy ( )

Definition at line 383 of file qohoswindowproxy.cpp.

Member Function Documentation

◆ abilityObjectRef()

QHarmonyJsObjectRef QOhosWindowProxy::abilityObjectRef ( ) const

Definition at line 1487 of file qohoswindowproxy.cpp.

◆ createFloatWindow()

std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createFloatWindow ( const FloatWindowCreateInfo & createInfo)
static

Definition at line 1458 of file qohoswindowproxy.cpp.

◆ createForExistingMainWindow()

std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createForExistingMainWindow ( const ExistingMainWindowCreateInfo & createInfo)
static

Definition at line 1448 of file qohoswindowproxy.cpp.

◆ createMainWindow()

std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createMainWindow ( const MainWindowCreateInfo & createInfo)
static

Definition at line 1468 of file qohoswindowproxy.cpp.

◆ createSubWindow()

std::shared_ptr< QOhosWindowProxy > QOhosWindowProxy::createSubWindow ( const SubWindowCreateInfo & createInfo)

Definition at line 1498 of file qohoswindowproxy.cpp.

◆ enableDrag()

void QOhosWindowProxy::enableDrag ( bool enable,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1932 of file qohoswindowproxy.cpp.

References QtOhos::mapBoolToTrueFalseStr(), and qtIsMainWindow().

Here is the call graph for this function:

◆ getDisplayCutoutRects()

QList< QRect > QOhosWindowProxy::getDisplayCutoutRects ( ) const

Definition at line 1869 of file qohoswindowproxy.cpp.

◆ getImmersiveModeEnabledState()

bool QOhosWindowProxy::getImmersiveModeEnabledState ( )

Definition at line 915 of file qohoswindowproxy.cpp.

◆ getWindowAvoidArea()

QOhosWindowProxy::AvoidArea QOhosWindowProxy::getWindowAvoidArea ( AvoidAreaType type) const

Definition at line 1029 of file qohoswindowproxy.cpp.

◆ getWindowLimits()

QOhosWindowProxy::WindowLimits QOhosWindowProxy::getWindowLimits ( ) const

Definition at line 1011 of file qohoswindowproxy.cpp.

◆ getWindowProperties()

QArkUi::WindowProperties QOhosWindowProxy::getWindowProperties ( ) const

Definition at line 609 of file qohoswindowproxy.cpp.

Referenced by moveWindowToGlobalOrGlobalDisplay(), and QWindowProxyRegistry::registerQWindowWithWindowProxy().

Here is the caller graph for this function:

◆ isFocused()

std::optional< bool > QOhosWindowProxy::isFocused ( ) const

Definition at line 1954 of file qohoswindowproxy.cpp.

◆ isSubWindowMaximizeSupported()

bool QOhosWindowProxy::isSubWindowMaximizeSupported ( ) const

Definition at line 697 of file qohoswindowproxy.cpp.

◆ isWindowRectAutoSave()

bool QOhosWindowProxy::isWindowRectAutoSave ( ) const

Definition at line 1280 of file qohoswindowproxy.cpp.

Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().

Here is the caller graph for this function:

◆ jsWindowObjectRef()

QHarmonyJsObjectRef QOhosWindowProxy::jsWindowObjectRef ( ) const

Definition at line 1492 of file qohoswindowproxy.cpp.

◆ minimize()

void QOhosWindowProxy::minimize ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 780 of file qohoswindowproxy.cpp.

◆ moveWindowToGlobal()

void QOhosWindowProxy::moveWindowToGlobal ( const QPoint & position,
const MoveConfiguration & moveConfiguration,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 2005 of file qohoswindowproxy.cpp.

◆ moveWindowToGlobalOrGlobalDisplay()

void QOhosWindowProxy::moveWindowToGlobalOrGlobalDisplay ( const QPoint & position,
std::optional< QOhosDisplayInfo::JsDisplayId > optDisplayId,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 418 of file qohoswindowproxy.cpp.

References getWindowProperties(), and QOhosDisplayInfo::isDisplayMainOrExtended().

Here is the call graph for this function:

◆ nodeXComponent()

std::shared_ptr< QXComponentNode > QOhosWindowProxy::nodeXComponent ( ) const

Definition at line 1477 of file qohoswindowproxy.cpp.

◆ operator=() [1/2]

QOhosWindowProxy & QOhosWindowProxy::operator= ( const QOhosWindowProxy & )
delete

◆ operator=() [2/2]

QOhosWindowProxy & QOhosWindowProxy::operator= ( QOhosWindowProxy && )
delete

◆ qAbilityInstanceId()

std::string QOhosWindowProxy::qAbilityInstanceId ( ) const

Definition at line 1482 of file qohoswindowproxy.cpp.

◆ qtIsMainWindow()

bool QOhosWindowProxy::qtIsMainWindow ( ) const

Definition at line 692 of file qohoswindowproxy.cpp.

References MainWindow.

Referenced by enableDrag(), setFollowParentMultiScreenPolicy(), setSubWindowModalDisabled(), setSubWindowModalEnabled(), setWindowCornerRadius(), setWindowMask(), setWindowShadowRadius(), setWindowTitleButtonVisible(), setWindowTopmost(), and tryGetMainWindowJsDisplayId().

Here is the caller graph for this function:

◆ queryQtManagedWindowIdsByPredicate()

std::vector< QArkUi::JsWindowId > QOhosWindowProxy::queryQtManagedWindowIdsByPredicate ( const std::function< bool(QOhosJsState &jsState, const QArkUi::JsWindowRef &)> & predicate)
static

Definition at line 1996 of file qohoswindowproxy.cpp.

◆ queryWindowIdsByCoordinate()

std::vector< QArkUi::JsWindowId > QOhosWindowProxy::queryWindowIdsByCoordinate ( QOhosDisplayInfo::JsDisplayId displayId,
const QPoint & queryLocation,
std::uint32_t queryLimit = 0 )
static

Definition at line 1966 of file qohoswindowproxy.cpp.

◆ raiseToAppTop()

void QOhosWindowProxy::raiseToAppTop ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 702 of file qohoswindowproxy.cpp.

◆ recover()

void QOhosWindowProxy::recover ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 747 of file qohoswindowproxy.cpp.

◆ removeStartingWindow()

void QOhosWindowProxy::removeStartingWindow ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 395 of file qohoswindowproxy.cpp.

References QtOhos::QUiAbilityPeer::tryCastFromQAbilityPeerOrNull().

Here is the call graph for this function:

◆ resetSubWindowCloseHandler()

void QOhosWindowProxy::resetSubWindowCloseHandler ( )

Definition at line 1417 of file qohoswindowproxy.cpp.

◆ restore()

void QOhosWindowProxy::restore ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 764 of file qohoswindowproxy.cpp.

◆ setCustomCursor()

void QOhosWindowProxy::setCustomCursor ( const QImage & customCursorImage,
const QPoint & hotSpot,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 549 of file qohoswindowproxy.cpp.

◆ setFollowParentMultiScreenPolicy()

void QOhosWindowProxy::setFollowParentMultiScreenPolicy ( bool enabled,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1311 of file qohoswindowproxy.cpp.

References qtIsMainWindow().

Here is the call graph for this function:

◆ setNonClientAreaMouseWindowCallbackReceiver()

void QOhosWindowProxy::setNonClientAreaMouseWindowCallbackReceiver ( QObject * contextObject,
QOhosConsumer< std::vector< NonClientAreaMouseEvent > > mouseEventBatchConsumer,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 644 of file qohoswindowproxy.cpp.

◆ setNonClientAreaTouchWindowCallbackReceiver()

void QOhosWindowProxy::setNonClientAreaTouchWindowCallbackReceiver ( QObject * contextObject,
QOhosConsumer< std::vector< NonClientAreaTouchEvent > > touchEventBatchConsumer,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 668 of file qohoswindowproxy.cpp.

◆ setPointerStyleSync()

void QOhosWindowProxy::setPointerStyleSync ( const QCursor & cursor,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 593 of file qohoswindowproxy.cpp.

◆ setSize()

void QOhosWindowProxy::setSize ( const QSize & size,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 502 of file qohoswindowproxy.cpp.

◆ setSubWindowCloseHandler()

void QOhosWindowProxy::setSubWindowCloseHandler ( std::function< void()> handler,
bool handlerReturnValue )

Definition at line 1410 of file qohoswindowproxy.cpp.

◆ setSubWindowModalDisabled()

void QOhosWindowProxy::setSubWindowModalDisabled ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 1101 of file qohoswindowproxy.cpp.

References qtIsMainWindow().

Here is the call graph for this function:

◆ setSubWindowModalEnabled()

void QOhosWindowProxy::setSubWindowModalEnabled ( ModalityType ModalityType,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1119 of file qohoswindowproxy.cpp.

References QtOhosQpa::enums::ohos::window::APPLICATION_MODALITY, QOhosSettings::instance(), QOhosSettings::isWindowPcModeEnabled(), and qtIsMainWindow().

Here is the call graph for this function:

◆ setSupportedWindowModes()

void QOhosWindowProxy::setSupportedWindowModes ( const std::set< SupportWindowMode > & supportedWindowModes,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1347 of file qohoswindowproxy.cpp.

References MainWindow.

◆ setTitle()

void QOhosWindowProxy::setTitle ( const QString & title,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1145 of file qohoswindowproxy.cpp.

◆ setWindowBackgroundColor()

void QOhosWindowProxy::setWindowBackgroundColor ( const QColor & color,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 536 of file qohoswindowproxy.cpp.

◆ setWindowCallbackReceiver()

void QOhosWindowProxy::setWindowCallbackReceiver ( std::unique_ptr< WindowCallbacks > receiver,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 620 of file qohoswindowproxy.cpp.

◆ setWindowCornerRadius()

void QOhosWindowProxy::setWindowCornerRadius ( double radius,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1266 of file qohoswindowproxy.cpp.

References qtIsMainWindow().

Here is the call graph for this function:

◆ setWindowDecorVisible()

void QOhosWindowProxy::setWindowDecorVisible ( bool visible,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1220 of file qohoswindowproxy.cpp.

◆ setWindowFocusable()

void QOhosWindowProxy::setWindowFocusable ( bool focusable,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 944 of file qohoswindowproxy.cpp.

◆ setWindowKeepScreenOn()

void QOhosWindowProxy::setWindowKeepScreenOn ( bool keepScreenOn,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1329 of file qohoswindowproxy.cpp.

References QtOhos::mapBoolToTrueFalseStr().

Here is the call graph for this function:

◆ setWindowLayoutFullScreen()

void QOhosWindowProxy::setWindowLayoutFullScreen ( bool isLayoutFullScreen,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 837 of file qohoswindowproxy.cpp.

◆ setWindowLimits()

void QOhosWindowProxy::setWindowLimits ( const QSize & minSize,
const QSize & maxSize,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 978 of file qohoswindowproxy.cpp.

References QOhosDeviceInfo::is2in1().

Here is the call graph for this function:

◆ setWindowMask()

void QOhosWindowProxy::setWindowMask ( const WindowMask & windowMask,
const std::optional< QSize > & ohosMaskSizeOverride = {},
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1043 of file qohoswindowproxy.cpp.

References qtIsMainWindow().

Here is the call graph for this function:

◆ setWindowPrivacyMode()

void QOhosWindowProxy::setWindowPrivacyMode ( bool privacyMode,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 926 of file qohoswindowproxy.cpp.

◆ setWindowRectAutoSave()

void QOhosWindowProxy::setWindowRectAutoSave ( bool enabed,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1387 of file qohoswindowproxy.cpp.

References QtOhos::QUiAbilityPeer::tryCastFromQAbilityPeerOrNull().

Referenced by QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWindowShadowRadius()

void QOhosWindowProxy::setWindowShadowRadius ( double radius,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1249 of file qohoswindowproxy.cpp.

References QOhosDeviceInfo::is2in1(), QOhosDeviceInfo::isTablet(), and qtIsMainWindow().

Here is the call graph for this function:

◆ setWindowSystemBarEnable()

void QOhosWindowProxy::setWindowSystemBarEnable ( const QStringList & names,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 854 of file qohoswindowproxy.cpp.

◆ setWindowTitleButtonVisible()

void QOhosWindowProxy::setWindowTitleButtonVisible ( bool maximizeVisible,
bool minimizeVisible,
bool closeVisible,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1161 of file qohoswindowproxy.cpp.

References QtOhos::isEmulatorQuirkWorkaroundsEnabled(), qtIsMainWindow(), and QtOhos::runIgnoringJsBusinessError().

Here is the call graph for this function:

◆ setWindowTitleMoveEnabled()

void QOhosWindowProxy::setWindowTitleMoveEnabled ( bool enabled,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1232 of file qohoswindowproxy.cpp.

References QOhosSettings::instance(), and QOhosSettings::isWindowPcModeEnabled().

Here is the call graph for this function:

◆ setWindowTopmost()

void QOhosWindowProxy::setWindowTopmost ( bool topmost,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 1194 of file qohoswindowproxy.cpp.

References QOhosSettings::instance(), QOhosSettings::isWindowPcModeEnabled(), and qtIsMainWindow().

Here is the call graph for this function:

◆ setWindowTouchable()

void QOhosWindowProxy::setWindowTouchable ( bool touchable,
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 961 of file qohoswindowproxy.cpp.

◆ showAbility()

void QOhosWindowProxy::showAbility ( JsCallBatch & jsCallBatch = JsCallBatch::immediate())

Definition at line 872 of file qohoswindowproxy.cpp.

◆ showWindow()

void QOhosWindowProxy::showWindow ( const ShowWindowOptions & options = ShowWindowOptions(),
JsCallBatch & jsCallBatch = JsCallBatch::immediate() )

Definition at line 719 of file qohoswindowproxy.cpp.

◆ snapshot()

QPixmap QOhosWindowProxy::snapshot ( ) const

Definition at line 1841 of file qohoswindowproxy.cpp.

◆ startMoving()

bool QOhosWindowProxy::startMoving ( )

Definition at line 1914 of file qohoswindowproxy.cpp.

◆ tryGetMainWindowJsDisplayId()

std::optional< QOhosDisplayInfo::JsDisplayId > QOhosWindowProxy::tryGetMainWindowJsDisplayId ( ) const

Definition at line 2030 of file qohoswindowproxy.cpp.

References qtIsMainWindow().

Referenced by QT_BEGIN_NAMESPACE::tryGetSubWindowJsDisplayId().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryHideAbility()

bool QOhosWindowProxy::tryHideAbility ( )

Definition at line 890 of file qohoswindowproxy.cpp.

◆ tryMaximize()

bool QOhosWindowProxy::tryMaximize ( MaximizePresentation maximizePresentation)

Definition at line 796 of file qohoswindowproxy.cpp.

References MainWindow, and SubWindow.

◆ tryShiftAppWindowFocus()

bool QOhosWindowProxy::tryShiftAppWindowFocus ( QOhosWindowProxy & targetProxy)

Definition at line 2045 of file qohoswindowproxy.cpp.


The documentation for this class was generated from the following files: