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
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
4#ifndef QACCESSIBILITYHINTS_H
5#define QACCESSIBILITYHINTS_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qobject.h>
9
10QT_BEGIN_NAMESPACE
11
12class QAccessibilityHintsPrivate;
13
14class Q_GUI_EXPORT QAccessibilityHints : public QObject
15{
16 Q_OBJECT
17 Q_DECLARE_PRIVATE(QAccessibilityHints)
18 Q_PROPERTY(Qt::ContrastPreference contrastPreference READ contrastPreference NOTIFY contrastPreferenceChanged FINAL REVISION(6, 10))
19
20public:
21 explicit QAccessibilityHints(QObject *parent = nullptr);
22 ~QAccessibilityHints() override;
23
24 Qt::ContrastPreference contrastPreference() const;
25
26Q_SIGNALS:
27 void contrastPreferenceChanged(Qt::ContrastPreference contrastPreference);
28
29protected:
30 bool event(QEvent *event) override;
31};
32
33QT_END_NAMESPACE
34
35#endif // QACCESSIBILITYHINTS_H
The QAccessibilityHints class contains platform specific accessibility hints and settings....