QAccessibleTextInsertEvent Class

QAccessibleTextInsertEvent クラスは、テキストが挿入されたことを通知します。詳細...

ヘッダー #include <QAccessibleTextInsertEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
継承: QAccessibleTextCursorEvent

パブリック関数

QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
int changePosition() const
QString textInserted() const

詳細説明

このクラスはQAccessible::updateAccessibility() と共に使用されます。

メンバ関数のドキュメント

QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)

iface の新しい QAccessibleTextInsertEvent イベントを構築する。textposition に挿入されました。

QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)

object の新しい QAccessibleTextInsertEvent イベントを構築する。textposition に挿入されました。デフォルトでは、カーソルが選択範囲の最後に移動したものと見なされます。そうでない場合は、このイベントに対してQAccessibleTextCursorEvent::setCursorPosition() で手動で設定する必要があります。

int QAccessibleTextInsertEvent::changePosition() const

テキストが挿入された位置を返します。

QString QAccessibleTextInsertEvent::textInserted() const

挿入されたテキストを返します。

© 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.