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
qohoswindowhints_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOHOSWINDOWHINTS_P_H
5#define QOHOSWINDOWHINTS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/qtguiglobal.h>
19
20QT_BEGIN_NAMESPACE
21
23
24// Stable dynamic-property keys set on a QWindow or QWidget and read by the platform plugin.
25inline constexpr char privacyModeKey[] = "_q_platform_ohos_privacyMode";
26inline constexpr char cornerRadiusKey[] = "_q_platform_ohos_cornerRadius";
27inline constexpr char floatWindowKey[] = "_q_platform_ohos_floatWindow";
28inline constexpr char surfaceBackgroundColorKey[] = "_q_platform_ohos_surfaceBackgroundColor";
29inline constexpr char renderFitKey[] = "_q_platform_ohos_renderFit"; // int holding an ::ArkUI_RenderFit value
30inline constexpr char keepScreenOnKey[] = "_q_platform_ohos_keepScreenOn";
31inline constexpr char dragResizableKey[] = "_q_platform_ohos_dragResizable";
32inline constexpr char brightnessKey[] = "_q_platform_ohos_brightness";
33inline constexpr char contrastKey[] = "_q_platform_ohos_contrast";
34inline constexpr char saturationKey[] = "_q_platform_ohos_saturation";
35
36}
37
38QT_END_NAMESPACE
39
40#endif // QOHOSWINDOWHINTS_P_H
constexpr char dragResizableKey[]
constexpr char brightnessKey[]
constexpr char cornerRadiusKey[]
constexpr char surfaceBackgroundColorKey[]
constexpr char keepScreenOnKey[]
constexpr char floatWindowKey[]
constexpr char contrastKey[]
constexpr char saturationKey[]
constexpr char renderFitKey[]
constexpr char privacyModeKey[]