このページでは

QAccessibleTextCursorEvent Class

QAccessibleTextCursorEvent クラスは、カーソルの動きを通知します。詳細...

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

QAccessibleTextInsertEvent、QAccessibleTextRemoveEvent 、QAccessibleTextSelectionEvent 、およびQAccessibleTextUpdateEvent

パブリック関数

QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)
QAccessibleTextCursorEvent(QObject *object, int cursorPos)
int cursorPosition() const
void setCursorPosition(int position)

詳細な説明

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

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

QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)

iface に対して新しい QAccessibleTextCursorEvent を作成します。cursorPos は新しいカーソル位置です。

QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *object, int cursorPos)

object に対して新しい QAccessibleTextCursorEvent を作成します。cursorPos は新しいカーソル位置です。

int QAccessibleTextCursorEvent::cursorPosition() const

カーソルの位置を返します。

setCursorPosition()も参照してください 。

void QAccessibleTextCursorEvent::setCursorPosition(int position)

このイベントのカーソルをposition に設定します。

cursorPosition()も参照してください 。

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