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
qaccessibilityhints.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QACCESSIBILITYHINTS_H
6
#
define
QACCESSIBILITYHINTS_H
7
8
#
include
<
QtGui
/
qtguiglobal
.
h
>
9
#
include
<
QtCore
/
qobject
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QAccessibilityHintsPrivate;
14
15
class
Q_GUI_EXPORT
QAccessibilityHints
:
public
QObject
16
{
17
Q_OBJECT
18
Q_DECLARE_PRIVATE(QAccessibilityHints)
19
// Exposed to QML as an anonymous type, so new properties can be FINAL
20
Q_PROPERTY(Qt::ContrastPreference contrastPreference READ contrastPreference NOTIFY contrastPreferenceChanged FINAL REVISION(6, 10))
21
Q_PROPERTY(Qt::MotionPreference motionPreference READ motionPreference NOTIFY motionPreferenceChanged FINAL REVISION(6, 12))
22
23
public
:
24
explicit
QAccessibilityHints(QObject *parent =
nullptr
);
25
~QAccessibilityHints() override;
26
27
Qt::ContrastPreference contrastPreference()
const
;
28
Qt::MotionPreference motionPreference()
const
;
29
30
Q_SIGNALS:
31
void
contrastPreferenceChanged(Qt::ContrastPreference contrastPreference);
32
void
motionPreferenceChanged(Qt::MotionPreference motionPreference);
33
34
protected
:
35
bool
event(QEvent *event) override;
36
};
37
38
QT_END_NAMESPACE
39
40
#
endif
// QACCESSIBILITYHINTS_H
QAccessibilityHintsPrivate
Definition
qaccessibilityhints_p.h:26
QAccessibilityHintsPrivate::updateMotionPreference
void updateMotionPreference(Qt::MotionPreference motionPreference)
Definition
qaccessibilityhints.cpp:20
QAccessibilityHints
The QAccessibilityHints class contains platform specific accessibility hints and settings....
Definition
qaccessibilityhints.h:16
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
gui
kernel
qaccessibilityhints.h
Generated on
for Qt by
1.18.0