Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
20
QT_BEGIN_NAMESPACE
21
22
namespace
QOhosWindowHints
{
23
24
// Stable dynamic-property keys set on a QWindow or QWidget and read by the platform plugin.
25
inline
constexpr
char
privacyModeKey
[] =
"_q_platform_ohos_privacyMode"
;
26
inline
constexpr
char
cornerRadiusKey
[] =
"_q_platform_ohos_cornerRadius"
;
27
inline
constexpr
char
floatWindowKey
[] =
"_q_platform_ohos_floatWindow"
;
28
inline
constexpr
char
surfaceBackgroundColorKey
[] =
"_q_platform_ohos_surfaceBackgroundColor"
;
29
inline
constexpr
char
renderFitKey
[] =
"_q_platform_ohos_renderFit"
;
// int holding an ::ArkUI_RenderFit value
30
inline
constexpr
char
keepScreenOnKey
[] =
"_q_platform_ohos_keepScreenOn"
;
31
inline
constexpr
char
dragResizableKey
[] =
"_q_platform_ohos_dragResizable"
;
32
inline
constexpr
char
brightnessKey
[] =
"_q_platform_ohos_brightness"
;
33
inline
constexpr
char
contrastKey
[] =
"_q_platform_ohos_contrast"
;
34
inline
constexpr
char
saturationKey
[] =
"_q_platform_ohos_saturation"
;
35
36
}
37
38
QT_END_NAMESPACE
39
40
#
endif
// QOHOSWINDOWHINTS_P_H
QOhosWindowHints
Definition
qohoswindowhints_p.h:22
QOhosWindowHints::dragResizableKey
constexpr char dragResizableKey[]
Definition
qohoswindowhints_p.h:31
QOhosWindowHints::brightnessKey
constexpr char brightnessKey[]
Definition
qohoswindowhints_p.h:32
QOhosWindowHints::cornerRadiusKey
constexpr char cornerRadiusKey[]
Definition
qohoswindowhints_p.h:26
QOhosWindowHints::surfaceBackgroundColorKey
constexpr char surfaceBackgroundColorKey[]
Definition
qohoswindowhints_p.h:28
QOhosWindowHints::keepScreenOnKey
constexpr char keepScreenOnKey[]
Definition
qohoswindowhints_p.h:30
QOhosWindowHints::floatWindowKey
constexpr char floatWindowKey[]
Definition
qohoswindowhints_p.h:27
QOhosWindowHints::contrastKey
constexpr char contrastKey[]
Definition
qohoswindowhints_p.h:33
QOhosWindowHints::saturationKey
constexpr char saturationKey[]
Definition
qohoswindowhints_p.h:34
QOhosWindowHints::renderFitKey
constexpr char renderFitKey[]
Definition
qohoswindowhints_p.h:29
QOhosWindowHints::privacyModeKey
constexpr char privacyModeKey[]
Definition
qohoswindowhints_p.h:25
qtbase
src
gui
platform
ohos
qohoswindowhints_p.h
Generated on
for Qt by
1.18.0