QAccessibilityHints Class
QAccessibilityHintsクラスは、プラットフォーム固有のアクセシビリティのヒントと設定を含んでいます。詳細...
ヘッダ | #include <QAccessibilityHints> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
以来: | Qt 6.10 |
継承: | QObject |
プロパティ
(since 6.10)
contrastPreference : const Qt::ContrastPreference
パブリック機能
Qt::ContrastPreference | contrastPreference() const |
シグナル
void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
再実装された保護された関数
virtual bool | event(QEvent *event) override |
詳細説明
このクラスはプラットフォーム固有のアクセシビリティ設定をまとめ、QStyleHints::accessibility からアクセスできます。
QStyleHintsも参照してください 。
プロパティの説明
[read-only, since 6.10]
contrastPreference : const Qt::ContrastPreference
このプロパティは、システムによって設定されたコントラストモードを保持する。
このプロパティは、アプリケーションが、システムが現在使用しているコントラスト設定を決定するために使用することができます。
Qt スタイルでは、パレットの色やアウトラインを調整するためにこのプロパティを使用します。
このプロパティは Qt 6.10 で導入されました。
アクセス関数です:
Qt::ContrastPreference | contrastPreference() const |
Notifier シグナル:
void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
Qt::ColorScheme 、QGuiApplication::palette()、QEvent::PaletteChangeも参照してください 。
メンバ関数のドキュメント
[override virtual protected]
bool QAccessibilityHints::event(QEvent *event)
再インプリメント:QObject::event(QEvent *e).
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.