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
QArkUi::JsWindowRef Class Reference

#include <window.h>

Collaboration diagram for QArkUi::JsWindowRef:

Public Member Functions

 JsWindowRef (JsWindowId windowId, QNapi::Object jsWindow)
 JsWindowRef (const JsWindowRef &)=delete
JsWindowRefoperator= (const JsWindowRef &)=delete
 JsWindowRef (JsWindowRef &&)=delete
JsWindowRefoperator= (JsWindowRef &&)=delete
bool isFocused () const
bool isWindowShown () const
JsWindowId id () const
template<typename Result = QNapi::Value>
Result eval (const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
QNapi::Promise evalToPromiseOrRejectOnThrow (const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
QNapi::Object jsObject ()

Detailed Description

Definition at line 33 of file window.h.

Constructor & Destructor Documentation

◆ JsWindowRef() [1/3]

QArkUi::JsWindowRef::JsWindowRef ( JsWindowId windowId,
QNapi::Object jsWindow )
explicit

Definition at line 46 of file window.cpp.

References JsWindowRef().

Referenced by JsWindowRef().

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

◆ JsWindowRef() [2/3]

QArkUi::JsWindowRef::JsWindowRef ( const JsWindowRef & )
delete

◆ JsWindowRef() [3/3]

QArkUi::JsWindowRef::JsWindowRef ( JsWindowRef && )
delete

Member Function Documentation

◆ eval()

template<typename Result>
Result QArkUi::JsWindowRef::eval ( const std::string & expr,
const std::vector< QNapi::ValueWrapper > & exprArgs = {} ) const

Definition at line 62 of file window.h.

◆ evalToPromiseOrRejectOnThrow()

QNapi::Promise QArkUi::JsWindowRef::evalToPromiseOrRejectOnThrow ( const std::string & expr,
const std::vector< QNapi::ValueWrapper > & exprArgs = {} ) const
inline

Definition at line 67 of file window.h.

◆ id()

JsWindowId QArkUi::JsWindowRef::id ( ) const

Definition at line 72 of file window.cpp.

◆ isFocused()

bool QArkUi::JsWindowRef::isFocused ( ) const

Definition at line 65 of file window.cpp.

◆ isWindowShown()

bool QArkUi::JsWindowRef::isWindowShown ( ) const

Definition at line 52 of file window.cpp.

◆ jsObject()

QNapi::Object QArkUi::JsWindowRef::jsObject ( )

Definition at line 77 of file window.cpp.

◆ operator=() [1/2]

JsWindowRef & QArkUi::JsWindowRef::operator= ( const JsWindowRef & )
delete

◆ operator=() [2/2]

JsWindowRef & QArkUi::JsWindowRef::operator= ( JsWindowRef && )
delete

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