4#ifndef QOHOSDISPLAYINFO_H
5#define QOHOSDISPLAYINFO_H
7#include <QtCore/QSizeF>
8#include <QtCore/private/qnapi_p.h>
9#include <QtCore/private/qohoscommon_p.h>
10#include <QtCore/qstring.h>
11#include <qohosenums.h>
12#include <qohosplugincore.h>
13#include <qohosutils.h>
14#include <qpa/qplatformscreen.h>
49Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(QOhosDisplayInfo::JsDisplayId));
JsWindowRef(JsWindowRef &&)=delete
JsWindowRef(const JsWindowRef &)=delete
JsWindowRef & operator=(JsWindowRef &&)=delete
JsWindowRef(JsWindowId windowId, QNapi::Object jsWindow)
Result eval(const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
bool isWindowShown() const
JsWindowRef & operator=(const JsWindowRef &)=delete
QNapi::Promise evalToPromiseOrRejectOnThrow(const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
QOhosOptional< WindowProperties > tryGetWindowProperties(JsWindowId jsWindowId)
Combined button and popup list for selecting options.
QT_END_NAMESPACE Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(QtOhos::enums::kit::ShareKit::systemShare::SelectionMode))
std::nullopt_t makeEmptyQOhosOptional()
QOhosOptional< QOhosDisplayInfo::JsDisplayId > displayId
bool isDisplayMainOrExtended() const
QSizeF physicalSize() const
QtOhos::enums::ohos::display::Orientation JsDisplayOrientation
QOhosOptional< QPoint > topLeftOffsetPixels
QRect displayGeometryPixels() const
static QOhosOptional< QNapi::Object > tryGetDisplayById(QtOhos::JsState &jsState, QOhosDisplayInfo::JsDisplayId displayId)
static QOhosDisplayInfo makeFromOhosDisplayObject(QtOhos::JsState &jsState, QNapi::Object displayObject)
QOhosOptional< JsDisplayOrientation > orientation
QtOhos::enums::ohos::display::DisplaySourceMode DisplaySourceMode
QOhosOptional< DisplaySourceMode > sourceMode
bool shouldIgnoreDisplay() const