QAccessibleTextRemoveEvent Class
QAccessibleTextRemoveEvent クラスは、テキストが削除されたことを通知します。詳細...
| ヘッダー: | #include <QAccessibleTextRemoveEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 継承元: | QAccessibleTextCursorEvent |
- 継承されたメンバーを含むすべてのメンバーの一覧
- QAccessibleTextRemoveEvent は、アクセシビリティ・クラスの一部です。
パブリック関数
| QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) | |
| QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text) | |
| int | changePosition() const |
| QString | textRemoved() const |
詳細な説明
このクラスは、QAccessible::updateAccessibility() とともに使用されます。
メンバー関数のドキュメント
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
iface に対して、新しい QAccessibleTextRemoveEvent イベントを作成します。text は、position から削除されました。デフォルトでは、カーソルがposition に移動したとみなされます。そうでない場合は、このイベントに対してQAccessibleTextCursorEvent::setCursorPosition() を使用して手動で設定する必要があります。
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
object に対して、新しい QAccessibleTextRemoveEvent イベントを作成します。text は、position から削除されました。デフォルトでは、カーソルがposition に移動したとみなされます。そうでない場合は、このイベントに対してQAccessibleTextCursorEvent::setCursorPosition() を使用して手動で設定する必要があります。
int QAccessibleTextRemoveEvent::changePosition() const
テキストが削除された位置を返します。
QString QAccessibleTextRemoveEvent::textRemoved() const
削除されたテキストを返します。
© 2026 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.